Skip to main content
GET
/
api
/
agents
/
counts
Get Agent Counts
curl --request GET \
  --url https://{organization_id}.platform.barndoor.ai/api/agents/counts \
  --header 'Authorization: Bearer <token>'
{
  "all": 123,
  "internal": 123,
  "external": 123
}

Authorizations

Authorization
string
header
required

JWT token obtained through Auth0 OAuth 2.0 flow with PKCE.

The token should be included in the Authorization header: Authorization: Bearer <your-jwt-token>

Use the Barndoor SDK's loginInteractive() function to obtain tokens automatically.

Response

200 - application/json

Successful Response

all
integer
required
internal
integer
required
external
integer
required