Skip to main content
DELETE https://xquik.com/api/v1/extractions/{id}

Cancel one extraction job

Send DELETE /extractions/{id} to stop a pending or running job. The job ends as canceled. It saves no rows & uses no credits. A repeat request on a canceled job answers 200, so a retry is safe. Use the job ID from Create Extraction or List Extractions. An API key needs the exports scope for this route.

Know when a job can stop

Only a pending or running job can stop. A finished job answers 409 with its status. Its rows stay as they were. To keep the rows a job already found, let it finish. Then read them through Extraction results.

Headers

Path parameters

Response

Xquik stopped the job. It saved no rows.
Related. Create Extraction starts a new job, and List Extractions shows each job’s status.

Response examples

200 example

  • 401 { "error": "unauthenticated", "message": "Authentication required. Provide a valid API key or bearer token." }
  • 403 { "error": "api_key_paused", "message": "This API key is paused. Resume it at dashboard.xquik.com/api-keys to use it again." }
  • 404 { "error": "not_found", "message": "Resource not found." }
  • 409 { "error": "extraction_terminal", "message": "Extraction already finished. Check its status.", "status": "completed" }
  • 429 { "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 60 }