{
  "body": {
    "job_id": "ddb9572f-b829-4ecb-bd3f-91ebb0f0c777",
    "status": "error",
    "output": null,
    "error": "..."
  },
  "type": "job_complete"
}

See here for information on how to setup webhooks.

Webhook Response

The webhook responses vary depending on the event.

Event job_complete

type
string

The type of event. Always job_complete.

body
object

The event data.

status
string

The status of the job. Can be “queued”, “started”, “finished”, or “error”.

job_id
string

The job ID.

output
object

(Deprecated) The first output of the job. Output field will be null if the job errored out.

outputs
array[object]

A list of all outputs emitted by the job, if any.

error
string

Will be null if no error occurred.

Event job_start

type
string

The type of event. Always job_start.

body
object

The event data.

job_id
string

The job ID.