Skip to main content
This document describes the payload of a Run’s completion webhook.

Properties

string
required
The Run’s ID
boolean
required
Whether the Run completed successfully or failed.
JobRunStatus
required
The Run’s status. Will always be "SUCCESS" if ok is true. If ok is false, will be one of "FAILURE" | "TIMED_OUT" | "ABORTED" | "CANCELED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD"
JobRunStatusRecord[]
required
An array of the explicit run statuses that were created during the Run. See Explicit Status Hooks for more.
any
If the Run completed successfully, this will be the output of the Job.
any
If the Run failed, this will be the error that caused the failure.
Date
required
When the Run started
Date
required
When the Run started
boolean
required
Whether the Run was a test Run
number
required
The duration of the Run in milliseconds
number
required
The number of individual function executions performed to complete the Run
object
required
Metadata about the Invocation / Run
object
required
Metadata about the Job
object
Metadata about the Task that failed, only exists if the Run failed
object
required
Metadata about the Environment
object
required
Metadata about the Organization
object
required
Metadata about the Project
object
Metadata about the Account that triggered the Run. See the BYO Auth docs for more information.