API ReferenceAgent
Per-agent run-health rollup for the calling project
Rolls up run outcomes per agent_name: total runs, completion rate, loop rate, avg cost, and avg tokens over the window.
Authorization
ApiKeyAuth Authorization<token>
Format: "Bearer kw_"
In: header
Path Parameters
projectID*string
Project UUID
Query Parameters
from?string
RFC3339, default now - 30d
to?string
RFC3339, default now
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/projects/string/agent/health"[ { "agent_name": "string", "avg_cost_usd": 0, "avg_tokens": 0, "completed_runs": 0, "completion_rate": 0, "loop_rate": 0, "loop_runs": 0, "prev_total_runs": 0, "total_runs": 0 }]