List Request Logs
Beta/v1/core/request-logsThis endpoint is idempotent. Learn more
Returns a paginated list of request logs.
cursoroptional stringQuery parameter: cursor for List Request Logs
limitoptional integerQuery parameter: limit for List Request Logs
qoptional stringQuery parameter: q for List Request Logs
start_dateoptional string (date-time)Filter: start of date range for occurred_at.
end_dateoptional string (date-time)Filter: end of date range for occurred_at.
methodoptional stringFilter: HTTP method.
status_codeoptional integerFilter: HTTP status code.
error_codeoptional stringFilter: API error code.
account_idoptional stringFilter: actor home account ID.
actor_idoptional stringFilter: actor ID.
actor_typeoptional stringFilter: actor type ("user" or "api_key").
actor_nameoptional stringFilter: actor name (partial or exact match).
exact_matchoptional booleanWhen true, string filters use exact match instead of partial (LIKE).
include[]optional arrayenumValues:accountactoractor.roleSub-objects to expand in the response. When omitted, sub-objects are returned as null.
objectstringenumValues:listObject type for RequestLog list
page_infoobjectPagination metadata for RequestLog list
next_cursorstringnullableCursor to fetch the next page, null if no more pages.
prev_cursorstringnullableCursor to fetch the previous page, null if on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of objectArray of RequestLog resources in this page
idstringRequest log ID.
objectstringenumValues:request_logResource type identifier.
methodstringHTTP method.
hoststringRequest host.
pathstringRequest path.
normalized_routestringNormalized route pattern.
query_jsonstringnullableQuery 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 stringnullablePermissions in {domain}:{action} format.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
idempotency_keystringnullableUser-provided idempotency key.
request_body_jsonstringnullableRequest body as JSON.
response_body_jsonstringnullableResponse body as JSON.
Responses
Successful response for List Request Logs