Skip to content

JobRunItemResponseDto

Endpoints · All schemas

FieldRequiredDescription
idYesstring
lastProgressAtYesstring
lastStageYesstring
outcomeYesstring
reasonsYesarray
stageTotalsYesobject

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

{
  "properties": {
    "id": {
      "type": "string"
    },
    "lastProgressAt": {
      "format": "date-time",
      "nullable": true,
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      "type": "string"
    },
    "lastStage": {
      "nullable": true,
      "type": "string"
    },
    "outcome": {
      "enum": [
        "completed",
        "failed",
        "needsAttention",
        "cancelled",
        "active",
        "retrying",
        "delayed",
        "paused",
        "waiting",
        "blocked"
      ],
      "type": "string"
    },
    "reasons": {
      "items": {
        "enum": [
          "worker_unavailable",
          "no_dispatch_backlog",
          "first_setup_pending",
          "dependency_unavailable",
          "dependency_wait",
          "dependency_failed",
          "retry_backoff",
          "scheduled_delay",
          "queue_paused",
          "needs_attention",
          "stage_failed",
          "enumerating",
          "workload-disabled",
          "destination-unavailable",
          "destination-configuration",
          "destination-consent",
          "destination-budget",
          "source-unavailable",
          "local-capacity"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "stageTotals": {
      "properties": {
        "active": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "blocked": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "cancelled": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "completed": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "delayed": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "failed": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "needsAttention": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "paused": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "retrying": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "total": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        },
        "waiting": {
          "maximum": 9007199254740991,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "total",
        "completed",
        "failed",
        "needsAttention",
        "cancelled",
        "active",
        "retrying",
        "delayed",
        "paused",
        "waiting",
        "blocked"
      ],
      "type": "object"
    }
  },
  "required": [
    "id",
    "lastProgressAt",
    "lastStage",
    "outcome",
    "reasons",
    "stageTotals"
  ],
  "type": "object"
}