Skip to navigation

Ingesting Directories

Use ingest_directory in the Python SDK to upload a folder of local documents.

Supported Document Types and Ingest Capacities

ingest_directory

bucket_id
integerRequired

The ID of the destination bucket.

path
stringRequired

The local directory to upload.

batch_size
integer

Files per ingest request. Default is 10. Paid subscriptions allow 1 to 50; free trials allow 1 to 25.

upload_api
string

An endpoint that generates pre-signed requests for file uploads. Default is the EyeLevel.ai upload API.

Protected directory uploads

Use an SDK version that preserves each file’s initial fileAccess policy through batching and splitting. It must use private upload before sending protected files. Older helpers that upload only through the public service cannot protect these uploads. See File Access and Sharing. The examples above remain valid for public content.