Skip to main content
GET
/
v1
/
agents
/
devbox_counts
Get Devbox counts by Agent.
curl --request GET \
  --url https://api.runloop.ai/v1/agents/devbox_counts \
  --header 'Authorization: Bearer <token>'
{
  "counts": {},
  "total_count": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successfully retrieved devbox counts by agent name.

Devbox counts grouped by agent name. Used to efficiently fetch devbox counts for multiple agents in a single request.

counts
object
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_count
integer<int32>
required

Total count of devboxes across all agents in the result.