from meibel import MeibelClientclient = MeibelClient(api_key="your-api-key")# Upload a filewith open("document.pdf", "rb") as f: result = client.documents.parse(file=f, filename="document.pdf") print(result)
{ "job_id": "<string>", "status": "<string>"}
Documents
Parse a document (async)
Upload a document for asynchronous parsing. Returns a job ID to track progress.
POST
/
documents
Python
from meibel import MeibelClientclient = MeibelClient(api_key="your-api-key")# Upload a filewith open("document.pdf", "rb") as f: result = client.documents.parse(file=f, filename="document.pdf") print(result)