cURL
curl --request POST \ --url https://your-instance.example.com/api/prompts/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "prompt": "<string>", "responseTime": 123, "description": "<string>", "isHidden": true, "temperature": 123 } '
{}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Prompt created successfully
Generic response envelope. Endpoint-specific fields are intentionally open.