Upload text for retrieval
Changed onIngests plain text for managed semantic retrieval. The text is chunked, embedded, and indexed asynchronously; the entry appears in GET /retrieval/entries once indexing finishes.
Required permission: retrieval.manage.
Request
- Base URLhttps://api.connic.co
- AuthHTTP bearer
Path parameters
ID of the project the API key belongs to.
Query parameters
Environment ID from GET /environments.
Request body
Text to index, up to 10,000,000 characters. Upload longer documents as a file or split them into several entries.
Dot-separated namespace such as docs.api, up to 10 levels. Omit for the default namespace.
Entry identifier. Uploading again with the same ID and namespace replaces the entry. Defaults to a generated UUID.
JSON object stored with every chunk of the entry, up to 64 KB.
Response
Successful Response
ID of the ingestion job that chunks and indexes the content.
Job status at submission, pending.
Entry the content is stored under. Generated when not supplied.
Changes
- warning
removed the request property
chunk_overlap - warning
removed the request property
chunk_size
- warning