Ingest Content
Unified endpoint to ingest files, text, URIs, or already processed content
Request
This endpoint expects an object.
artifact
Unique identifier for the text being ingested within the collection
input
Raw input data to be processed and ingested into the system. Can be a file (base64), URI, or plain text
collection
Collection name to group related documents for better organization and filtering
metadata
Optional metadata dictionary containing additional document information. If provided, must include ‘file_name’ with a valid file extension
Response
This endpoint returns an object.
data
List of ingested documents with their metadata and processing information
object
Response object type, always 'list' for ingestion responses
model
Model identifier, always ‘private-gpt’
Errors
401
Unauthorized
422
Unprocessable Entity

