Represents a queue job
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| createTime | string | ✅ | The job creation time |
| events | QueueJobEvent[] | ✅ | The job events |
| id | string | ✅ | The job identifier |
| input | any | ✅ | The job input. May be any valid JSON. |
| status | QueueJobStatus | ✅ | The job status |
| updateTime | string | ✅ | The job update time |
| metadata | any | ❌ | Additional metadata for the job |
| output | any | ❌ | The job output. May be any valid JSON. |
| webhook | string | ❌ | The webhook URL to notify when the job completes |
The job status
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| PENDING | string | ✅ | "pending" |
| RUNNING | string | ✅ | "running" |
| SUCCEEDED | string | ✅ | "succeeded" |
| CANCELLED | string | ✅ | "cancelled" |
| FAILED | string | ✅ | "failed" |