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
}
}
}
Fetch a prompt of the chatbot
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
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Id of the chatbot
Id of the chatbot prompt
OK
Success Response
Was this page helpful?