Sandboxes
SSE endpoint streaming each stdout/stderr line from a detached job as it's produced. Mirrors the `Command.logs()` async iterator shape on `@vercel/sandbox` — events carry `{ stream, data }`.
Late subscribers only see events produced after they connect. The JobState snapshot (GET /jobs/{job_id}) covers the history.
A "done" sentinel event fires when the broadcast channel closes (the exec task has exited and dropped the sender), signalling callers they can stop reading.
get/v1/sandboxes/{id}/jobs/{job_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}/jobs/{job_id}/logs
- Auth: HTTP bearer
Path parameters
idstring required
job_idstring required
Response
SSE stream of log events
Changes
No recorded changes to this operation across all 50 revisions of this API.