RAG

Upload a document to a collection

Upload text content or URL to be chunked and embedded

post/api/rag/{project_id}/documents

Request

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

Path parameters

project_idstring required

Request body

collection_idstring
collection_namestring
filenamestring required
contentstring

Text content to embed

urlstring

URL to fetch and embed

metadataobject

Response

Document created (processing async)

Changes

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