Ingestion

Ingest Text

Ingest a text document.

Args: request: IngestTextRequest payload containing: • content – raw text to ingest. • filename – optional filename to help detect MIME-type. • metadata – optional JSON metadata dict. • folder_name – optional folder scope. • end_user_id – optional end-user scope. auth: Decoded JWT context (injected).

Returns: Document metadata row representing the newly-ingested text.

post/ingest/text

Headers

authorizationstring

Request body

contentstring required
filenamestring nullable
metadataobject
use_colpaliboolean nullable
folder_namestring nullable

Optional folder scope for the operation

end_user_idstring nullable

Optional end-user scope for the operation

Response

Successful Response

external_idstring
content_typestring required
filenamestring nullable
metadataobject
storage_infoobject
system_metadataobject
additional_metadataobject
chunk_idsstring[]
folder_namestring nullable
end_user_idstring nullable
app_idstring nullable

Changes