Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
The file to ingest. Exactly one of file, raw_text, or chunks must be provided.
Raw text content to ingest. Exactly one of file, raw_text, or chunks must be provided.
Pre-processed text chunks to ingest. Exactly one of file, raw_text, or chunks must be provided.
The ID of the document. If not provided, a new ID will be generated.
Collection IDs to associate with the document. If none are provided, the document will be assigned to the user's default collection.
Metadata to associate with the document, such as title, description, or custom fields.
Ingestion modes: hi-res: Thorough ingestion with full summaries and enrichment. ocr: OCR via Mistral and full summaries. fast: Quick ingestion with minimal enrichment and no summaries. custom: Full control via ingestion_config. If filters or limit (in ingestion_config) are provided alongside hi-res or fast, they will override the default settings for that mode.
hi-res
, ocr
, fast
, custom
An optional dictionary to override the default chunking configuration for the ingestion process. If not provided, the system will use the default server-side chunking configuration.
Whether or not ingestion runs with orchestration, default is True. When set to False, the ingestion process will run synchronous and directly return the result.
Response
200