Create Dataset Recurring Job
POST/v1/recurring_jobs/dataset/:dataset_id
Create a new recurring job for a dataset.
Request
Path Parameters
- application/json
Body
required
- MOD1
The run interval for the recurring job in seconds
Any additional job data the job needs as JSON serialized dict
The type of job to run
next_run
object
The next run of the job
anyOf
string
Responses
- 201
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD1
- MOD1
The id of the recurring job
The run interval for the recurring job in seconds
Any additional job data the job needs as JSON serialized dict
The type of job to run
The date and time the recurring job was created
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
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
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}