Skip to main content

Pause Task

POST /tasks/:id/pause
Pauses a running or scheduled task. Can be resumed later.

Resume Task

POST /tasks/:id/resume
Resumes a paused task. If it’s scheduled, it reactivates the schedule.

Start Task

POST /tasks/:id/start
Starts a planned task (moves from planned to running/scheduled).

Run Now

POST /tasks/:id/run
Triggers an immediate execution regardless of schedule.

Delete Task

DELETE /tasks/:id
Permanently removes the task and its run history.

Approve/Reject Run

POST /tasks/:id/approve
{
  "approved": true,
  "notes": "Great quality, approved"
}
FieldTypeDescription
approvedbooleanApprove (true) or reject (false)
notesstringOptional feedback that informs future runs