Skip to content

Requests and logs lists a deployment’s requests, newest first: when each arrived, how it ended, how long it took, and its request ID. Use it when a call failed and you need to find it, or to see whether a deployment is failing right now.

In the workspace: Deployments / your deployment / Requests and logs

The tab has one card, Request records: “What happened to my requests?” When the deployment is slow, down or without signal, the status card sits above it, as on every tab.

The answer first

Above the list, one line answers for the range you picked, for example “1,204 requests in the last 24 hours. 12 failing.” The line under it gives the share that failed with a server error or a rate limit, and how many were client errors. Client errors are the caller’s request being refused, so they don’t count as failing. When the newest few requests all failed, it says when that started.

Filter by outcome

The track beside the search shows each outcome with its count for the range:

OutcomeWhat it means
AllEvery request
SucceededThe service answered
Client errorsThe service couldn’t accept the request as it was sent
Server errorsThe service failed while handling the request
Rate limitedThe service turned the request away because too many were sent

The same names are used on Performance’s How requests ended card and the API tab’s If a call fails row, and both open this tab with the matching outcome already picked.

The Errors numbers on Home, the Deployments list and Overview count server errors and rate-limited requests. Client errors are not counted there. For what each outcome means for your code, see When a call fails.

Read the list

ColumnWhat it shows
Local timeWhen the request arrived, newest first
Request IDThe ID to quote to Support
OutcomeSucceeded, Client error, Server error or Rate limited
Response timeHow long it took
Waiting in lineHow long it waited before the service picked it up, when recorded
Tokens in → outFor text models; Images for image models
ErrorThe error category and code, when one was recorded

The list shows 10 requests, then Show all N requests for the rest of the newest 100. Copy all N as JSON copies every listed request.

Select a row to open it. An opened request says what its outcome means in a sentence, then every recorded detail: request ID, local and UTC time, outcome, response time, waiting in line, tokens or images, and the error category and code. It has Copy request ID, Copy as JSON, Show only … errors when it has an error category, and a link to the tab that helps most: View API for a client error, View reliability for a server error, View performance otherwise.

While a row is open the list holds still. Newer requests wait above it as “N newer requests. Show them” instead of moving the row you are reading.

Find a request by ID

  1. Paste the ID into Find a request by ID and press Enter.
  2. The request opens with every recorded detail.
  3. To go back to the list, select the × in the field.

A search covers the last 7 days, whatever range you picked. If nothing matches, the card says so and offers Clear search. The API tab’s Find a request by ID link opens this tab with the cursor already in the field.

Ranges

Pick 1 hour, 24 hours or 7 days at the right of the tab row; the tab starts on 24 hours. Changing the range keeps the outcome you picked. If the range has no requests, the card says so and offers a wider one. Before a deployment’s first request, it says No requests yet.

If requests to the deployment are not measured yet, the tab says Measurements aren’t connected instead of showing a list.

What is kept, and what is not

Request records are kept for 30 days. A record holds the outcome and timing of a request, not its prompt or output: there are no request or response bodies to open here.

How to get here

  • The Requests and logs tab on any deployment.
  • A count on Performance’s How requests ended card, or View requests on its Requests card.
  • The API tab’s If a call fails row: Client errors, Server errors, Rate limited, or Find a request by ID.
  • See requests on the status card on Reliability, while the deployment is slow, down or without signal.

Everyone who can open the deployment can read this tab. See A deployment’s tabs for the others.