List API Key Audit Events

GET/enterprise/v1/audit/api-key-events

Use a MANAGEMENT Admin API Key issued by the organization owner, with Authorization: Bearer <ADMIN_API_KEY> and tenant:audit:read. The owner must remain active and retain organization-owner privileges. Do not use an inference key or session JWT. Success uses {code:200,data:...}.

Optional limit: 1–100, default 50. data is an array of recent API-key administration events, not a paginated object or a complete organization audit log. Fields: action, apiKeyName, operatorDisplayName, createdAt, detail. Detail is restricted to key_type, scopes, expires_at, workspace_code, previous_status, new_status, previous_allowed_ips, new_allowed_ips when present.

Request

Shell
1curl "https://api.token360.ai/enterprise/v1/audit/api-key-events" \
2  -H "Authorization: Bearer $ADMIN_API_KEY"

Errors use serviceCode: API_KEY_SCOPE_DENIED for missing scope, INVALID_ADMIN_QUERY for invalid queries, INVALID_TIME_RANGE for invalid time windows. Do not automatically broaden key permissions.

Was this page helpful?
List API Key Audit Events · Token360