Skip to main content
GET
/
monitors
/
by-target
List monitors by target
curl --request GET \
  --url https://api.trymaitai.ai/api/v1/monitors/by-target \
  --header 'X-Maitai-Api-Key: <api-key>'
{
  "data": [
    {
      "monitor": {
        "id": 501,
        "name": "Order intake completeness",
        "status": "ACTIVE"
      },
      "monitor_target": {
        "id": 9002,
        "target_type": "workflow",
        "target_id": 42,
        "sample_rate": 5,
        "enabled": 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.

Query Parameters

target_type
string
required
target_id
string

Response

200 - application/json

List monitors by target.

data
any