Jobs

Create Job

POST
/v2/jobs

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

Payload to create a new job.

description?|

Free-text description of the job.

destination?|

Where the job writes its results.

display_name?|

Human-friendly job name shown in the UI.

extract_template_name*Extract Template Name

Name of the extract template to run.

inputs?|

Input data configuration for the job.

name*Name

Job name.

schedule?|

Cron schedule controlling automatic runs.

Response Body

application/json

application/json

curl -X POST "https://example.com/v2/jobs" \  -H "Content-Type: application/json" \  -d '{    "extract_template_name": "string",    "name": "string"  }'
{  "created_at": "2019-08-24T14:15:22Z",  "description": "string",  "destination": {    "format": "jsonl",    "path": "string",    "type": "file"  },  "display_name": "string",  "extract_template_name": "string",  "id": "string",  "inputs": {    "data": [      {}    ],    "file_path": "string",    "type": "s3"  },  "last_run_at": "2019-08-24T14:15:22Z",  "last_run_status": "PENDING",  "name": "string",  "schedule": {    "cron": "string",    "enabled": true  },  "updated_at": "2019-08-24T14:15:22Z"}