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