Handler for `POST /api/v1/tasks/{id}/plan-decision`.
POST/api/v1/tasks/:id/plan-decision
Resolves the plan gate registered for the run, unblocking the engine that paused after plan generation. The path id is the run identifier (the task id on the orchestrated path).
HTTP codes
200 OK, decision recorded and the gate resolved400 Bad Request, unknowndecisionvalue, oreditedwithout steps404 Not Found, no gate pending for this run (unknown, resolved, expired)503 Service Unavailable, the plan gate is not configured
Request
Responses
- 200
- 400
- 404
- 503
Plan decision recorded
Unknown decision value, or an edit without steps
No gate pending
Plan gate not configured