Use request inspection to debug failed or slow requests.Documentation Index
Fetch the complete documentation index at: https://docs.wafer.ai/llms.txt
Use this file to discover all available pages before exploring further.
Save the Request ID
Inference responses include anx-request-id header.
List Requests
Get One Request
Parameters
endpoint(required):<ENDPOINT_HOST>limit(optional, default50):1-200cursor(optional):<CURSOR>errors_only(optional):trueorfalse
Key Fields
request_id: stable request IDstatus_code: final HTTP status codemodel_requested,model_resolved: requested and resolved model IDsttft_ms: time to first tokentotal_latency_ms: end-to-end latencyinput_tokens,output_tokens,cache_read_tokens: token countserror_code: Wafer error code when availableerror_message: human-readable error description when availablecreated_at: UTC timestamp
Pagination
Ifhas_more is true, pass the returned cursor value into the next request:
Error-Only Mode
Useerrors_only=true to list only 4xx and 5xx requests.
Errors
401: missing or invalid API key403: API key does not have access to the requested endpoint404: request ID was not found for that endpoint422: invalid cursor format or invalidrequest_idformat (must be a UUID or 12-char hexx-request-id)
Notes
- Request lookup is endpoint-scoped. A valid request ID for another endpoint returns
404. - Use
x-request-idfor exact correlation.