# Trace any Vercel request from the CLI

**Published:** June 3, 2026 | **Authors:** z0oks

---

You can now generate [Session Traces](https://vercel.com/docs/tracing/session-tracing) through the Vercel CLI.

Use the new `vercel curl --trace` command to generate an OpenTelemetry trace to the specified endpoint from the terminal.

```bash
vercel curl --trace https://your-app.vercel.app/api/products
```

Use the new `vercel traces get` command to fetch the generated trace by request ID.

```bash
vercel traces get f47ac10b-58cc-4372-a567-0e02b2c3d479
```

Available on all plans.

Update the Vercel CLI to the latest version and run `vercel curl --trace` to get started. Learn more about the [`vercel curl` CLI command.](https://vercel.com/docs/cli/curl)

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)