{
"type": "job.cancelled",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"data": {
"job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"operation": "<string>",
"sequence": 123,
"target": {
"id": "<string>"
},
"metadata": {},
"credits": {
"spent": 123,
"settled": true
},
"summary": {},
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"needs_input": {}
}
}Job cancelled
Origami POSTs this event when a v3 Job is cancelled.
Partial work is kept; data.summary reports whatever
completed before cancel. The full Job GET carries
result.partial: true.
Default in the picker: off.
{
"type": "job.cancelled",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z",
"data": {
"job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"operation": "<string>",
"sequence": 123,
"target": {
"id": "<string>"
},
"metadata": {},
"credits": {
"spent": 123,
"settled": true
},
"summary": {},
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"needs_input": {}
}
}Body
Equal to the webhook-id HTTP header. Stable across retries;
use for receiver-side deduplication.
Event time (when the business action happened), set once at
publish and replayed on retries. NOT the dispatch time, which
lives in the webhook-timestamp HTTP header and is recomputed
per send.
Compact Job transition payload. One shape for all four
job.* events. sequence is the Job's monotonic transition
generation — at-least-once retries can arrive out of order,
so ignore any event whose sequence is not greater than the
last one processed for that job_id.
metadata echoes the object you passed when admitting the
Job, for correlation. Full result always rides
GET /api/v3/jobs/{job_id}.
Show child attributes
Show child attributes
Response
Receiver acknowledged.