Skip to main content
The JavaScript SDK package is @actian/vectorai-client. It exports a TypeScript-first VectorAIClient.

Client

Namespaces

Collections and points

Filters

Use Field, 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.
Use client.uploadPoints(...) for simple bulk upload or SmartBatcher when you need configurable auto-flushing.

Errors

Failures are exposed through typed errors such as authentication, validation, collection, point, dimension, timeout, server, and resilience errors. Catch the most specific error type your workflow can recover from.