APIAgents

Count agent instances

Count registered agent instances grouped by agent_slug. Only slugs with at least one instance are returned.

GET/agents/instance-counts

Count registered agent instances grouped by agent_slug. Only slugs with at least one instance are returned.

Response Body

application/json

application/json

curl -X GET "https://example.com/agents/instance-counts"
{  "items": [    {      "slug": "string",      "count": 0    }  ]}
{  "code": "bad_request",  "message": "string",  "validation_errors": [    {      "field": "string",      "message": "string",      "rule": "string"    }  ]}