v13
OpenAPI 3.0.32026-07-31359869.4 MBsandboxes
Stream command logs
Streams 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
Path parameters
sessionIdstring required
The unique identifier of the session containing the command.
Example:sbx_abc123
The unique identifier of the session containing the command.
cmdIdstring required
The unique identifier of the command to stream logs for.
Example:cmd_abc123
The unique identifier of the command to stream logs for.
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.