Skip to main content
POST
Close an open job

Authorizations

X-API-Key
string
header
required

Batch, Crawl, the Extract endpoints and the account endpoint read the same key from the X-API-Key header.

Path Parameters

job_id
string
required

Identifier returned when the job was created.

Response

The job, now closed.

A batch job and the state of its most recent run.

job_id
string

Identifier to poll and to collect results with.

name
string
external_id
string
metadata
object
type
enum<string>
Available options:
regular,
scheduled
status
enum<string>

Whether the job still accepts new tasks; deleted while a deletion completes.

Available options:
open,
closed,
deleted
format
string

The content format the tasks return, from zenrows_params.

Examples:

"html"

"markdown"

"plaintext"

"json"

"pdf"

zenrows_params
object

The Fetch parameters applied to every task.

schedule
object

Exactly one of at, rate or calendar, plus timezone for at and calendar. Times of day are full hours; runs are at least 60 minutes apart.

schedule_state
enum<string>

Scheduled jobs only.

Available options:
active,
paused
next_scheduled_run
string<date-time>

Scheduled jobs only.

webhook
object

Where run notifications (run.completed, run.failed) are delivered.

created_at
string<date-time>
updated_at
string<date-time>
latest_run
object

One run of a job.