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
}
]
}
}Fetch all the prompts of the chatbot
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
}
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Id of the chatbot
OK
Success Response
Indicates whether this is success response or error response
Overall message regarding the operation performed
Data returned from the server
Show child attributes
Show child attributes
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.
0 <= x <= 1Must be a multiple of 0.01Was this page helpful?