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

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

# Create request body
body = TransformDocumentRequest(name="Example")

result = client.documents.submit_transform(body=body)
print(result)
{
  "execution_id": "<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

application/json
file
string
required

File path, URL, or GCS URI to transform

artifact_schema
required

Schema name/ID or inline JSON Schema

model
string | null

LLM model override

prompt
string | null

Extraction instructions override

prompt_id
string | null

Prompt template reference

timeout_seconds
integer | null
default:600

Max wait time in seconds (sync only)

Response

Successful Response

execution_id
string
required

Poll via client.sessions.get(execution_id)