Chatbot Prompts
Fetch All Chatbot Prompts
API Documentation
Chatbot Appearance
Chatbot Custom Content
Chatbot Follow Up Prompts
Chatbot Icons
Chatbot Links
Chatbot Messages
Chatbot Personas
Chatbot Prompts
Chatbot Quick Prompts
Chatbot Settings
Chatbot Threads
Chatbot Prompts
Fetch All Chatbot Prompts
Fetch all the prompts of the chatbot
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Id of the chatbot
Response
200
application/json
OK
Success Response
Indicates whether this is success response or error response
Overall message regarding the operation performed
Data returned from the server
Id of the prompt
Title of the prompt
Short description of the prompt
Actual instructions of the prompt. These will be sent to Open AI.
Decides creativity level of the chatbot response. 0 is more focused and 1 is more creative/random.
Required range:
0 < x < 1
Must be a multiple of 0.01
Was this page helpful?
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
}
]
}
}