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

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

Body

application/json
name
string
required

Release pointer name (e.g. 'prod', 'staging').

workflow_version_id
integer
is_default
boolean

Response

200 - application/json

Create workflow release.

data
any