Tearleads

RootJobRunResponse

One recorded run of a scheduled job with each step's result and its captured console output.

Shape

object

11 fields
  • idstringrequired
    • not empty

    The run's id; it anchors the next page's cursor.

  • jobIdstringrequired
    • not empty
  • statusstringrequired
    • one of running, succeeded, failed, abandoned

    running, succeeded, failed, or abandoned: still recorded as running long after any invocation could have ended.

  • scheduledAtstringrequired

    The Cron time the platform invoked the run for.

  • startedAtstringrequired
  • finishedAtstringrequirednullable

    When the run ended; null while it runs, or when it never ended.

  • durationMsintegerrequirednullable
    • at least 0

    Milliseconds from start to end; null until the run ends.

  • failedStepslist of stringrequired
    • each item: not empty

    Names of the steps that threw or counted failed items.

  • errorstringrequirednullable

    Why the run failed, when it did.

  • stepslist of RootJobRunStepResultResponserequired
  • outputobjectrequired

    Console lines the steps wrote, capped per run; omittedLines counts those dropped at the cap.

    2 fields

    Other fields are allowed.

Other fields are allowed.

Used by