Create Recurring Connector Builds
POST/v1/recurring_jobs/create/zendesk_connector
Create a recurring job for a zendesk connector.
Request
- application/json
Body
required
dataset_id Dataset Id (string)required
ID of the dataset to create connector for
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD1
- MOD1
id Id (string)required
The id of the recurring job
run_interval_in_seconds Run Interval In Seconds (integer)required
The run interval for the recurring job in seconds
metadata Metadata (string)required
Any additional job data the job needs as JSON serialized dict
job_type Job Type (string)required
The type of job to run
created_at date-timerequired
The date and time the recurring job was created
updated_at date-timerequired
The date and time the recurring job was last updated
last_run
object
The date and time the recurring job was last run
anyOf
string
next_run
object
The date and time the recurring job will next run
anyOf
string
active Active (boolean)required
Whether the recurring job is active
last_run_job_id
object
The id of the job that last ran the recurring job
anyOf
string
{
"id": "string",
"run_interval_in_seconds": 0,
"metadata": "string",
"job_type": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"last_run": "2024-07-29T15:51:28.071Z",
"next_run": "2024-07-29T15:51:28.071Z",
"active": true,
"last_run_job_id": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...