v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01151216390.1 KB
Devbox
Devbox-ShellTools

Get status of an asynchronous execution on a Devbox.

Get the latest status of a previously launched asynchronous execuction including stdout/error and the exit code if complete.

get/v1/devboxes/{devbox_id}/executions/{execution_id}

Path parameters

devbox_idstring required

The Devbox ID

execution_idstring required

The Execution ID

Query parameters

last_nstring

Last n lines of standard error / standard out to return (default: 100)

Response

OK

devbox_idstring required

Devbox id where command was executed.

execution_idstring required

Ephemeral id of the execution in progress.

status'queued' | 'running' | 'completed' required
shell_namestring nullable

Shell name.

stdoutstring nullable

Standard out generated by command. This field will remain unset until the execution has completed.

stderrstring nullable

Standard error generated by command. This field will remain unset until the execution has completed.

exit_statusinteger nullable

Exit code of command execution. This field will remain unset until the execution has completed.

stdout_truncatedboolean nullable

Indicates whether the stdout was truncated due to size limits.

stderr_truncatedboolean nullable

Indicates whether the stderr was truncated due to size limits.