Skip to main content

MsOffice

Use this contract for Microsoft Office and web-text results. It is designed for everyday document intelligence workflows such as knowledge extraction, document QA, editorial review, report ingestion, and RAG across Word, Excel, PowerPoint, and web text content.

Top-level envelope

Document fields

Universal content/block shape

Every public content record uses the same base shape. Common record types include word_metadata, section, heading, paragraph, list, table, table_row, table_cell, image, header_footer, bookmark, footnote, endnote, toc, field, hyperlink, word_formula, word_chart, word_smartart, and page_break.

Warnings

  • warnings is always present.
  • Use plain strings.
  • Keep warnings readable.
  • Do not use warnings as a substitute for missing fields.

What clients can rely on

  • Order stays deterministic.
  • Structure stays explicit.
  • attributes holds family-specific details.
  • Optional fields may be omitted when they do not apply.
  • The public contract does not expose internal transport or worker details.

Example

Last modified on April 28, 2026