Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Get detailed information about a specific caption paragraph.- Operation ID:
captions.get - API member path:
editor.doc.captions.get(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a CaptionInfo object with the caption’s label, number, text, and instruction.Input fields
| Field | Type | Required | Description |
|---|---|---|---|
target | object(kind=“block”) | yes | |
target.kind | "block" | yes | Constant: "block" |
target.nodeId | string | yes | |
target.nodeType | "paragraph" | yes | Constant: "paragraph" |
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

