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.

fix(docs): remove operationId redirects that break API pages

Sushmithamallesh90267c7c7dcc
diff --git a/docs/next.config.mjs b/docs/next.config.mjs
index e66f5e759..908f6d72c 100644
--- a/docs/next.config.mjs
+++ b/docs/next.config.mjs
@@ -491,49 +491,6 @@ const config = {
destination: '/docs/providers/custom-providers/typescript',
permanent: true,
},
- // Old Fern API reference operation IDs (from Datadog 404 monitoring)
- // Use :operationId (single segment) to redirect operation pages to section index
- // e.g. /reference/api-reference/tool-router/postToolRouterSession → /reference/api-reference/tool-router
- {
- source: '/reference/api-reference/tool-router/:operationId',
- destination: '/reference/api-reference/tool-router',
- permanent: true,
- },
- {
- source: '/reference/api-reference/triggers/:operationId',
- destination: '/reference/api-reference/triggers',
- permanent: true,
- },
- {
- source: '/reference/api-reference/authentication/:operationId',
- destination: '/reference/api-reference/authentication',
- permanent: true,
- },
- {
- source: '/reference/api-reference/mcp/:operationId',
- destination: '/reference/api-reference/mcp',
- permanent: true,
- },
- {
- source: '/reference/api-reference/tools/:operationId',
- destination: '/reference/api-reference/tools',
- permanent: true,
- },
- {
- source: '/reference/api-reference/toolkits/:operationId',
- destination: '/reference/api-reference/toolkits',
- permanent: true,
- },
- {
- source: '/reference/api-reference/connected-accounts/:operationId',
- destination: '/reference/api-reference/connected-accounts',
- permanent: true,
- },
- {
- source: '/reference/api-reference/auth-configs/:operationId',
- destination: '/reference/api-reference/auth-configs',
- permanent: true,
- },
// Old Fern v-3 paths (different hyphenation)
{
source: '/reference/v-3/:path*',