Skip to main content

Approve a proposed plan and run it

POST 

/plugin-api/ai/tasks/:id/approve

The owner, or a holder of ai.ops.use who can connect to every host in the plan, may approve. The plan then runs as the owner, verbatim, per host in order, stopping a host at its first failure, then its verify commands. Answers at once; poll the task for progress.

Request​

Responses​

Approved; the plan is running.