API reference
Cancel a job
Stop a job that has not finished and get the money back.
POST
/v1/jobs/{job_id}/cancelCancels a queued or running job and refunds it in full. A job that has already reached a terminal state returns 409 and is left alone.
curl -X POST https://api.journeyapi.dev/v1/jobs/job_01HQ8W0C5M9YKD/cancel \
-H "Authorization: Bearer $JOURNEY_API_KEY"{
"id": "job_01HQ8W0C5M9YKD",
"object": "job",
"type": "image",
"status": "cancelled",
"cost_usd": 0,
"refunded_usd": 0.10,
"created_at": "2026-09-18T09:16:10Z",
"completed_at": "2026-09-18T09:16:18Z"
}