Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.trymaitai.ai/api/v1/monitors/{monitor_id}/targets/{monitor_target_id}/metrics \ --header 'X-Maitai-Api-Key: <api-key>'
{ "data": { "monitor_id": 501, "monitor_target_id": 9002, "target_type": "workflow", "target_id": 42, "metrics": { "sampled_count": 280, "error_count": 13, "error_rate": 0.0464 } } }
Aggregated counts + rates for a single attached target.
Your Maitai API key from the Portal.
Get monitor target metrics.
Was this page helpful?