DELETE
/api/crawl/:idCancel a Job
Cancel a running or pending crawl job. Cancellation is immediate — any pages already crawled are retained in storage. Credits are only consumed for pages actually crawled before cancellation.
Request
curl
curl -X DELETE https://webextract.mabai.tech/api/crawl/{jobId} \
-H "Authorization: Bearer cai_sk_••••"Response
Success200 OK
{ "success": true }400Returned if the job is already in a terminal state (completed, errored, cancelled).
Related