Payezydevelopers
Sandbox

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

  • Permissionapi_keys:manage

Parameters

ParameterWhat it does
orgIdpath, uuidrequiredThe 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, uuidrequiredAn API key id from the key list.

Response 200

Request log

FieldWhat it does
requestsApiKeyRequest[]requiredNo description in the spec yet.
requests[].idstring (uuid)requiredNo description in the spec yet.
requests[].methodstringrequiredNo description in the spec yet.
requests[].routestringrequiredNo description in the spec yet.
requests[].statusintegerrequiredNo description in the spec yet.
requests[].request_idstringNo description in the spec yet.
requests[].ipstringNo description in the spec yet.
requests[].created_atstring (date-time)requiredNo description in the spec yet.