Overview

Status: Implementation IMPLEMENTED for store and file records (stored in the gateway database; a store or attached file is completed immediately, with no indexing step), and DESIGN - NOT YET IMPLEMENTED for search. POST /v1/vector_stores/:id/search validates the request and always returns an empty result list, because no embedding or similarity search is wired in yet. Exposure INTERNAL. The Vector Store API lets you create collections of files for retrieval-augmented generation (RAG). Files uploaded via /v1/files can be attached to a vector store, and the store can be searched semantically to retrieve relevant passages.

Base URL

For local development:

Endpoints

Authentication

All requests require a virtual key in the Authorization header. See Authentication.

Create a vector store

Request body

Example request

Example response

List vector stores

Attach a file

Example response

List attached files

Search a vector store

Request body

Example request

Response

The response is always an empty list today:

Delete a vector store

Error codes