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
- 202
- 403
- 404
- 409
Approved; the plan is running.
Not allowed to decide on this plan.
Task not found.
Not waiting for a decision, expired, or auto-ops is paused.