v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01151216390.1 KB
agents

Get Devbox counts by Agent.

Returns devbox counts grouped by agent name. This endpoint efficiently aggregates devbox counts for all agents in a single request, avoiding N+1 query patterns.

get/v1/agents/devbox_counts

Response

Successfully retrieved devbox counts by agent name.

countsobject required

Map of agent name to devbox count. Each key is an agent name, and the value is the count of devboxes associated with that agent.

total_countinteger required

Total count of devboxes across all agents in the result.