v1
latestOpenAPI 3.1.02026-07-224239180.9 KBScheduling Task
Create a scheduling task
Creates a scheduling task for the supplied application and job stage. The task starts with the requested urgency and optional initial note; the server assigns the scheduling-task type. An idempotency key is required so retries return the original result instead of creating another task.
post/v1/tasks
Request body
Example request
{
"application_id": "app_a1b2c3d4e5f64789a1b2c3d4e5f64789",
"job_stage_id": "stg_a1b2c3d4e5f64789a1b2c3d4e5f64789"
}Response
Success
Example response
{
"id": "tsk_a1b2c3d4e5f64789a1b2c3d4e5f64789",
"application": {
"id": "app_a1b2c3d4e5f64789a1b2c3d4e5f64789",
"candidate": {
"id": "can_a1b2c3d4e5f64789a1b2c3d4e5f64789"
},
"job": {
"id": "job_a1b2c3d4e5f64789a1b2c3d4e5f64789"
}
},
"job_stage": {
"id": "stg_a1b2c3d4e5f64789a1b2c3d4e5f64789"
},
"assignee": {
"id": "emp_a1b2c3d4e5f64789a1b2c3d4e5f64789"
},
"queue_id": "que_a1b2c3d4e5f64789a1b2c3d4e5f64789",
"notes": [
{
"author": {
"id": "emp_a1b2c3d4e5f64789a1b2c3d4e5f64789"
}
}
]
}