Skip to main content

gRPC API Reference

VortexDB’s gRPC API provides high-performance vector operations using Protocol Buffers over HTTP/2.

Connection

Authentication

All gRPC calls require the authorization header with your API key:
The API key is set via the GRPC_ROOT_PASSWORD environment variable.

Service Definition


Methods

InsertVector

Insert a vector with its associated payload.
DenseVector
required
The vector to insert. Must match the configured DIMENSION.
Payload
required
Metadata associated with the vector.
Request:
Response:
Example:
Response:

GetPoint

Retrieve a point by its ID.
UUID
required
The unique identifier of the point.
Request:
Response:
Example:
Response:

DeletePoint

Delete a point by its ID.
UUID
required
The unique identifier of the point to delete.
Request:
Response:
Example:
Response:

SearchPoints

Search for the k nearest neighbors to a query vector.
DenseVector
required
The vector to search with. Must match the configured DIMENSION.
Similarity
required
The distance metric to use.
uint64
required
Maximum number of results to return.
uint64
Search breadth for HNSW. Larger values trade speed for accuracy. Defaults to the server’s HNSW_EF setting.
Request:
Response:
Example:
Response:

InsertVectorsBatch

Insert multiple vectors in a single request. Request:
Response:
Example:

SearchPointsBatch

Search against multiple query vectors in a single request. Request:
Response:
Example:

Message Types

UUID

DenseVector

Point

PointID

Payload


Enums

Similarity

Distance/similarity metric for search operations.

ContentType

Type of payload content.

Error Codes


Client Libraries

Python

Generate Clients

Use protoc to generate clients in any language:

Next Steps

HTTP API

REST API reference

Python SDK

Python client documentation