cURL
curl --request POST \ --url https://api.getmaxim.ai/v1/prompts/deploy \ --header 'Content-Type: application/json' \ --header 'x-maxim-api-key: <api-key>' \ --data '{ "promptId": "<string>", "versionId": "<string>", "workspaceId": "<string>", "deploymentConditions": [ { "variable": "<string>", "operator": ">", "value": "<string>" } ] }'
{ "data": { "id": "<string>", "promptId": "<string>", "versionId": "<string>", "status": "active", "createdAt": "<string>", "updatedAt": "<string>" } }
Deploy a prompt version
API key for authentication
Prompt version deployed successfully
The response is of type object.
object
Was this page helpful?