Contents

Read paragraph and run-level formatting for a document

Returns each paragraph's style/alignment/list plus its runs (text span with bold, italic, underline, strike, font, size, color, highlight). Read-only. Use before format_text_range edits or to confirm a replacement preserved or cleared run styling.

GET /documents/{documentId}/paragraph-style

Path parameters

  • documentId string Required

Headers

  • Authorization string Required

    Bearer <session token>: the signed-in user’s Scaffold session token.

  • x-org-id string Required

Query parameters

  • block_index integer

    Optional 0-based paragraph index to inspect a single paragraph.