Skip to main content
DELETE
Cancel Job
Cancels a running scraping job and stops further processing.

Path Parameters

Example Request

Response (200 OK)

Response Fields

Error Responses

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

Authorization
string
header
required

API key in format 'sk-xxxxxxxxxxxxx' or 'sk_xxxxxxxxxxxxx'

Path Parameters

job_id
string
required

Unique job identifier

Pattern: ^job_[a-z0-9]+$

Response

Job cancelled successfully

job_id
string

Job identifier

Pattern: ^job_[a-z0-9]+$
status
enum<string>

New job status (cancelled)

Available options:
cancelled
message
string

Confirmation message

Example:

"Job cancelled successfully"

cancelled_at
string<date-time>

ISO 8601 cancellation timestamp