Path Parameters
Parameter | Type | Description |
---|---|---|
job_id | string | Unique job identifier |
Example Request
Response (200 OK)
Response Fields
Field | Type | Description |
---|---|---|
message | string | Confirmation message with job ID |
status | string | New job status (always “cancelled”) |
Error Responses
Status | Description |
---|---|
404 | Job not found or access denied |
500 | Internal server error |
Use Cases
- Resource Management: Cancel jobs that are taking too long
- Cost Control: Stop jobs to avoid unnecessary charges
- Queue Management: Cancel queued jobs that are no longer needed
- Error Recovery: Cancel stuck or problematic jobs
Once cancelled, a job cannot be restarted. You’ll need to create a new job if you want to retry the same scraping task.
Authorizations
API key in format 'sk-xxxxxxxxxxxxx' or 'sk_xxxxxxxxxxxxx'
Path Parameters
Unique job identifier