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

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));