cd /news/developer-tools/search-trace-spans-from-the-vercel-c… · home › topics › developer-tools › article
[ARTICLE · art-141919] src=vercel.com ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Search trace spans from the Vercel CLI

Vercel released a `vercel traces search` command in its CLI that lets developers and coding agents search a project's trace spans from the terminal, returning up to 100 spans from the last hour, newest first, by default. The command filters results by environment, service, span name, status, deployment ID, request ID, trace ID, or span ID, supports `--since` and `--until` time ranges, accepts Kibana Query Language (KQL) via `--query` for fields such as duration, and outputs one JSON object per span with `--json` for scripts and agents. Users update via `vercel upgrade` and can view options with `vercel traces search --help`.

by read1 min views1 publishedSep 29, 2026

You and your coding agents can now search a project’s trace spans from the terminal with vercel traces search.

Each span represents one step in a request, helping you investigate errors, latency, and security-related behavior without opening the dashboard.

By default, vercel traces search returns up to 100 spans from the last hour, newest first, so you can search without first finding a request or trace ID. Filter results by environment, service, span name, status, deployment ID, request ID, trace ID, or span ID, or narrow the time range with --since and --until:

For filters without a dedicated option, use --query with Vercel's supported subset of Kibana Query Langugage (KQL). It supports fields such as duration, along with span and resource attributes: Add --json to output one JSON object per span, giving scripts and agents structured data to analyze.

Update to the latest Vercel CLI with vercel upgrade, then run vercel traces search --help to see all available options. Learn more in the vercel traces documentation.

── more in #developer-tools 4 stories · sorted by recency
── more on @vercel 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/search-trace-spans-f…] indexed:0 read:1min 2026-09-29 · —