POST
/
v1
/
prompts
/
deploy
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>"
  }
}

Authorizations

x-maxim-api-key
string
header
required

API key for authentication

Body

application/json

Response

200
application/json

Prompt version deployed successfully

The response is of type object.