Sdk
Connect SDK (advanced)
Full IntegrationsClient — triggers, credentials, OAuth apps, CRUD, and platform helpers.
Connect SDK (advanced)
You probably don't need this page. Most integrator UIs only need Connect SDK — connectFromSession() with list, link, completeLink, status, tools, and unlink.
The advanced surface is IntegrationsClient on @auvy-os/connect-client/advanced (or connect.advanced from the public client).
Import
import {
createAUVYConnectClient,
resolveConnectPublicUrlFromEnv,
} from '@auvy-os/connect-client/advanced'
const { integrations } = createAUVYConnectClient({
baseUrl: resolveConnectPublicUrlFromEnv(),
publishableKey: process.env.AUVY_PUBLISHABLE_KEY!,
getAccessToken: () => session.access_token,
})
await integrations.listScheduledTriggers(integrationId)Method groups
CRUD
| Method | Route |
|---|---|
list | GET /v1/integrations |
get | GET /v1/integrations/:id |
create | POST /v1/integrations |
update | PUT /v1/integrations/:id |
delete | DELETE /v1/integrations/:id |
Tools
| Method | Purpose |
|---|---|
getTools | Tools for one integration |
getAllTools | Aggregate tools across integrations |
listTools | Browse tools catalog |
searchTools | Search tools by query |
refreshTools | Enqueue tool refresh |
getConnectConnectors | Bundled connector ids |
OAuth and connections
| Method | Purpose |
|---|---|
connect | Start OAuth (maps to public link()) |
completeConnect | OAuth callback (maps to public completeLink()) |
disconnect | Disconnect (maps to public unlink()) |
getConnectionStatus | Status (maps to public status()) |
listAccounts | Connected accounts |
selectAccount | Select active account |
connectMicrosoftPlatformMulti | Single OAuth for multiple Microsoft rows |
getMicrosoftDelegatedAdminConsentUrl | Tenant admin consent URL |
getAuthConfigDetails | Composio auth config details |
Triggers
| Method | Purpose |
|---|---|
getTriggers | Trigger definitions for integration |
createScheduledTrigger | Cron-style scheduled trigger |
listScheduledTriggers | List scheduled triggers |
resetScheduledTrigger | Reset trigger cursor |
deleteScheduledTrigger | Delete scheduled trigger |
enableTriggerSubscription | Enable Composio/bundled subscription |
disableTriggerSubscription | Disable subscription |
renewTriggerSubscription | Renew expiring subscription |
listTriggerTypes | Browse Composio trigger types |
getTriggerTypeBySlug | Get trigger type by slug |
upsertTriggerInstance | Create/update trigger instance |
Platform
| Method | Purpose |
|---|---|
getConnectIntegrationSummary | Lightweight summary |
getConnectIntegrationSummariesBatch | Batch summaries |
previewOpenApi | Preview OpenAPI-derived integration |
Credentials (nested)
Access via integrations.credentials.*:
list,create,update,delete
OAuth apps (nested)
Access via integrations.oauthApps.*:
list,create,update,enable,disable,rotateSecret
Server execute
Workers and API services run tools with the server subpath (internal secret, not browser JWT):
import { connectRunTool } from '@auvy-os/connect-client/server'
await connectRunTool({
workspaceId,
userId,
integrationId,
toolName: 'slack_post_message',
toolConfig: { channel: 'C123', text: 'Hello' },
resultFormat: 'json',
})connectRunTool calls the same server endpoint as connectExecute. Configure Connect URL and server credentials per your deployment (see @auvy-os/connect-client/server package docs).
Related
- Connect SDK — public three-flow quickstart
- SDK introduction — when to use browser vs server vs advanced