Summary
Return document summary info including word, character, paragraph, heading, table, image, comment, tracked-change, SDT-field, list, and page counts, plus outline and capabilities.- Operation ID:
info - API member path:
editor.doc.info(...) - Mutates document:
no - Idempotency:
idempotent - Supports tracked mode:
no - Supports dry run:
no - Deterministic target resolution:
yes
Expected result
Returns a DocumentInfo object with counts (words, characters, paragraphs, headings, tables, images, comments, trackedChanges, sdtFields, lists, and optionally pages when pagination is active), document outline, capability flags, and revision.Input fields
No fields.Example request
Output fields
| Field | Type | Required | Description |
|---|---|---|---|
capabilities | object | yes | |
capabilities.canComment | boolean | yes | |
capabilities.canFind | boolean | yes | |
capabilities.canGetNode | boolean | yes | |
capabilities.canReplace | boolean | yes | |
counts | object | yes | |
counts.characters | integer | yes | |
counts.comments | integer | yes | |
counts.headings | integer | yes | |
counts.images | integer | yes | |
counts.lists | integer | yes | |
counts.pages | integer | no | |
counts.paragraphs | integer | yes | |
counts.sdtFields | integer | yes | |
counts.tables | integer | yes | |
counts.trackedChanges | integer | yes | |
counts.words | integer | yes | |
defaults | object | no | |
defaults.fontFamily | string | no | |
defaults.fontSize | number | no | |
defaults.styleId | string | no | |
outline | object[] | yes | |
revision | string | yes | |
styles | object | no | |
styles.paragraphStyles | object[] | no |
Example response
Pre-apply throws
- None
Non-applied failure codes
- None
Raw schemas
Raw input schema
Raw input schema
Raw output schema
Raw output schema

