Update a Job

Updates a Job. Only periodic Jobs can be updated. The body uses the same JSON structure as Job creation.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The pipeline ID.

string
required

The Ingress Component (step) ID.

string
required

The Job ID.

Body Params
string
required

Identifies the Job in analytics and management screens. Any string.

string
required

The data source, for example twitter_auto.

query
object
required

The source query. Its shape depends on the data_source. Auto source Jobs use { "query": "" }.

string
enum
Defaults to onetime

onetime runs once over query_from to query_to; periodic runs on schedule. Defaults to onetime if omitted. Responses return job_type as oneTime or periodic.

Allowed:
date-time

Start of the collection window, for one-time Jobs.

date-time

End of the collection window, for one-time Jobs.

string

For periodic Jobs: a 7-field cron expression, for example 0 0 0/6 1/1 ? . If it is more frequent than the source supports, the lowest supported interval is used.

int32

A soft cap on documents per Job run. The final count can be slightly higher.

string

A single string applied to every document the Job collects.

tags
array of objects

Name and value pairs applied to collected documents.

tags
Responses
200

Success

401

Unauthorized. The apikey header is missing or the key is wrong.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!