Retrieve a single API request log by request ID
request_id. Useful for looking up the full context of a request when a caller reports an error and includes the request_id header.
Per-plan access control limits how far back you can retrieve logs:
| Plan | Retention window |
|---|---|
free | Last 7 days |
starter | Last 30 days |
beta, pro, enterprise | Last 90 days |
billing:read scope.
X-Request-Id response header (e.g. req_01HXYZ...).request_id path parameter)."request_log".search, read, utility).id field.| Status | Type | Description |
|---|---|---|
| 401 | unauthorized | Missing or invalid API key |
| 403 | forbidden | API key lacks billing:read |
| 404 | not_found | Request log does not exist, belongs to another org, or is outside your plan’s retention window |