Summary
Execute a compiled batch of plan-safe operation entries with per-entry transactions, capture resolution between entries, and keep-prefix-and-continue failure semantics.- Operation ID:
plan.execute - API member path:
editor.doc.plan.execute(...) - Mutates document:
yes - Idempotency:
non-idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a PlanExecuteResult with per-entry receipts, projected captures, and the first hard failure if any.Input fields
| Field | Type | Required | Description |
|---|---|---|---|
captureReturns | "*" | string[] | no | One of: "*", string[] |
entries | object[] | yes |
Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
captures | object | yes | |
failure | object | no | |
failure.entryIndex | integer | no | |
failure.message | string | no | |
failure.operationId | string | no | |
receipts | object[] | yes |
Example response
Pre-apply throws
INVALID_INPUTCAPABILITY_UNAVAILABLE
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema
Raw success schema
Raw success schema
Raw failure schema
Raw failure schema

