AppAIGatewayDocs
API referenceAdmin operations

List sampled application refusals

GET
/v1/admin/apps/{app}/rejection-events

Sampled requests refused before contacting a provider. One sample per authenticated identity per minute; counts are not exact request totals.

Authorization

agw_identity_auth.session_token<token>

The console's session cookie. Admin requests from the console also send x-console-request: 1.

In: cookie

Path Parameters

app*string

Query Parameters

limit?integer
Range1 <= value <= 200
Default50
reason?string

Value in

  • "blocked_app_rate"
  • "blocked_app_budget"
  • "blocked_billing"
  • "blocked_user"
scope?string

Value in

  • "user"
  • "app"
  • "account"
user?string
from?string
Match^\d{4}-\d{2}-\d{2}$
to?string
Match^\d{4}-\d{2}-\d{2}$
before_id?integer

Page backwards: only events older than this id.

Range0 < value

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/admin/apps/string/rejection-events"
{  "app_id": "string",  "limit": 0,  "next_before_id": 0,  "events": [    {      "id": 0,      "user_id": "string",      "api_key_id": "string",      "reason": "blocked_app_rate",      "scope": "user",      "provider_slug": "string",      "model": "string",      "route": "string",      "endpoint_slug": "string",      "app_version": "string",      "auth_method": "attest",      "latency_ms": 0,      "created_at": "string"    }  ]}