The API Request Log object

Attributes

id string
Integer identifier for the log entry.
apiKeyId string
ID of the API key that authenticated the request.
keyPreview string
Masked key showing prefix and last 4 characters (e.g. sk_live_...Ab3x), or null if key was deleted.
keyName string
Human-readable name of the API key, or null.
method string
HTTP method: GET, POST, PUT, PATCH, or DELETE.
path string
Request path (e.g. /v1/invoices).
statusCode string
HTTP response status code.
responseTimeMs string
Server-side response time in milliseconds.
ipAddress string
Client IP address.
userAgent string
Client User-Agent header value.
requestHeaders string
Full request headers (detail endpoint only). Sensitive headers are redacted.
requestBody string
Parsed request body (detail endpoint only), or null for GET requests.
responseBody string
Parsed response body (detail endpoint only).
createdAt string
ISO 8601 timestamp of the request.