cURL
curl --request POST \ --url http://localhost:6060/api/agent-server/prompts/{name}/versions \ --header 'Content-Type: application/json' \ --data ' { "template": "<string>", "commit_message": "<string>", "label": "production" } '
{ "error": true, "message": "<string>", "data": { "name": "<string>", "version": 123, "template": "<string>", "label": "<string>", "commit_message": "<string>", "created_at": "2023-11-07T05:31:56Z" }, "status": 123, "errorDetails": {} }
Documentation IndexFetch the complete documentation index at: https://hastekit.ai/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://hastekit.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
production
latest
Prompt version created successfully
Show child attributes