Skip to main content
POST
Approve an AI chat plan and execute its steps

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

plan_id
string<uuid>
required

Body

application/json
acknowledged_step_orders
integer[] | null

step_order values the user explicitly acknowledged. Every step listed in the plan proposal's acknowledgement_required_step_orders (irreversible or high-risk) must appear here, or the approval is refused with 400 PLAN_ACKNOWLEDGEMENT_REQUIRED.

Response

Server-sent event stream of the approval outcome (plan_complete on a session-bound guided run, plan_step_result / plan_complete otherwise, plan_error on a refusal).

The response is of type string.