Skip to main content

Read Documents

get_document()

Retrieve a document and its blocks by ID.
Parameters:
ParameterTypeRequiredDescription
document_idstrYesThe document ID to retrieve
Returns: Document Raises: DocumentNotFoundError if the document doesn’t exist.

Document

Block

Each document contains a list of Block objects: