Skip to main content
Rejects a plan waiting for approval — the whole plan, or, in step-by-step mode, a plan with a step waiting. Nothing more of it runs. The agent reads your note the next time it plans for this contact.
Needs the agents.plans:write scope.

Path parameters

Body

Request

Response

200 OK — the plan, now rejected.

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.