curl --request GET \
--url https://api.runloop.ai/v1/agents/devbox_counts \
--header 'Authorization: Bearer <token>'{
"counts": {},
"total_count": 123
}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.
curl --request GET \
--url https://api.runloop.ai/v1/agents/devbox_counts \
--header 'Authorization: Bearer <token>'{
"counts": {},
"total_count": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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.
Was this page helpful?