Skip to main content

Single file

Use client.process() — the top-level shortcut for uploading and queuing a single document:
The returned Job object can be awaited with job.wait().

Multiple files

Each file gets its own Job. processMany processes them sequentially.

With options


From a connector (S3 / GCS / Azure)

If you have a connector configured, process files directly from cloud storage:
See Connectors for setup.

Polling manually

If you need fine-grained control over polling:
Or use job.wait() — it handles this automatically with configurable timeout and poll interval.