Skip to content

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

375 B
Raw Blame
import { Composio } from '@composio/core';

const composio = new Composio();

const authConfigId = process.env.COMPOSIO_EXAMPLES_GMAIL_AUTH_CONFIG_ID; // your auth config ID
if (!authConfigId) {
  throw new Error('Set COMPOSIO_EXAMPLES_GMAIL_AUTH_CONFIG_ID');
}

const response = await composio.authConfigs.get(authConfigId);

console.log(JSON.stringify(response, null, 2));