Skip to main content

HTTP API Reference

VortexDB’s HTTP API provides a RESTful interface for vector operations using JSON over HTTP/1.1.

Base URL

The port can be configured via the HTTP_PORT environment variable. The server binds to 127.0.0.1 by default.
The HTTP API has no authentication. Always deploy behind a reverse proxy or disable it with DISABLE_HTTP=true in production.

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.
Error Responses:

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.
Error Responses:

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.
Error Responses:

Delete Point

Delete a point by its ID.
string
required
UUID of the point to delete.
Error Responses:

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).
Error Responses:
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 Responses:

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:
You can import this into tools like Postman or Swagger UI for interactive API exploration.

Next Steps

gRPC API

High-performance gRPC API reference

Python SDK

Python client documentation