Skip to main content
GET
/
monitors
/
{monitor_id}
/
targets
List monitor targets
curl --request GET \
  --url https://api.trymaitai.ai/api/v1/monitors/{monitor_id}/targets \
  --header 'X-Maitai-Api-Key: <api-key>'
{
  "data": [
    {
      "id": 9001,
      "monitor_id": 501,
      "target_type": "intent",
      "target_id": 7,
      "target_name": "order_intake",
      "sample_rate": 5,
      "enabled": true,
      "active": true
    },
    {
      "id": 9002,
      "monitor_id": 501,
      "target_type": "workflow",
      "target_id": 42,
      "target_name": "order-intake-workflow",
      "sample_rate": 100,
      "enabled": true,
      "active": 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

Response

200 - application/json

List monitor targets.

data
any