Get Request Log
Beta/v1/core/request-logs/{id}This endpoint is idempotent. Learn more
Returns a request log by ID.
idstringRequest log ID.
include[]optional arrayenumValues:accountactoractor.roleSub-objects to expand in the response. When omitted, sub-objects are returned as null.
idstringRequest log ID.
objectstringenumValues:request_logResource type identifier.
methodstringHTTP method.
hoststringRequest host.
pathstringRequest path.
normalized_routestringNormalized route pattern.
query_jsonstringExpandablenullableQuery parameters as JSON.
status_codeintegerHTTP status code.
latency_usintegerRequest latency in microseconds.
api_versionstringnullableAPI version used.
identity_typestringnullableCaller identity type.
client_ipstringnullableClient IP address.
user_agentstringnullableUser agent string.
referrerstringnullableReferrer header.
error_codestringnullableAPI error code.
error_messagestringnullableError message.
occurred_atstring (date-time)When the request occurred.
created_atstring (date-time)When the log entry was created.
accountobjectExpandablenullableAccount targeted by the request.
idstringAccount ID.
objectstringenumValues:accountResource type identifier.
namestringDisplay name.
default_billing_addressobjectnullableDefault billing address.
null in this endpoint.default_shipping_addressobjectnullableDefault shipping address.
null in this endpoint.brandingobjectnullableBranding configuration.
null in this endpoint.portalobjectnullablePortal configuration.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
actorobjectExpandablenullableActor details (user or API key).
idstringActor ID.
objectstringenumValues:actorResource type identifier.
typestringenumValues:userapi_keyagentActor type.
namestringnullableDisplay name.
handlestringnullableHuman-readable handle (email for users, redacted value for API keys, slug for agents).
roleobjectExpandablenullableAssigned role.
idstringRole ID.
objectstringenumValues:roleResource type identifier.
namestringDisplay name.
typestringenumValues:adminuserscannerRole type code.
ownerobjectnullableOwner of this resource.
null in this endpoint.permissionsarray of stringExpandablenullablePermissions in {domain}:{action} format.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
idempotency_keystringnullableUser-provided idempotency key.
request_body_jsonstringExpandablenullableRequest body as JSON.
response_body_jsonstringExpandablenullableResponse body as JSON.
Responses
Successful response for Get Request Log