sandboxBackgroundCommands

List background commands. Requires project.sandboxes.manage.

Arguments

  • sandboxIdID!required

  • cursorString

  • limitInt

Responses

query SandboxBackgroundCommands($sandboxId: ID!) {  sandboxBackgroundCommands(sandboxId: $sandboxId) {    data {      commandId      command      status      signal      heartbeatStatus      lastHeartbeatAt      lastHeartbeatError      heartbeatFailureCount      exitCode      startedAt      finishedAt    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor      self      first      next      prev    }  }}
{  "data": {    "sandboxBackgroundCommands": {      "data": [        {          "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"        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string",        "self": "string",        "first": "string",        "next": "string",        "prev": "string"      }    }  }}

The SandboxBackgroundCommandCollection! in data.sandboxBackgroundCommands.