RAG

Create a new RAG collection

Creates a vector collection for storing document embeddings

post/api/rag/{project_id}/collections

Request

  • Base URL
    https://core.blink.new
  • URL
    https://core.blink.new/api/rag/{project_id}/collections
  • Auth
    HTTP bearer

Path parameters

project_idstring required

Request body

namestring required

Collection name (alphanumeric, underscores, hyphens)

descriptionstring
embedding_modelstring
embedding_dimensionsinteger
index_metric'cosine' | 'l2'
chunk_max_tokensinteger
chunk_overlap_tokensinteger
sharedboolean

Response

Collection created

Changes

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