Create a Job

Creates a Job on the Ingress Component.

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.

Query Params
boolean

Set to true to create Jobs ready to run. Without it, Jobs are created in the NotReady state and stay inactive until started with the state update endpoint.

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

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! Or choose an example:
application/json