Batch Ingest Files
Batch ingest multiple files (async).
Each file is treated the same as :func:ingest_file
but sharing the same
request avoids many round-trips. All heavy work is still delegated to the
background worker pool.
Args: files: List of files to upload. metadata: Either a single JSON-string dict or list of dicts matching the number of files. rules: Either a single rules list or list-of-lists per file. use_colpali: Enable multi-vector embeddings. folder_name: Optional folder scoping for all files. end_user_id: Optional end-user scoping for all files. auth: Caller context with write permission. redis: arq redis connection to enqueue jobs.
Returns: BatchIngestResponse summarising created documents & errors.
Headers
Body
Response
Successful Response
Response model for batch ingestion