Skip to main content
POST
/
documents
Python
from meibel import MeibelClient

client = MeibelClient(api_key="your-api-key")

# Upload a file
with open("document.pdf", "rb") as f:
    result = client.documents.parse(file=f, filename="document.pdf")
    print(result)
{
  "job_id": "<string>",
  "status": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.meibel.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Meibel-API-Key
string
header
required

Body

multipart/form-data
file
file
required

The document file to parse

Response

Successful Response

Returned from POST /documents (async).

job_id
string
required
status
string
required

Job status, e.g. 'queued'