HTTP API Reference
VortexDB’s HTTP API provides a RESTful interface for vector operations using JSON over HTTP/1.1.Base URL
HTTP_PORT environment variable. The server binds to 127.0.0.1 by default.
Endpoints
Health Check
Check if the server is running.string
Returns “OK” if the server is healthy.
Root
Verify the server is running.Insert Point
array
required
Array of floating-point numbers representing the vector. Must match the configured
DIMENSION.object
required
Metadata object associated with the vector.
string
UUID of the created point.
Batch Insert
Insert multiple vectors in a single request.array
required
Array of insert objects, each with
vector and payload fields (same shape as single insert).array
Array of UUIDs for each created point, in the same order as the input.
Get Point
Retrieve a point by its ID.string
required
UUID of the point to retrieve.
string
The point’s UUID.
array
The stored vector values.
object
The associated payload metadata.
Delete Point
Delete a point by its ID.string
required
UUID of the point to delete.
Search Points
Search for the k nearest neighbors to a query vector.array
required
Query vector. Must match the configured
DIMENSION.string
required
Distance metric:
"Euclidean", "Manhattan", "Hamming", or "Cosine"integer
required
Maximum number of results to return.
array
Array of point IDs ordered by similarity (closest first).
Batch Search
Search against multiple query vectors in a single request.array
required
Array of search query objects, each with
vector, similarity, and limit.array
Array of result arrays, one per input query, each ordered by similarity.
Error Format
Errors are returned as plain text with an appropriate HTTP status code:Examples
Complete Workflow
OpenAPI Specification
The complete OpenAPI specification is available at:Next Steps
gRPC API
High-performance gRPC API reference
Python SDK
Python client documentation