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
Chatbot Prompt
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 <= 1
0.01
Was this page helpful?