Sandboxes
Stream a command's stdout/stderr as `application/x-ndjson` (`@vercel/sandbox`-compatible). Each line is either `{stream:"stdout"|"stderr", data:"..."}` or `{stream:"error", data:{code, message}}`.
get/v1/sandboxes/{id}/cmd/{cmd_id}/logs
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/sandboxes/{id}/cmd/{cmd_id}/logs
- Auth: HTTP bearer
Path parameters
idstring required
cmd_idstring required
Response
NDJSON stream of log events
Changes
No recorded changes to this operation across all 50 revisions of this API.