cURL
curl --request PUT \ --url 'https://api.example.com/api/v1/prompt/{prompt_id}?api_key=' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "prompt_template": "<string>", "owner_type": "user" } '
{ "message": "Data updated successfully", "meta": {}, "data": { "name": "<string>", "description": "<string>", "prompt_template": "<string>", "owner_type": "user" } }
Update Prompt
Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.
in-
The UUID id of the assistant
user
system
Successful Response
Show child attributes
Was this page helpful?