What you’ll learn
- How do I find a failed request without a request ID?
- Why does a request show Settled when my client reports an error?
- Can I share a request link with a teammate?
- How long can I read a request body?
A failed API call leaves you with a status code, an error string, and a request ID. The TokenLab Request Console turns that ID into the full record: what ran, what it cost, how it failed, and what to try next. It is the Requests tab of the Runs page, and the dashboard also calls it the Request Debugger. It is read-only. It never reruns a request or changes billing.
Key Takeaways
- Open Runs → Requests, paste a request ID, and select Look up. Or pick a row from Recent requests.
- TokenLab returns a request ID in the
X-Request-IDresponse header on success and on errors. Log it on every call. - You can link straight to a request with
/dashboard/runs?section=requests&requestId=<request_id>&detail=debug. - The inspector shows the lifecycle, model, delivery option, endpoint, error, charge, tokens and cache use, latency, request and response bodies with secrets hidden, and a suggested fix.
- Request and response bodies are kept for 30 days. Billing and usage records are kept separately.
Open a Request
The Request Console lives under Runs. Older links of the form /dashboard/api?tab=requestConsole no longer open it.
- Get the request ID from the
X-Request-IDresponse header, from therequest_idfield when an error body has one, or from your own logs. - Open Runs, select the Requests tab, paste the ID into Request ID, and select Look up. Or use the deep link below.
- Read the inspector. Select Open full details for a dedicated page. Back to requests returns to your list and its filters.
/dashboard/runs?section=requests&requestId=<request_id>&detail=debug
Replace <request_id> with the ID. A link never gives access to another workspace. A teammate must open it with an account that belongs to the workspace that made the request.
If you do not have an ID, use the Recent requests list. You can filter it by period (Today, This month, Last month, or a custom range with a time zone), API key, prompt cache state, status (Settled, Failed, Refunded, or Pending settlement), and model. For example, filter by Failed for today, then find the call a user reported.
What the Inspector Shows
| Section | What it tells you |
|---|---|
| Request lifecycle | The stage (for example Processing, Streaming, Succeeded, Failed, or Timed out), the billing state (No charge, Pending, Settled, Refunded, or Failed), and the result |
| Model and delivery | The model and its maker, the delivery option you requested, and the one that ran the request |
| Endpoint and HTTP status | The API endpoint called and the status it returned |
| Error | The error message, and for async tasks the task ID and status |
| Billing | The billing transaction, billing unit and quantity, the effective unit prices (input, output, cache read, cache write), and any tool fees |
| Tokens and cache | Input, output, cache read, cache write, and non-cached input tokens |
| Latency | Time to first byte, time to first token, and service latency |
| Request and response body | The saved bodies. Sensitive values are hidden before a body appears. Select Load to read one. Long bodies are truncated. |
| How to fix this | What went wrong, whether a retry is safe, how long to wait, and the suggested fix |
For generated images, video, and audio, the inspector can also show a media preview.
Read the Status
- Settled: the charge is recorded. If your client saw an error but the request is Settled, the client may have disconnected before the response arrived. The inspector then says that the request was processed and billed. For a non-streamed Chat Completions, Messages, or Responses request, send it again with the same API key, the same
Idempotency-Key, and the same body within 24 hours to receive the result without another charge. See Retry safely with an idempotency key. - Pending: the request is still running or waiting for settlement. Refresh the progress before you treat it as a failure.
- Refunded: TokenLab reversed the charge. The inspector shows "No charge, refunded automatically".
- Failed: the call did not complete. Read the error and the Billing section to see whether anything was charged.
Fix a Failed Request
The How to fix this panel names the failure class: a request setting needs fixing, an API key or permission problem, a balance or usage limit, a model that is not available, a temporary outage, an unsupported request format, or an unknown cause. It also says whether the same request is safe to send again and how many seconds to wait. The suggested fix is one of: try the same request again, wait and try again, try a different model, adjust the request settings, switch to a supported format, add funds or check your limits, check the key and model access, or contact support with the request ID.
A short routine for each failed call:
- Get the request ID, and open the request.
- Read the lifecycle: stage, billing state, and result.
- Check that the model and the delivery option match what you intended. A stale environment variable can send traffic to the wrong model.
- Read the error and the How to fix this panel.
- Open the request body preview and compare it with what your client meant to send. Malformed parameters show up here.
- Check the prompt cache fields. A cache miss where you expected a hit usually means the start of the prompt changed.
- If the cause is still unclear, select Investigate the issue to start an investigation in the TokenLab Agent, or choose the human support action. Neither one reruns the request. Review the message before you submit it.
The troubleshooting checklist is saved on your device. For the full flow, see Logs and troubleshooting.
Console or Exports
Use the Request Console for one request: one call, one error, one charge question. When many requests fail, or you need totals, switch to exports. The usage exports guide covers the Usage page export, the request-level export in Runs, and the Management API.
FAQ
How do I find a failed request without a request ID?
Open the Recent requests list in Runs and filter by status Failed and a period such as Today. Add a model or API key if you know them. Open the call a user reported, then copy its request ID into your logs.
Why does a request show Settled when my client reports an error?
The client may have disconnected before the response arrived, for example at a timeout, while TokenLab finished and billed the request. The inspector shows this case. Retrying without an Idempotency-Key creates a second request. Within 24 hours, a retry with the same key, API key, and body returns the stored result without a second charge.
Can I share a request link with a teammate?
Yes. Use the link format above. The teammate must open it with an account that belongs to the same workspace, because a link does not give access to another workspace.
How long can I read a request body?
Request and response bodies are available for 30 days from capture. After that, the console can no longer show them, but the request summary and billing records may still be available. See Data retention.
Open Runs and look up a recent request to see the console with your own data.
Sources
Prices checked 2026-11-11
- TokenLab docs: Logs and troubleshootingSources checked 2026-11-11
- TokenLab docs: Data retentionSources checked 2026-11-11
- TokenLab docs: Handle API errorsSources checked 2026-11-11
- TokenLab Runs page (Dashboard)Sources checked 2026-11-11



