Skip to main content

Logs

Logs lists every request to the API and the Playground, newest first, including requests that failed. Each row shows the status, model, API key, whether it streamed, duration, time to first token, tokens and cost.
  • Filter by time range (last 24 hours, 7 days or 30 days) and by status (all, succeeded or failed).
  • Search by request ID, key name or error code.
  • Open a request to see its prompt, the model’s plan, the answer, token counts, cost and timings. For a Playground answer that searched the web, it also lists the searches and page reads that request ran, with the links they found. Each model call of such an answer is its own request.
  • Export the current page as CSV.
Requests you cancel appear with status 499 client_closed and are charged for the tokens already sent. Requests rejected by a rate limit don’t appear. Every API response has an x-request-id header with the request’s ID. Search for it in Logs, and include it when you contact support.

Usage

Usage charts spend, requests, tokens and error rate for the workspace over the last 24 hours, 7, 30 or 90 days, compared with the previous period of the same length. Filter by API key, or see:
  • By API: Chat Completions and Responses requests, which cost the same per token.
  • By API key: spend per key. Open a key for its limits and requests.
  • Failed requests: failures by status and error code.
Overview shows the same numbers at a glance, with recent requests and the keys that used the most credits this month.

How long requests are kept

Requests, with their prompts and answers, are kept until the workspace is deleted. See Data and privacy.
Last modified on December 5, 2026