The API Request Log object
Attributes
id stringInteger identifier for the log entry.
apiKeyId stringID of the API key that authenticated the request.
keyPreview stringMasked key showing prefix and last 4 characters (e.g. sk_live_...Ab3x), or null if key was deleted.
keyName stringHuman-readable name of the API key, or null.
method stringHTTP method: GET, POST, PUT, PATCH, or DELETE.
path stringRequest path (e.g. /v1/invoices).
statusCode stringHTTP response status code.
responseTimeMs stringServer-side response time in milliseconds.
ipAddress stringClient IP address.
userAgent stringClient User-Agent header value.
requestHeaders stringFull request headers (detail endpoint only). Sensitive headers are redacted.
requestBody stringParsed request body (detail endpoint only), or null for GET requests.
responseBody stringParsed response body (detail endpoint only).
createdAt stringISO 8601 timestamp of the request.