Skip to main content

API Overview

VortexDB provides two complementary APIs for different use cases:

Available APIs

gRPC API

High-performance Protocol Buffer interface for production workloads

HTTP API

RESTful JSON interface for quick testing and prototyping

Comparison

Authentication

gRPC

The gRPC API requires authentication via the authorization header:

HTTP

The HTTP API does not require authentication by default. It’s designed for trusted internal networks and development.
In production, always deploy the HTTP API behind a reverse proxy with authentication, or disable it entirely using DISABLE_HTTP=true.

Common Operations

Both APIs support the same core operations:

Error Handling

gRPC Error Codes

HTTP Status Codes

Data Types

Vector

A dense vector of floating-point values:

Payload

Metadata attached to vectors:

Similarity Metric

Distance function for search:

Rate Limiting

VortexDB does not implement built-in rate limiting. For production deployments, use a reverse proxy or API gateway to enforce limits.

Next Steps

gRPC Reference

Complete gRPC API documentation

HTTP Reference

Complete HTTP API documentation