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.
Connect SDK
@auvy-synapse/connect-client is the typed HTTP SDK for Connect — OAuth integrations, tools, and credentials on a separate service from the Synapse API. Synapse routes under /v1/integrations return 410; call Connect directly.
This page covers the public browser API only (~7 methods). Triggers, credentials, OAuth apps, and admin CRUD live on Connect advanced.
Install
@auvy-synapse/client supplies transport and auth headers. For workers running tools server-side, see connectRunTool on SDK surfaces (@auvy-synapse/connect-client/server).
Flow 1 — Browse
Story: Show available integrations in a catalog picker.| Method | Purpose |
|---|---|
connectFromSession() | Factory — publishable key + JWT (see auth note below) |
list() | Workspace integration catalog |
get(id) | One integration row |
Auth: Browser Connect calls need a publishable key (
NUXT_PUBLIC_AUVY_PUBLISHABLE_KEY or publishableKey) and getAccessToken returning the signed-in user JWT. Connect base URL comes from AUVY_CONNECT_URL / NUXT_PUBLIC_AUVY_CONNECT_URL or baseUrl.Flow 2 — Link
Story: Connect Slack (or another provider) for the current user.| Method | Purpose |
|---|---|
link(id, { callbackUrl? }) | Start OAuth — returns redirectUrl + connectionRequestId |
completeLink(id, { connectionRequestId, query? }) | Finish OAuth after callback |
connectionRequestId from link() until the user returns; pass it to completeLink() with provider query params.
Flow 3 — Use
Story: Check connection status and list tools before invoking from an agent.| Method | Purpose |
|---|---|
status(id) | Is this integration connected for the current user? |
tools(id) | Tools exposed by the integration |
unlink(id) | Disconnect the current user |
Advanced surface
Need triggers, credentials, Microsoft multi-connect, or integration CRUD? Useconnect.advanced (full IntegrationsClient) or import from @auvy-synapse/connect-client/advanced. See Connect advanced.
Errors
Related
- SDK surfaces — package map (Synapse vs Connect vs server)
- Choose a package — credentials and workflow picker
- Integrate the API — Synapse API key onboarding