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