Single file
Useclient.jobs.upload() — the standard entry point for uploading and queuing a single document:
Job object can be awaited with job.wait_until_done().
Multiple files
Job. Files are processed sequentially.
With options
From bytes
From a connector (S3 / GCS / Azure)
If you have a connector configured, process files directly from cloud storage:Polling manually
If you need fine-grained control over polling:job.wait_until_done() — it handles this automatically with configurable timeout and poll interval.