Manage vector stores and search attached files through the Allternit LLM gateway
Not served on api.allternit.com. This page describes the gateway contract only.
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
https://api.allternit.com/v1
For local development:
http://127.0.0.1:8013/v1
Endpoints
Method
Path
Description
POST
/v1/vector_stores
Create a vector store
GET
/v1/vector_stores
List vector stores
GET
/v1/vector_stores/:id
Retrieve a vector store
DELETE
/v1/vector_stores/:id
Delete a vector store
POST
/v1/vector_stores/:id/files
Attach a file to a store
GET
/v1/vector_stores/:id/files
List files in a store
DELETE
/v1/vector_stores/:id/files/:file_id
Detach a file
POST
/v1/vector_stores/:id/search
Search a vector store
Authentication
All requests require a virtual key in the Authorization header. See Authentication.