Skip to main content
GET
/
monitors
/
runs
/
{run_id}
Get run global
curl --request GET \
  --url https://api.trymaitai.ai/api/v1/monitors/runs/{run_id} \
  --header 'X-Maitai-Api-Key: <api-key>'
{
  "data": {
    "id": 70123,
    "monitor_id": 501,
    "monitor_target_id": 9002,
    "monitor_version_id": 12,
    "source_type": "workflow",
    "source_type_id": "session_abc123",
    "runner_type": "direct",
    "runner_type_id": "session_abc123",
    "outcome": "error",
    "resolution_trace": {
      "matched": "error",
      "error": {
        "kind": "group",
        "op": "OR",
        "matched": true,
        "children": [
          {
            "kind": "condition",
            "path": "customer_id",
            "operator": "does_not_exist",
            "matched": true,
            "actual": null
          }
        ]
      }
    },
    "runner_duration_ms": 14,
    "date_created": 1737549900000
  }
}

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

run_id
integer
required

Response

200 - application/json

Get run global.

data
any