Skip to content

GET /v1/jobs

GET https://api.deskew.dev/v1/jobs

Lists jobs in the key’s project and mode (test or live), newest first. Requires jobs:read.

Name Type Default Description
status string Only jobs with this status: queued, processing, completed, failed, canceled
limit integer 1–100 20 Page size
starting_after string A job id; returns jobs created before it. Use the last id of the previous page
Terminal window
curl "https://api.deskew.dev/v1/jobs?status=completed&limit=2" \
-H "Authorization: Bearer $DESKEW_API_KEY"

200 with a list of job objects:

{
"object": "list",
"data": [
{
"id": "job_01JE4KB0X8Y2Z3A4B5C6D7E8F9",
"object": "job",
"status": "completed",
"mode": "async",
"file_name": "annual-report.pdf",
"file_type": "pdf",
"file_size": 8421377,
"pages": { "total": 48, "done": 48, "failed": 0 },
"eta_seconds": null,
"quality": "auto",
"credits": { "estimated": 72, "used": 61 },
"engines": { "text-layer": 41, "deskew-ocr": 7 },
"webhook": null,
"error": null,
"created_at": "2026-12-02T09:14:07.512Z",
"started_at": "2026-12-02T09:14:08.104Z",
"finished_at": "2026-12-02T09:16:40.811Z",
"expires_at": "2026-12-03T09:16:40.811Z",
"result_url": "https://api.deskew.dev/v1/jobs/job_01JE4KB0X8Y2Z3A4B5C6D7E8F9/result"
},
{
"id": "job_01JE4K9QW2M3N4P5Q6R7S8T9V0",
"object": "job",
"status": "completed",
"mode": "sync",
"file_name": "invoice.pdf",
"file_type": "pdf",
"file_size": 184233,
"pages": { "total": 1, "done": 1, "failed": 0 },
"eta_seconds": null,
"quality": "auto",
"credits": { "estimated": 1, "used": 1 },
"engines": { "text-layer": 1 },
"webhook": null,
"error": null,
"created_at": "2026-12-02T09:11:52.001Z",
"started_at": "2026-12-02T09:11:52.010Z",
"finished_at": "2026-12-02T09:11:52.402Z",
"expires_at": "2026-12-03T09:11:52.402Z",
"result_url": "https://api.deskew.dev/v1/jobs/job_01JE4K9QW2M3N4P5Q6R7S8T9V0/result"
}
],
"has_more": true
}
Status Code
401 missing_api_key, invalid_api_key, key_revoked, key_expired
403 insufficient_scope, ip_not_allowed
422 validation_error (for example limit out of range)
429 rate_limited