YakTunnel Docs

How to inspect and replay requests on your machine with YakTunnel

While a tunnel runs, the CLI keeps every request it forwards on your computer. The local inspector lets you read them, replay them to your app and export them, without uploading anything.

Before you start

  • A tunnel running from the CLI (see Start a tunnel from the CLI)
~/checkout — yaktunnel
yaktunnel inspect --no-browserhttp://127.0.0.1:53817/#…yaktunnel export --format har > captures.har# known secrets are masked; review the file before sharing it
Run these in a second terminal while the tunnel is running.

Steps

  1. Open the inspector

    With the tunnel running, run yaktunnel inspect in another terminal. Local request inspector opens; add --no-browser to only print its private link.

    second terminal
    yaktunnel inspecthttp://127.0.0.1:53817/#…# the Local request inspector opens in your browser
  2. Find a request

    Filter with Search path or query, Method or Status, then select a request to see its details.

  3. Replay it to your app

    Select Replay original locally, or Edit and replay, change the request, then select Send edited request locally. Confirm the prompt; the result shows the HTTP status.

  4. Export captures

    Select Export redacted JSON, or run yaktunnel export --format har > captures.har (also json or curl). Exports mask known secrets; review them before sharing.

    second terminal
    yaktunnel export --format har > captures.har# or --format json | curl
ResultYou can read each captured request, send it to your local app again, and export redacted captures.

Next steps

Updated 2026-11-06