Athena
Admission events

List admission limiter events with optional decision and client filters

Returns rows from `gateway_admission_events` in descending `created_at` order. Requires the static admin key (`ATHENA_KEY_12`) and a connected `athena_logging` pool.

GET
/admin/admission-events

Query Parameters

decision?string

Optional decision filter (for example deferred or rejected).

client?string

Optional client name filter (matches gateway_admission_events.client_name).

limit?integer
Default100
Range1 <= value <= 500
offset?integer
Default0
Range0 <= value

Header Parameters

apikey*string

The static admin key configured as ATHENA_KEY_12. Authorization headers (Bearer <key>), X-API-Key, X-Athena-Key, or ?api_key= are also accepted.

Response Body

application/json

application/json

curl -X GET "https://athena-cluster.com/admin/admission-events" \  -H "apikey: string"
{
  "decision": "string",
  "client": "string",
  "limit": 0,
  "offset": 0,
  "events": [
    {
      "id": 0,
      "created_at": "2019-08-24T14:15:22Z",
      "event_id": "string",
      "method": "string",
      "route": "string",
      "client_name": "string",
      "request_bytes": 0,
      "defer_requested": true,
      "is_query_route": true,
      "decision": "string",
      "reason": "string",
      "deferred_request_id": "string",
      "retry_after_seconds": 0,
      "window_seconds": 0,
      "global_limit_per_window": 0,
      "per_client_limit_per_window": 0,
      "meta": {}
    }
  ]
}
{
  "status": "error",
  "message": "string",
  "error": "string"
}