Skip to content

Retrieve the staging stats for an AI agent provider

Request

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

Retrieves the counts of staging items broken down by type for the specified AI agent provider

Path
providerIdstringrequired

ID of the AI agent provider

Example:aip-1a2b3c4d
curl -i -X GET \
  https://subdomain.okta.com/workload-principals/api/v1/ai-agent-providers/aip-1a2b3c4d/staging/stats

Responses

A successful staging 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
duplicateCountinteger, >= 0required

The number of staging items of type DUPLICATE

ignoredCountinteger, >= 0required

The number of staging items of type IGNORED

newCountinteger, >= 0required

The number of staging items of type NEW

Response
{ "newCount": 15, "duplicateCount": 3, "ignoredCount": 7 }