Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Get detailed information about a specific field.- Operation ID:
fields.get - API member path:
editor.doc.fields.get(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a FieldInfo object with the field’s instruction, result text, and nesting data.Input fields
| Field | Type | Required | Description |
|---|---|---|---|
target | object(kind=“field”) | yes | |
target.blockId | string | yes | |
target.kind | "field" | yes | Constant: "field" |
target.nestingDepth | integer | no | |
target.occurrenceIndex | integer | yes |
Example request
Output fields
No fields.Example response
Pre-apply throws
TARGET_NOT_FOUNDCAPABILITY_UNAVAILABLE
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema

