Skip to main content
Approves a plan that is awaiting_approval, exactly as Approve on the panel does: what you approve is what runs. You can change a step first — a message’s wording, a note, an amount — in the fields its editable lists; each edit is checked again as if the agent had planned it. Steps that were due run now; later ones when they fall due.
Needs the agents.plans:write scope.

Path parameters

Body

Request

Response

200 OK — the plan, now scheduled, with your edits.

Errors

Every refusal is {"error": {"code", "message", "field"}}; field is there when one input is at fault. Any request can also be refused for its key, its account or its rate (key_required, invalid_key, account_suspended, plan_excludes_api, address_not_allowed, rate_limited); see the overview.