sandboxes
Stream command logs
Changed onStreams the output of a command in real-time using newline-delimited JSON (ND-JSON). Each entry includes the output data and stream type. Stream types include stdout, stderr, and error (for stream failures).
get/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs
Request
- Base URL: https://api.vercel.com
- URL: https://api.vercel.com/v2/sandboxes/sessions/{sessionId}/cmd/{cmdId}/logs
- Auth: HTTP bearer
Path parameters
sessionIdstring required
The unique identifier of the session containing the command.
Example:sbx_abc123
cmdIdstring required
The unique identifier of the command to stream logs for.
Example:cmd_abc123
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.
Changes
- info
removed the non-success response with the status
- info
- info
endpoint added
- info