Skip to main content

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 resolved
  • 400 Bad Request, unknown decision value, or edited without steps
  • 404 Not Found, no gate pending for this run (unknown, resolved, expired)
  • 503 Service Unavailable, the plan gate is not configured

Request​

Responses​

Plan decision recorded