Skip to main content
PATCH
/
monitors
/
{monitor_id}
Update monitor
curl --request PATCH \
  --url https://api.trymaitai.ai/api/v1/monitors/{monitor_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Maitai-Api-Key: <api-key>' \
  --data '
{
  "description": "Catches order intents missing required fields (customer_id, order_total).",
  "status": "ACTIVE"
}
'
{
  "data": {
    "id": 501,
    "name": "Order intake completeness",
    "status": "ACTIVE",
    "has_unpublished_changes": 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
description
string
status
enum<string>
Available options:
DRAFT,
ACTIVE,
PAUSED
config
object
meta
object

Response

200 - application/json

Update monitor.

data
any