Documentation Index
Fetch the complete documentation index at: https://superdoc-nick-sd-2070-add-content-controls-namespace-to-doc.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Alpha: Document API is currently alpha and subject to breaking changes.
Summary
List all hyperlinks in the document, with optional filtering by href, anchor, or display text.
- Operation ID:
hyperlinks.list
- API member path:
editor.doc.hyperlinks.list(...)
- Mutates document:
no
- Idempotency:
idempotent
- Supports tracked mode:
no
- Supports dry run:
no
- Deterministic target resolution:
yes
Expected result
Returns a HyperlinksListResult with an array of hyperlink discovery items and pagination metadata.
| Field | Type | Required | Description |
|---|
anchor | string | no | |
hrefPattern | string | no | |
limit | integer | no | |
offset | integer | no | |
textPattern | string | no | |
within | NodeAddress | no | NodeAddress |
Example request
{
"hrefPattern": "example",
"within": {
"kind": "block",
"nodeId": "node-def456",
"nodeType": "paragraph"
}
}
Output fields
| Field | Type | Required | Description |
|---|
evaluatedRevision | string | yes | |
items | object[] | yes | |
page | PageInfo | yes | PageInfo |
page.limit | integer | yes | |
page.offset | integer | yes | |
page.returned | integer | yes | |
total | integer | yes | |
Example response
{
"evaluatedRevision": "rev-001",
"items": [
{
"address": {
"anchor": {
"end": {
"blockId": "block-abc123",
"offset": 0
},
"start": {
"blockId": "block-abc123",
"offset": 0
}
},
"kind": "inline",
"nodeType": "hyperlink"
},
"properties": {
"anchor": "example",
"href": "example"
},
"text": "Hello, world."
}
],
"page": {
"limit": 50,
"offset": 0,
"returned": 1
},
"total": 1
}
Pre-apply throws
Non-applied failure codes
Raw schemas
{
"additionalProperties": false,
"properties": {
"evaluatedRevision": {
"type": "string"
},
"items": {
"items": {
"additionalProperties": false,
"properties": {
"address": {
"additionalProperties": false,
"properties": {
"anchor": {
"$ref": "#/$defs/InlineAnchor"
},
"kind": {
"const": "inline"
},
"nodeType": {
"const": "hyperlink"
}
},
"required": [
"kind",
"nodeType",
"anchor"
],
"type": "object"
},
"properties": {
"additionalProperties": false,
"properties": {
"anchor": {
"type": "string"
},
"docLocation": {
"type": "string"
},
"href": {
"type": "string"
},
"rel": {
"type": "string"
},
"target": {
"type": "string"
},
"tooltip": {
"type": "string"
}
},
"type": "object"
},
"text": {
"type": "string"
}
},
"required": [
"address",
"properties"
],
"type": "object"
},
"type": "array"
},
"page": {
"$ref": "#/$defs/PageInfo"
},
"total": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"evaluatedRevision",
"total",
"items",
"page"
],
"type": "object"
}