Add Document

Add a new document to Skribble.

skribble.document.add(document_data: DocumentRequest) -> DocumentResponse
request
Request Object
response
Response Object

Get Document

Retrieve document metadata by ID.

skribble.document.get(document_id: str) -> DocumentResponse
response
Response Object

Download Document

Download document content by ID.

skribble.document.download(document_id: str, content_type: str = "blob") -> Union[bytes, str]

Preview Document

Get a preview image of a document page.

skribble.document.preview(document_id: str, page_id: int, scale: int = 20, max_retries: int = 10, retry_delay: int = 2) -> bytes

List Documents

List all documents with optional pagination.

skribble.document.list(limit: int = None) -> List[DocumentResponse]
response
Response Object

Delete Document

Delete a document by ID.

skribble.document.delete(document_id: str) -> None