Documentation Index
Fetch the complete documentation index at: https://docs.auvy.ai/llms.txt
Use this file to discover all available pages before exploring further.
TypeScript SDK
@auvy-synapse/client is the official public SDK for AUVY. It maps cleanly onto the unified resource spine: use auvy.resources for browse, search, resource trees, and catalog symmetry; use auvy.resourceStore for assets and artifacts; use auvy.receptors, auvy.neurons, auvy.pathways, and auvy.jobs for gateways and execution. See SDK resources for the full namespace map.
Default integration is one workspace API key: fromApiKey() bootstraps workspace id/slug from the API. Advanced options cover manual config and browser (publishable key + JWT).
Install
Authentication (API key first)
| Mode | Best for | Setup |
|---|---|---|
fromApiKey() | Servers, scripts, agents | Recommended. Pass the key string, or call with no args when AUVY_API_KEY is set. Same bootstrap as createAUVYClient.fromApiKey(key). |
fromApiKey({ baseUrl, ... }) | Env + overrides | Merges AUVY_API_KEY / AUVY_API_URL with optional fields. |
createAUVYClient({ apiKey, ... }) | Advanced server config | Manual baseUrl / workspaceSlug without bootstrap. |
createAUVYClient({ publishableKey, getAccessToken }) | Browser apps | Publishable key plus user JWT. |
createAUVYClient.fromEnv() | Sync env read (no bootstrap) | Does not call the API for workspace context; prefer fromApiKey() for API keys. |
fromApiKey validates the key and calls GET /v1/session/context so workspace_id and workspace_slug are set automatically.Server quick start
Browser quick start
Environment variables
The SDK supports these environment variables:AUVY_API_KEYfor backend API-key authAUVY_API_URLorNEXT_PUBLIC_AUVY_API_URLfor self-hosted or local API URLsAUVY_WORKSPACE_SLUGorNEXT_PUBLIC_AUVY_WORKSPACE_SLUGfor default workspace scopeAUVY_PUBLISHABLE_KEYorNEXT_PUBLIC_AUVY_PUBLISHABLE_KEYfor browser authAUVY_API_VERSIONfor explicit API version overridesAUVY_TIMEOUT_MSfor request timeouts
Core capabilities
resources(browse, search, trees, catalog symmetry) plus typed clients for receptors, jobs,resourceStore(assets and artifacts), traces, neurons, reflexes, recollections, usage, activity, and more- Streaming —
createStream(auvy, jobId)(facade-aware),receptors.createStream(jobId),streamJobTokens, share-token options - Built-in retry and rate-limit handling
- Async pagination utilities and
listAll()helpers - Interceptors —
auvy.interceptors.add(...)on the client fromfromApiKey()/createAUVYClient()(shared request pipeline) - Public share-token helpers for public receptor and trace flows
Out of scope for this docs set
JWT-only workspace integration-management routes are intentionally outside this API-key-focused reference set. The public SDK docs here cover the surfaces you can drive directly with an API key, publishable key, or share token.Next steps
- SDK resources for the full namespace map
- Resources API — spine operations and vault trees
- Integrate the API for end-to-end onboarding
- Integration patterns for streaming, pagination, and errors