Get a background command. Requires project.sandboxes.manage.
Arguments
sandboxIdID!requiredcommandIdID!required
Responses
query SandboxBackgroundCommand($sandboxId: ID!, $commandId: ID!) { sandboxBackgroundCommand(sandboxId: $sandboxId, commandId: $commandId) { commandId command status signal heartbeatStatus lastHeartbeatAt lastHeartbeatError heartbeatFailureCount exitCode startedAt finishedAt }}{ "data": { "sandboxBackgroundCommand": { "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.sandboxBackgroundCommand.