List support access grants

GET /v1/support-access-grants · permission support-access-grants:read

Lists the time-limited access this environment has given to KeenAuth support staff, newest first. Only forward pagination (after) is supported; before and any order other than desc return 422. status returns only grants in that status; expired means not revoked and past expires_at.

Request

Field Type Required Description
limit integer no Page size, 1-100 (default 20).
after string no Cursor from the previous page's list_metadata.after.
status string no Only grants in this status: active, revoked or expired.

No request body.

Response

200 OK with a page of grants.

{
  "data": [
    {
      "id": "sag_01j9xk3m7q8r2s4t6v8w0y2z4a",
      "scope": "read",
      "status": "active",
      "ticket_ref": "SUP-48213",
      "allowed_regions_of_staff": ["eu"],
      "granted_by": "du_01j9xk2p5n7q9s1t3v5w7y9z1b",
      "created_at": "2026-10-12T09:30:00.123456Z",
      "expires_at": "2026-10-13T09:30:00.123456Z",
      "revoked_at": null
    }
  ],
  "list_metadata": {
    "before": null,
    "after": null
  }
}

Errors

HTTP code When
400 invalid_cursor The cursor is malformed or belongs to another filter.
422 validation_failed A query parameter is invalid (before, order=asc, unknown status).
403 insufficient_permissions The credential lacks the required permission.
401 unauthenticated The credential is missing, invalid or revoked.
429 rate_limited The rate limit was exceeded; retry after the Retry-After period.
503 service_unavailable A dependency is temporarily unavailable; retry after the Retry-After period.

Example

curl "https://api.eu.keenauth.com/v1/support-access-grants?status=active&limit=20" \
  -H "Authorization: Bearer $KEENAUTH_SECRET_KEY"