Prompts
Update a prompt
Changed onUpdate prompt metadata such as its name or description.
patch/api/prompts/{prompt_id}/
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/prompts/{prompt_id}/
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
prompt_idstring required
The unique prompt identifier.
Request body
Example request
{
"name": "enhanced_customer_support",
"description": "Improved version with better context handling"
}Response
Prompt updated successfully.
Example response
{
"id": "prompt_abc123",
"name": "Enhanced Customer Support Assistant",
"description": "Improved version with better context handling",
"updated_at": "2026-01-21T12:30:00Z"
}Changes
- breaking
request body became required
- breaking
the response property
became nullable for the status - info
api operation id
prompts_updatePromptremoved and replaced withupdatePrompt - info
the endpoint scheme security
DashboardJwtwas added to the API - info
api tag
Promptsadded - info
api tag
promptsremoved
- breaking
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
removed the non-success response with the status
- info
added the required property
to the response with the status
- warning