Get an Agent summary
Get an Agent summary. The request enforces Agent roles, ownership, workspace boundaries, and lifecycle state.
curl --request GET \
--url https://api.revoengine.com/api/v1/agents/{agentId}/summary \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/agents/{agentId}/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/agents/{agentId}/summary"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"activeRunCount": 1,
"queuedInboxCount": 3,
"attachedPluginCount": 2,
"totalRunCount": 14,
"failedRunCount": 2,
"blockedRunCount": 1,
"tokenUsage": {
"today": 1800,
"currentBillingPeriod": 28000,
"previousBillingPeriod": 24000,
"allTime": 84000,
"input": 61000,
"output": 17000,
"cachedInput": 12000,
"reasoning": 6000,
"threadCount": 12
},
"tokenUsageByModel": [
{
"model": "configured-model",
"input": 61000,
"uncachedInput": 49000,
"cachedInput": 12000,
"output": 17000,
"reasoning": 6000,
"billable": 67200
}
],
"tokenUsageSeries": [
{
"period": "2026-07-13",
"input": 1200,
"output": 480,
"cachedInput": 300,
"reasoning": 120,
"toolTokens": 220,
"billable": 1530
}
],
"taskActivitySeries": [
{
"period": "2026-07-13",
"created": 0,
"queued": 1,
"running": 1,
"waiting": 0,
"success": 8,
"blocked": 1,
"failure": 2,
"cancelled": 1,
"total": 14
}
],
"lastRun": {
"agentRunId": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa",
"status": "FINISHED"
},
"lastFailure": {
"agentRunId": "bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb",
"status": "ERROR"
},
"lastBlocked": {
"agentRunId": "cccccccc-cccc-4ccc-8ccc-cccccccccccc",
"status": "ACTION_REQUIRED"
}
}Authorizations
Bearer JWT token or API Key (sk-*).
Path Parameters
Response
Number of active root runs.
1
Number of PENDING inbox items.
3
Number of attached registry or inline plugin references.
2
Total run count for this agent.
14
ERROR run count for this agent.
2
ACTION_REQUIRED run count for this agent.
1
Token usage aggregated from provider-bearing assistant messages linked to this agent.
Show child attributes
Show child attributes
{
"today": 1800,
"currentBillingPeriod": 28000,
"previousBillingPeriod": 24000,
"allTime": 84000,
"input": 61000,
"output": 17000,
"cachedInput": 12000,
"reasoning": 6000,
"threadCount": 12
}
All-time provider usage grouped by the model persisted on each assistant message.
Show child attributes
Show child attributes
[
{
"model": "configured-model",
"input": 61000,
"uncachedInput": 49000,
"cachedInput": 12000,
"output": 17000,
"reasoning": 6000,
"billable": 67200
}
]
Daily token usage for the most recent 30 UTC days.
Show child attributes
Show child attributes
[
{
"period": "2026-07-13",
"input": 1200,
"output": 480,
"cachedInput": 300,
"reasoning": 120,
"toolTokens": 220,
"billable": 1530
}
]
Daily root-run activity for the most recent 30 UTC days.
Show child attributes
Show child attributes
[
{
"period": "2026-07-13",
"created": 0,
"queued": 1,
"running": 1,
"waiting": 0,
"success": 8,
"blocked": 1,
"failure": 2,
"cancelled": 1,
"total": 14
}
]
Most recent run.
Show child attributes
Show child attributes
{
"agentRunId": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa",
"status": "FINISHED"
}
Most recent failed run.
Show child attributes
Show child attributes
{
"agentRunId": "bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb",
"status": "ERROR"
}
Most recent action-required run.
Show child attributes
Show child attributes
{
"agentRunId": "cccccccc-cccc-4ccc-8ccc-cccccccccccc",
"status": "ACTION_REQUIRED"
}
curl --request GET \
--url https://api.revoengine.com/api/v1/agents/{agentId}/summary \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/agents/{agentId}/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/agents/{agentId}/summary"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"activeRunCount": 1,
"queuedInboxCount": 3,
"attachedPluginCount": 2,
"totalRunCount": 14,
"failedRunCount": 2,
"blockedRunCount": 1,
"tokenUsage": {
"today": 1800,
"currentBillingPeriod": 28000,
"previousBillingPeriod": 24000,
"allTime": 84000,
"input": 61000,
"output": 17000,
"cachedInput": 12000,
"reasoning": 6000,
"threadCount": 12
},
"tokenUsageByModel": [
{
"model": "configured-model",
"input": 61000,
"uncachedInput": 49000,
"cachedInput": 12000,
"output": 17000,
"reasoning": 6000,
"billable": 67200
}
],
"tokenUsageSeries": [
{
"period": "2026-07-13",
"input": 1200,
"output": 480,
"cachedInput": 300,
"reasoning": 120,
"toolTokens": 220,
"billable": 1530
}
],
"taskActivitySeries": [
{
"period": "2026-07-13",
"created": 0,
"queued": 1,
"running": 1,
"waiting": 0,
"success": 8,
"blocked": 1,
"failure": 2,
"cancelled": 1,
"total": 14
}
],
"lastRun": {
"agentRunId": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa",
"status": "FINISHED"
},
"lastFailure": {
"agentRunId": "bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb",
"status": "ERROR"
},
"lastBlocked": {
"agentRunId": "cccccccc-cccc-4ccc-8ccc-cccccccccccc",
"status": "ACTION_REQUIRED"
}
}
