Skip to content
Docs

vercel traces

The vercel traces command helps you inspect request traces for a linked project or a specific project.

Use vercel traces get <request-id> to inspect a request trace.

terminal
# Get a specific trace
vercel traces get req_1234567890
 
# `get` is the default subcommand
vercel traces req_1234567890
 
# Open a trace in the Vercel Dashboard
vercel traces get req_1234567890 --open

Using the vercel traces command to inspect request traces.

The get subcommand returns details for a single trace by request ID.

terminal
vercel traces get req_1234567890
vercel traces get req_1234567890 --json

These options apply to vercel traces get.

The --project option, shorthand -p, specifies the project name or ID.

terminal
vercel traces get req_1234567890 --project my-app

The --json option, shorthand -j, returns machine-readable output.

terminal
vercel traces get req_1234567890 --json

The --open option opens the trace in the Vercel Dashboard instead of printing the trace in the terminal.

terminal
vercel traces get req_1234567890 --open

--open cannot be combined with --json.

Use --view with --open to set the initial Dashboard view. Supported values are timeline, tree, and waterfall.

terminal
vercel traces get req_1234567890 --open --view=tree
vercel traces get req_1234567890 --open --view=waterfall

--view requires --open.

Fetch a trace from a specific team and project:

terminal
vercel traces get req_1234567890 --scope my-team --project my-app

Open a trace in the dashboard tree view:

terminal
vercel traces get req_1234567890 --open --view=tree

Get JSON output for automation:

terminal
vercel traces get req_1234567890 --json

The following global options can be passed when using the vercel traces command:

For more information on global options and their usage, refer to the options section.

Last updated June 22, 2026

Was this helpful?

supported.