RAG

Update a collection

put/v1/rag/collections/{collectionId}

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/rag/collections/{collectionId}
  • Auth: HTTP bearer

Request body

namestring
folderPathstring

A new folder to index, refused by the same rules as on create.

embeddingModelStemstring
chunkSizeinteger
chunkOverlapinteger

Response

Updated collection

idstring required
namestring required
folderPathstring required
embeddingModelStemstring required
chunkSizeinteger required
chunkOverlapinteger required
status'empty' | 'indexed' | 'stale' | 'error' required
lastIndexedAtstring date-time nullable
documentCountinteger required
chunkCountinteger required
dimensionsinteger required
errorMessagestring nullable
projectIdstring

The project whose knowledge this collection is; it indexes that project's materials and is changed through the project. Absent for a collection a person made.

Changes

No recorded changes to this operation across all 1 revision of this API.