Search trace spans from the Vercel CLI
The Vercel CLI now supports searching trace spans directly from the terminal via the vercel traces search command, allowing developers to investigate errors, latency, and security issues without accessing the dashboard. The command returns up to 100 spans from the last hour by default and supports filtering by environment, service, span name, status, deployment ID, request ID, trace ID, span ID, and time range.
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, 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 and :vercel traces search--since--until
For filters without a dedicated option, use with Vercel's supported subset of . It supports fields such as duration, along with span and resource attributes:--queryKibana Query Langugage (KQL)
Add to output one JSON object per span, giving scripts and agents structured data to analyze.--json
Update to the latest Vercel CLI with , then run to see all available options. Learn more in the .vercel upgradevercel traces search --helpvercel tracesdocumentation
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
OpenAI Decisions API now available on AI Gateway
OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.
Timestamp attributes now supported in Vercel Flags
Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.
Glyph Cluster now available in stealth on AI Gateway
Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.