Create a prompt
Changed onRequest
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/prompts/
- Auth
- HTTP bearer
- or HTTP bearer
Request body
Example request
{
"name": "customer_support",
"description": "Support chatbot prompt"
}Response
Prompt created successfully.
Example response
{
"id": "prompt_new123",
"name": "Customer Support Assistant",
"description": "Handles customer support queries with empathy",
"prompt_slug": "customer-support-assistant",
"tags": [],
"current_version": null,
"live_version": null,
"created_at": "2026-01-21T12:00:00Z",
"updated_at": "2026-01-21T12:00:00Z"
}Changes
- breaking
request body became required
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the
response's property type changed from no type toobjectfor status - breaking
the
response's property type changed from no type toobjectfor status - info
api operation id
prompts_createPromptremoved and replaced withcreatePrompt - info
the endpoint scheme security
DashboardJwtwas added to the API - info
api tag
Promptsadded - info
api tag
promptsremoved - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
removed
subschema #2from theresponse propertyoneOflist for the response status - info
removed
subschema #2from theresponse propertyoneOflist for the response status
- breaking
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
the request property
became optional - info
added the non-success response with the status
- info
removed the non-success response with the status
- warning