API reference / Identity and access
List a key's recent requests
GET/v1/orgs/{orgId}/api-keys/{keyId}/requests
Recent requests made with this key, metadata only, kept 30 days (api_keys:manage).
When to use it
Debug a key in production. Metadata only (method, route, status, IP, request id), kept 30 days.
Before you call it
- Permission
api_keys:manage
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
keyIdpath, uuidrequired | An API key id from the key list. |
Response 200
Request log
| Field | What it does |
|---|---|
requestsApiKeyRequest[]required | No description in the spec yet. |
requests[].idstring (uuid)required | No description in the spec yet. |
requests[].methodstringrequired | No description in the spec yet. |
requests[].routestringrequired | No description in the spec yet. |
requests[].statusintegerrequired | No description in the spec yet. |
requests[].request_idstring | No description in the spec yet. |
requests[].ipstring | No description in the spec yet. |
requests[].created_atstring (date-time)required | No description in the spec yet. |