Skip to navigation

Retrieve a request log

One request by the Request-Id its response carried. 404 resource_missing once it is older than 30 days.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

requestLogstringRequired1-255 characters

The request’s req_ ID: the Request-Id header of its response.

Headers

Paid-BetaenumRequired

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

Allowed values:

Response

200
idstring

The request’s ID: the Request-Id header of its response, and the requestId of its error.

objectenum

The type of object. Always requestLog.

Allowed values:
createdAtdatetime
When the request reached the API.
apiKeyobject

The API key the request was made with, or null for a request made as a signed-in user.

apiVersionstring or null

The dated version the request ran on, or null when its Paid-Version header was refused.

apiVersionSourceenum

Where apiVersion came from: the request’s Paid-Version header, or the account’s version. Expect new values.

Allowed values:
betaslist of strings

The betas applied to the request, each as name=vN.

durationMsinteger>=0
Milliseconds from Paid receiving the request to sending its response.
errorobject

Set when status is 400 or above.

idempotencyKeystring or null

The request’s Idempotency-Key header, if it sent one.

idempotentReplayedboolean

Whether the response was a stored one, replayed for its Idempotency-Key.

livemodeboolean

true for an object on a live account, false on a test account.

methodstring
The HTTP method.
operationstring or null

The operation the request matched, as the API reference names it, or null when it matched none or was refused before it was matched.

pathstring

The path and query string as sent, with the value of any query parameter named like a credential, and of token, email and reference, replaced by [REDACTED].

requestobject
What the caller sent.
responseobject
What Paid answered.
statusinteger
The HTTP status of the response.

Errors

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