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 theauthorization header:
HTTP
The HTTP API does not require authentication by default. Itβs designed for trusted internal networks and development.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:- gRPC (Protobuf)
- HTTP (JSON)
Payload
Metadata attached to vectors:- gRPC (Protobuf)
- HTTP (JSON)
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