Skip to main content
Alpha: Document API is currently alpha and subject to breaking changes.

Summary

Return document metadata including revision, node count, 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 revision, word/paragraph/heading counts, and capability flags.

Input fields

No fields.

Example request

Output fields

Example response

Pre-apply throws

  • None

Non-applied failure codes

  • None

Raw schemas