Async jobs
Async job pattern (202 Accepted + polling). Status is computed from elapsed time, so no background workers: queued (first 2s) -> running (progress 0-99%) -> completed | failed ("fail" jobs die at 60%) | cancelled. The store is in-memory, capped at 200 jobs (oldest non-seed jobs are evicted), and resets on restart.
- GET
https://api.testingapis.com/api/jobsList all jobs, newest first. - POST
https://api.testingapis.com/api/jobsStart an asynchronous job. - GET
https://api.testingapis.com/api/jobs/{id}Get a job's current status and progress. - DELETE
https://api.testingapis.com/api/jobs/{id}Cancel a queued or running job. - GET
https://api.testingapis.com/api/jobs/{id}/resultGet the result of a completed job.
Example request
List all jobs, newest first. Full reference and a Send button.
cURL
curl -X GET "https://api.testingapis.com/api/jobs"Response · 200 OK
[
{
"id": "job_1001",
"type": "import",
"status": "running",
"progress": 8,
"durationSeconds": 60,
"createdAt": "2026-09-30T18:26:35Z",
"startedAt": "2026-09-30T18:26:37Z",
"finishedAt": null,
"statusUrl": "/api/jobs/job_1001",
"resultUrl": null,
"error": null
},
… (15 more lines)