Alpha: Document API is currently alpha and subject to breaking changes.
Summary
Get detailed information about a specific cross-reference field.- Operation ID:
crossRefs.get - API member path:
editor.doc.crossRefs.get(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a CrossRefInfo object with the cross-reference’s target, display, and resolved text.Input fields
| Field | Type | Required | Description |
|---|---|---|---|
target | object(kind=“inline”) | yes | |
target.anchor | InlineAnchor | yes | InlineAnchor |
target.anchor.end | Position | yes | Position |
target.anchor.end.blockId | string | yes | |
target.anchor.end.offset | integer | yes | |
target.anchor.start | Position | yes | Position |
target.anchor.start.blockId | string | yes | |
target.anchor.start.offset | integer | yes | |
target.kind | "inline" | yes | Constant: "inline" |
target.nodeType | "crossRef" | yes | Constant: "crossRef" |
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

