GET
/
v0
/
chatbots
/
{chatbotId}
/
settings
/
prompts
/
{promptId}
curl --request GET \
  --url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/prompts/{promptId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Fetched the custom prompt of the chatbot successfully",
  "data": {
    "prompt": {
      "id": "78ac8ecd-d889-4700-8c8c-162c92731ff9",
      "title": "Custom",
      "description": "Custom Prompt",
      "instructions": "You are an AI assistant which answers users questions.",
      "temperature": 0.3
    }
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required

Id of the chatbot

promptId
string
required

Id of the chatbot prompt

Response

200 - application/json
success
boolean

Indicates whether this is success response or error response

message
string

Overall message regarding the operation performed

data
object

Data returned from the server