Product

Live Debug: see and replay the exact requests agents send your API

Justina Nguyen · November 30, 2026

Agents call your API directly. For them, your API is the product, so a failed call is your product failing, and the request that failed is the one thing you need to see. That's why we built Live Debug.

What Live Debug does

Live Debug shows the real requests hitting your API, from developers and agents, with full headers and bodies. It does three things:

  • Opens straight to the requests behind an error, from Agent Recovery
  • Shows the full request and response, including who sent it
  • Turns any request into a cURL (client URL) command you can run yourself

Go from an error to a working replay in two steps

  1. Click the event count on an error group in Agent Recovery. Live Debug opens filtered to exactly those requests.
  2. Open any row in the inspector. You get the status, request ID, time, user and user agent, plus the full headers and body of both the request and the response. For agent traffic, the user and user agent are often the only way to tell which integration sent the call and on whose behalf.

You can also start without an error. The filter sidebar lists the values that show up in your traffic for the date range, so you pick from what happened. The chart above the table stacks requests by status class, and you can drag across it to zoom into a spike.

Debug without handling anyone's key

Request logs are an easy place for API keys to leak, so we kept them out of ours. The Restless SDK redacts credentials on your server, before the request is sent to us. That covers the standard auth headers, like Authorization, Cookie and X-API-Key, plus any custom auth header npx restless init finds in your API spec and code. In the inspector, a masked header shows as dots plus the last four characters. That's enough to tell which key a caller used without exposing it to everyone with dashboard access.

When Live Debug builds the cURL, it replaces the masked value with INSERT_API_KEY_HERE and keeps the original auth scheme, like Bearer. Key-only headers such as x-api-key get the bare placeholder. You replay the call with your own test key and never touch the caller's.

Once you know what went wrong, put the fix in the error response with Agent Recovery, so the next agent that sends a bad date gets the expected format back and can retry on its own.

Start debugging your own traffic

Ready? Choose how you'd like to start:

  1. Already on Restless: open Live Debug from the sidebar of your dashboard.
  2. New to Restless: add it to your API with one command.
npx restless init

GET STARTED

Build with Restless

The modern API toolkit: docs, an API reference, and AI chat, generated from your OpenAPI spec and updated as it ships.

$ npx restless init

More from the blog