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.

401 B
Raw Blame
// Selftest fixture: makes one unauthenticated request against the backend so
// the fetch shim must record a non-2xx composio line in COMPOSIO_TRACE_FILE.
const base = process.env.COMPOSIO_BASE_URL ?? 'https://staging-backend.composio.dev';
const res = await fetch(`${base}/api/v3/toolkits`, {
  headers: { 'x-api-key': 'selftest-invalid-key' },
});
console.log(`trace-check: status ${res.status}`);