@devries-cameron20 / composio Mirror · read-only
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 04:45 UTC

next
ts 12 lines 375 Bytes
Raw
1 import { Composio } from '@composio/core';
2
3 const composio = new Composio();
4
5 const authConfigId = process.env.COMPOSIO_EXAMPLES_GMAIL_AUTH_CONFIG_ID; // your auth config ID
6 if (!authConfigId) {
7 throw new Error('Set COMPOSIO_EXAMPLES_GMAIL_AUTH_CONFIG_ID');
8 }
9
10 const response = await composio.authConfigs.get(authConfigId);
11
12 console.log(JSON.stringify(response, null, 2));