Skip to navigation

List request logs

The requests the account made to the API, newest first, each with what it sent and what Paid answered. Covers the last 24 hours unless createdAt[gte] says otherwise, and never more than the 30 days the log keeps.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Headers

Paid-BetaenumRequired

This endpoint is in the request_logs=v1 beta. Send this header to use it.

Allowed values:

Query parameters

apiKeystringOptionalformat: "uuid"
Requests made with the API key of this ID.
createdAt[gte]datetimeOptional

Requests received at or after this time. Defaults to 24 hours ago; the log reaches back 30 days.

createdAt[lt]datetimeOptional
Requests received before this time.
cursorstringOptional

The nextCursor of the previous page. Omit it for the first page.

errorCodestringOptional1-255 characters

Requests that failed with this error code.

idempotencyKeystringOptional1-255 characters

Requests that sent this Idempotency-Key: the original and its replays. Searches all 30 days unless createdAt[gte] is set.

limitintegerOptional1-100Defaults to 10
How many objects to return, 1 to 100. Defaults to 10.
methodenumOptional
Requests with this HTTP method.
Allowed values:
operationstringOptional1-255 characters
Requests that matched this operation.
outcomeenumOptional

succeeded for a status below 400, failed for 400 and above.

Allowed values:
statusintegerOptional100-599
Requests answered with exactly this HTTP status.

Response

200
objectenum

The type of object. Always list.

Allowed values:
datalist of objects
The request logs on this page, newest first.
hasMoreboolean
Whether another page follows this one.
nextCursorstring or null

Send it as cursor to get the next page. Null on the last page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error