Body
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"
Raw input data to be processed and ingested into the system. Can be a file (base64), URI, or plain text Input for base64 encoded files.
- FileArtifact
- UriArtifact
- TextArtifact
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"
}{
"file_name": "manual_section.txt",
"last_updated": "2024-01-15",
"version": "2.1"
}Response
Content successfully ingested and processed
Response model for successful document ingestion operations.
Response object type, always 'list' for ingestion responses
"list"Model identifier, always 'private-gpt'
"private-gpt"List of ingested documents with their metadata and processing information