Skip to main content
PUT
/
workflows
/
{workflow_id}
/
releases
/
{name}
Update workflow release
curl --request PUT \
  --url https://api.trymaitai.ai/api/v1/workflows/{workflow_id}/releases/{name} \
  --header 'Content-Type: application/json' \
  --header 'X-Maitai-Api-Key: <api-key>' \
  --data '
{
  "workflow_version_id": 13,
  "is_default": false
}
'
{
  "data": {
    "id": 5,
    "workflow_id": 42,
    "name": "prod",
    "workflow_version_id": 13,
    "is_default": false
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.trymaitai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

workflow_id
integer
required
name
string
required

Body

application/json
workflow_version_id
integer
is_default
boolean

Response

200 - application/json

Update workflow release.

data
any