curl "https://api.60db.ai/agents/AGENT_ID/metrics?source=simulation&agent_version=7" \
-H "Authorization: Bearer your-api-key"
Agent Reliability
Get Agent Metrics
Pooled response time and accuracy for one agent version and one source
GET
/
agents
/
{agentId}
/
metrics
curl "https://api.60db.ai/agents/AGENT_ID/metrics?source=simulation&agent_version=7" \
-H "Authorization: Bearer your-api-key"
Read the pooled numbers of one agent version. Live, simulated and text-test results are never mixed: you must choose one
source.
Times are whole milliseconds. Rates are between 0 and 1. A value below the minimum sample is null. Show null as “Not enough data”, never as 0.
Request
Headers
Path
Query
Response
200 OK. The pooled results from the voice service. Fields can benull.
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | VALIDATION_ERROR | source or agent_version is missing or wrong |
| 403 | POLICY_DENY | Your role cannot read agents, or the API key lacks the agents scope |
| 404 | AGENT_NOT_FOUND | No agent with this ID in your workspace |
| 409 | AGENT_NOT_SYNCED | Save the agent once, then try again |
Example
curl "https://api.60db.ai/agents/AGENT_ID/metrics?source=simulation&agent_version=7" \
-H "Authorization: Bearer your-api-key"