Get sandbox background command output

sandboxBackgroundCommandOutput(sandboxId: ID!, commandId: ID!): SandboxBackgroundCommandOutput!

Requires project.sandboxes.manage.

Arguments

ArgumentTypeRequired
sandboxIdID!Yes
commandIdID!Yes

Response

Returns SandboxBackgroundCommandOutput!. Open the type for its fields and nested types.

FieldType
commandIdID!
commandString!
statusSandboxBackgroundCommandStatus!
exitCodeInt
signalString
startedAtDateTime
finishedAtDateTime
heartbeatStatusSandboxCommandHeartbeatStatus!

All fields of SandboxBackgroundCommandOutput.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
query SandboxBackgroundCommandOutput($sandboxId: ID!, $commandId: ID!) {  sandboxBackgroundCommandOutput(sandboxId: $sandboxId, commandId: $commandId) {    status    stdout    stderr    stdoutTruncated    stderrTruncated  }}
variables.json
{  "sandboxId": "00000000-0000-4000-8000-000000000001",  "commandId": "00000000-0000-4000-8000-000000000001"}