Skip to content

List all stats for AI agent providers

Request

Beta
OAuth 2.0 scope:
  • okta.aiAgents.read
Admin roles:
  • SUPER_ADMIN

Lists all stats for AI agent providers

Query
idsArray of strings, [ 1 .. 200 ] itemsrequired

Comma-separated list of AI agent provider IDs to fetch stats for. Maximum of 200 IDs per request.

Note: Provider IDs that don't exist or have no associated agents are omitted from the response. Callers should treat any missing ID as having an agentCount of 0.

Example:ids=aip-1a2b3c4d&ids=aip-5e6f7g8h
curl -i -X GET \
  'https://subdomain.okta.com/workload-principals/api/v1/ai-agent-providers/stats?ids=aip-1a2b3c4d%2Caip-5e6f7g8h'

Responses

A successful AI agent provider stats response

Headers
X-Rate-Limit-Limitinteger, >= 1required

The rate-limit ceiling for the current request

Example:60
X-Rate-Limit-Remaininginteger, >= 0required

The number of requests left for the current rate-limit window

Example:60
X-Rate-Limit-Resetinteger, >= 0required

The time when the rate limit resets, specified in UTC epoch time (in seconds)

Example:1609459200
Bodyapplication/json
dataArray of objects, [ 0 .. 200 ] items(AIAgentProviderStats)required
Response
{ "data": [ { … }, { … } ], "_links": { "self": { … } } }