v14

latestOpenAPI 3.0.32026-08-04377889.4 MB
projects

Create a trace session token for a deployment

Mints a short-lived HS256 JWT scoped to a deployment hostname. The Vercel CLI presents this JWT to the Vercel proxy on requests it wants traced.

post/v1/projects/traces/session

Query parameters

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Request body

projectIdstring required

The project ID the deployment belongs to.

hostnamestring required

The deployment hostname to scope the trace session to.

Response

tokenstring required