Skip to main content
TypeScript SDK

Documentation

TypeScript SDK

Official client for the Auva REST API.

TypeScript SDK

npm install @auvadev/sdk

Client

import { AuvaClient } from "@auvadev/sdk";

const client = new AuvaClient({
  apiKey: process.env.AUVA_API_KEY,
  baseUrl: "https://auva.dev",
});

await client.auth.me();
await client.notes.list("search query");
await client.go.createLink({ destination: "https://example.com" });
await client.workspaces.list();

Error handling

The SDK throws on non-2xx responses with the API error message.

OpenAPI

Types can be regenerated from openapi/auva.openapi.yaml using openapi-typescript.