Skip to main content
POST
/
monitors
/
{monitor_id}
/
releases
Upsert monitor release
curl --request POST \
  --url https://api.trymaitai.ai/api/v1/monitors/{monitor_id}/releases \
  --header 'Content-Type: application/json' \
  --header 'X-Maitai-Api-Key: <api-key>' \
  --data '
{
  "name": "prod",
  "version_number": "1.2.0",
  "is_default": true
}
'
{
  "data": {
    "id": 5,
    "monitor_id": 501,
    "name": "prod",
    "monitor_version_id": 12,
    "version_number": "1.2.0",
    "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

monitor_id
integer
required

Body

application/json
name
string
required
version_number
string
is_default
boolean

Response

200 - application/json

Upsert monitor release.

data
any