v4

latestOpenAPI 3.0.1Apache 2.02026-07-312457525.9 MB
Sandbox API

Get a specific command execution details

get/workspaces/{workspace_domain}/sandboxes/{sandbox_id}/commands/{id}

Path parameters

workspace_domainstring required
Example:my-company

The human-readable ID of the workspace

sandbox_idstring required
Example:sb-1234567890abcdef

The ID of the sandbox

idstring required
Example:cmd-9876543210fedcba

The ID of the command

Response

urlstring

API endpoint to GET this object

html_urlstring

Web URL to view this object in Buddy.works

idstring

The ID of the command

commandstring

Command to execute in the sandbox

runtime'BASH' | 'JAVASCRIPT' | 'TYPESCRIPT' | 'PYTHON'

Runtime environment for command execution (default: BASH)

status'INPROGRESS' | 'SUCCESSFUL' | 'FAILED'

Command execution status

exit_codeinteger

Command exit code

start_datestring date-time

Command execution start date

finish_datestring date-time

Command execution finish date

logs_urlstring

API endpoint URL to retrieve logs for this command