The JavaScript SDK package isDocumentation Index
Fetch the complete documentation index at: https://docs.vectoraidb.actian.com/llms.txt
Use this file to discover all available pages before exploring further.
@actian/vectorai-client. It exports a TypeScript-first VectorAIClient.
Client
| Option | Purpose |
|---|---|
tls, tlsCaCert, tlsClientCert, tlsClientKey | Enable TLS or mutual TLS. |
accessToken, tokenProvider | Add static or dynamic Bearer authentication. |
restUrl | REST base URL for auth/admin operations. |
timeout, maxRetries, retryConfig | Control deadlines and retry behavior. |
metadata, grpcOptions | Add static metadata or gRPC channel options. |
poolSize | Use multiple gRPC channels. |
enableTracing, enableLogging, logger | Add request metadata and logging. |
circuitBreaker, backpressure | Integrate resilience helpers. |
Namespaces
| Namespace | Purpose |
|---|---|
client.collections | Create, list, inspect, update, delete, recreate, and get-or-create collections. |
client.points | Upsert, retrieve, delete, update vectors and payloads, search, query, count, and scroll points. |
client.vde | Open and close collections, inspect state and stats, rebuild indexes, optimize, compact, flush, and import datasets. |
client.auth | Login, create, list, rotate, and delete API keys through REST-backed admin operations. |
Collections and points
Filters
UseField, Filter, and FilterBuilder to build typed payload filters.
Auth
Use static tokens, token providers, or the REST-backed auth manager.Hybrid search, batching, and resilience
The SDK exports reciprocal rank fusion, distribution-based score fusion, smart batching, circuit breaker, backpressure, retry, TLS, and typed error utilities.client.uploadPoints(...) for simple bulk upload or SmartBatcher when you need configurable auto-flushing.