A whole document read as blocks: its id, its version for If-Match, the block model schema number, the derived plain text, and the top-level blocks.
version
If-Match
schema
text
blocks
const document: DocumentBlocks = await lk.documents.getBlocks({ resourceId, documentId }) Copy
const document: DocumentBlocks = await lk.documents.getBlocks({ resourceId, documentId })
A whole document read as blocks: its id, its
versionforIf-Match, the block modelschemanumber, the derived plaintext, and the top-levelblocks.