GET
/
v0
/
chatbots
/
{chatbotId}
/
settings
/
prompts
curl --request GET \
  --url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/prompts \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Fetched all the custom prompts of the chatbot successfully",
  "data": {
    "prompts": [
      {
        "id": "78ac8ecd-d889-4700-8c8c-162c92731ff9",
        "title": "Custom",
        "description": "Custom Prompt",
        "instructions": "You are an AI assistant which answers users questions.",
        "temperature": 0.3
      },
      {
        "id": "f7c45e2b-fbaf-479b-9f0b-e31a401bab3a",
        "title": "Custom Prompt",
        "description": "This prompt has been created from your previous system/user prompt",
        "instructions": "You are an AI assistant which answers users questions based on the website content. You should summarize and rephrase from the content.\nWe have also configured some functions in this chatbot. At any point of time, the user may try to execute one of these functions. So, please execute those functions accordingly whenever necessary.",
        "temperature": 0.5
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

chatbotId
string
required

Id of the chatbot

Response

200
application/json
OK

Success Response

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