v1
latestOpenAPI 3.1.02026-07-172539330.6 KBAgents
Get self diagnostics for an agent
Self-scoped diagnostics by default. Cross-agent access requires privileged=1 with admin credentials. Trend alerts are informational signals derived from current-vs-previous window deltas (error spikes, throughput drops, activity stalls).
get/api/agents/{id}/diagnostics
Path parameters
idstring required
Agent numeric ID or name.
Query parameters
hoursinteger
Diagnostics window in hours.
sectionstring
Comma-separated sections: summary,tasks,errors,activity,trends,tokens.
privileged'1'
Set to 1 to allow explicit admin cross-agent diagnostics access.
Response
Diagnostics payload