Start a background command. Requires project.sandboxes.manage.
Arguments
sandboxIdID!requiredinputSandboxCommandInput!requiredinput.commandString!requiredinput.cwdStringinput.timeoutSecondsIntinput.envStringMap
Responses
mutation StartSandboxBackgroundCommand($sandboxId: ID!, $input: SandboxCommandInput!) { startSandboxBackgroundCommand(sandboxId: $sandboxId, input: $input) { commandId command status signal heartbeatStatus lastHeartbeatAt lastHeartbeatError heartbeatFailureCount exitCode startedAt finishedAt }}{ "data": { "startSandboxBackgroundCommand": { "commandId": "string", "command": "string", "status": "pending", "signal": "string", "heartbeatStatus": "disabled", "lastHeartbeatAt": "2026-01-01T00:00:00Z", "lastHeartbeatError": "string", "heartbeatFailureCount": 0, "exitCode": 0, "startedAt": "string", "finishedAt": "string" } }}The SandboxBackgroundCommand! in data.startSandboxBackgroundCommand.