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. • rules – optional list of extraction / NL rules. • 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
Headers
Body
application/json
Request model for ingesting text content
Response
200
application/json
Successful Response
Represents a document stored in the database documents collection