Read Agent KPIs
agent_kpis_readReads one Agent's recorded conversation/resolution/handoff and rule/source/condition KPIs.
This is the one source of resolution_rate and handoff counts. resolution_rate is percent of support cases opened in the window that billing recognizes as AI-resolved and has not reversed, with its resolved/cases counts; null when no case opened. Current, previous and daily series use the requested window. Rule/source cited_7d/handoffs_7d retain their names but count over days.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>"
},
"name": "agent_kpis_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window length in days for conversation, resolution, handoff and rule/source/condition KPIs. | |
| agent_id | Yes | Agent ID from agents_list or agent_create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | agent | |
| stats | Yes | ||
| agent_id | Yes | Agent whose recorded activity is counted. | |
| workspace_id | Yes | Dashboard Workspace (tenant) from the current grant. |