The VectorAI DB REST API provides a complete HTTP-based interface for managing collections, inserting and querying vectors, and performing advanced operations. All endpoints accept and return JSON, making it compatible with any programming language or HTTP client.Documentation Index
Fetch the complete documentation index at: https://docs.vectoraidb.actian.com/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
Authentication
Authentication is not required for local development. For production deployments, see the Access Tokens section for details on API keys and tokens.API endpoints overview
The REST API is organized into the following categories:Collections
Create, update, delete, and list vector collections.
Points
Insert, update, retrieve, and delete vector points.
Search
Perform vector similarity searches with filters and pagination.
Filters
Filter search results based on payload conditions.
Error codes
Error codes and exception types returned by the REST API.
Admin User
Create, reset password, and manage the admin user.
Access Tokens
Create, list, rotate, and delete access tokens.
Request format
All API requests should include theContent-Type: application/json header. Request bodies should be valid JSON.
The following example inserts a point into a collection.
Response format
All API responses return JSON with a consistent structure that includes the operation status and timing.Success response
A successful response includes the operation status, timing, and result data.Error response
An error response includes a message describing the issue.Status codes
The REST API uses standard HTTP status codes to indicate the outcome of each request.200 OK- Request succeeded.400 Bad Request- Invalid request parameters.404 Not Found- Collection or resource not found.409 Conflict- Resource already exists.500 Internal Server Error- Server error.
Python SDK
For a more ergonomic development experience with type safety and automatic connection management, consider using the Python SDK. The SDK communicates over gRPC (port 6574) and provides the same operations available through the REST API.Next steps
- Explore Collections API to get started.
- Learn about points operations for data management.
- Try vector search to query your data.
- Check error codes for troubleshooting.