Unified endpoint to ingest files, text, URIs, or already processed content
JSON request body supporting multiple input types
Request body for ingesting content into the system for AI context.
Unique identifier for the text being ingested within the collection
1 - 255"user_manual_chapter_1"
"policy_document_2024"
Input for base64 encoded files.
Collection name to group related documents for better organization and filtering
1 - 255"corporate_docs"
"user_manuals"
"financial_reports"
Optional metadata dictionary containing additional document information. If provided, must include 'file_name' with a valid file extension
{
"author": "John Doe",
"department": "HR",
"file_name": "company_policy.txt"
}
Content successfully ingested and processed
Response model for successful document ingestion operations.