:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(mcp): refresh the app-url manifest and gate it in CI (#87085)
Georgiy Tarasov81d2acac00d1
diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.ymlindex 11aa4f7004ff..d26f8da7f279 100644--- a/.github/workflows/ci-frontend.yml+++ b/.github/workflows/ci-frontend.yml@@ -705,6 +705,13 @@ jobs:env:NODE_OPTIONS: --max-old-space-size=8192+ # The manifest is generated from `urls` (scenes/urls.ts + every product+ # manifest) and is what the MCP's generate-app-url tool resolves entity+ # links from. Nothing else reads it, so drift is invisible until an agent+ # hands a user a 404 — this check is the only thing tying it to its source.+ - name: Check if app-url-manifest.json is up to date+ run: pnpm --filter=@posthog/frontend build:app-urls:check+- name: Validate SetupTaskId completionsrun: node bin/validate-setup-tasks.mjsdiff --git a/frontend/bin/build-app-url-manifest.mjs b/frontend/bin/build-app-url-manifest.mjsindex c3bc00dbf1ff..72f3c58612e0 100644--- a/frontend/bin/build-app-url-manifest.mjs+++ b/frontend/bin/build-app-url-manifest.mjs@@ -29,7 +29,7 @@ const PRODUCTS_DIR = path.join(REPO, 'products')const OUT_FILE = path.join(REPO, 'services/mcp/src/tools/links/app-url-manifest.json')// First path segments that never get a `/project/:id` prefix. Mirrors `pathsWithoutProjectId` in-// frontend/src/lib/utils/router-utils.ts — keep in sync there.+// frontend/src/lib/utils/kea-router.ts — keep in sync there.const PATHS_WITHOUT_PROJECT_ID = new Set(['api','me',@@ -47,10 +47,20 @@ const PATHS_WITHOUT_PROJECT_ID = new Set(['cli','render_query',])-const isProjectScoped = (template) => !PATHS_WITHOUT_PROJECT_ID.has(template.split('/')[1] ?? '')+// Instance-level pages living under a product's own prefix, so a first-segment check misses them.+// Mirrors `exactPathsWithoutProjectId` in the same file, including its nested-path rule — that is+// what keeps the cohorts staff tools at /feature_flags/staff/cohorts out of the project prefix.+const EXACT_PATHS_WITHOUT_PROJECT_ID = ['/feature_flags/staff', '/experiments/staff']+const isProjectScoped = (template) =>+ !EXACT_PATHS_WITHOUT_PROJECT_ID.some((exact) => template === exact || template.startsWith(`${exact}/`)) &&+ !PATHS_WITHOUT_PROJECT_ID.has(template.split('/')[1] ?? '')// `urls` helpers that build prefixes/origins rather than linkable destinations.const EXCLUDED_HELPERS = new Set(['absolute', 'default', 'project', 'currentProject', 'newTab'])+// Builders whose required arguments all live in the query string, which the probe drops. Most+// base-only entries are still fine (`/surveys` without its `tab` is a real page), but these resolve+// to a scene that renders its missing-parameter error, so an entry would be a confident dead link.+const EXCLUDED_BUILDERS = new Set(['tracingOperation'])const sentinel = (name) => `:${name}`@@ -262,10 +272,16 @@ function replaceSentinels(pathOnly, paramNames) {let template = pathOnlyconst found = new Set()for (const name of [...paramNames].sort((a, b) => b.length - a.length)) {- const encoded = encodeURIComponent(sentinel(name))const plain = sentinel(name)+ const encoded = encodeURIComponent(plain)+ // Some builders encode a path segment twice on purpose (the trace scene does, so that+ // kea-router's pathname decode still leaves one layer for the scene). Match that form+ // first, or the sentinel survives into the template as a literal `%253Aid`.+ const doubleEncoded = encodeURIComponent(encoded)const before = template- template = template.split(encoded).join(`{${name}}`).split(plain).join(`{${name}}`)+ for (const form of [doubleEncoded, encoded, plain]) {+ template = template.split(form).join(`{${name}}`)+ }if (template !== before) {found.add(name)}@@ -282,6 +298,10 @@ function buildManifest(urls) {excluded.push({ name, reason: 'structural helper' })continue}+ if (EXCLUDED_BUILDERS.has(name)) {+ excluded.push({ name, reason: 'query-only parameters' })+ continue+ }const fn = urls[name]if (typeof fn !== 'function') {excluded.push({ name, reason: 'not a function' })diff --git a/services/mcp/src/tools/links/app-url-manifest.json b/services/mcp/src/tools/links/app-url-manifest.jsonindex ec183e5cf6c1..8cfbfdb92405 100644--- a/services/mcp/src/tools/links/app-url-manifest.json+++ b/services/mcp/src/tools/links/app-url-manifest.json@@ -44,6 +44,16 @@"params": [],"scope": "project"},+ "aiEnrichment": {+ "template": "/ai-enrichment",+ "params": [],+ "scope": "project"+ },+ "aiGateway": {+ "template": "/ai-gateway",+ "params": [],+ "scope": "project"+ },"aiHistory": {"template": "/ai/history","params": [],@@ -129,6 +139,11 @@"params": [],"scope": "project"},+ "aiObservabilitySelfDriving": {+ "template": "/ai-observability/self-driving",+ "params": [],+ "scope": "project"+ },"aiObservabilitySentiment": {"template": "/ai-observability/sentiment","params": [],@@ -144,16 +159,6 @@"params": [],"scope": "project"},- "aiObservabilitySkill": {- "template": "/prompt-management/skills/{name}",- "params": ["name"],- "scope": "project"- },- "aiObservabilitySkills": {- "template": "/prompt-management/skills",- "params": [],- "scope": "project"- },"aiObservabilityTag": {"template": "/ai-evals/taggers/{id}","params": ["id"],@@ -264,6 +269,26 @@"params": [],"scope": "global"},+ "codeCanvasLink": {+ "template": "/code/canvas/{channelId}/{dashboardId}",+ "params": ["channelId", "dashboardId"],+ "scope": "project"+ },+ "codeChannelLink": {+ "template": "/code/channel/{channelId}",+ "params": ["channelId"],+ "scope": "project"+ },+ "codeReview": {+ "template": "/code-review",+ "params": [],+ "scope": "project"+ },+ "codeTaskLink": {+ "template": "/code/task/{taskId}",+ "params": ["taskId"],+ "scope": "project"+ },"cohort": {"template": "/cohorts/{id}","params": ["id"],@@ -279,6 +304,11 @@"params": [],"scope": "project"},+ "cohortsStaffTools": {+ "template": "/feature_flags/staff/cohorts",+ "params": [],+ "scope": "global"+ },"comment": {"template": "/data-management/comments/{id}","params": ["id"],@@ -289,6 +319,11 @@"params": [],"scope": "project"},+ "communitySkills": {+ "template": "/skills/community",+ "params": [],+ "scope": "project"+ },"coreEvents": {"template": "/data-management/core-events","params": [],@@ -319,11 +354,21 @@"params": [],"scope": "project"},+ "customerAnalyticsAccount": {+ "template": "/customer_analytics/accounts/{accountId}",+ "params": ["accountId"],+ "scope": "project"+ },"customerAnalyticsAccounts": {"template": "/customer_analytics/accounts","params": [],"scope": "project"},+ "customerAnalyticsAnnouncements": {+ "template": "/customer_analytics/announcements",+ "params": [],+ "scope": "project"+ },"customerAnalyticsConfiguration": {"template": "/customer_analytics/configuration","params": [],@@ -334,11 +379,26 @@"params": [],"scope": "project"},+ "customerAnalyticsFeatureRequests": {+ "template": "/customer_analytics/feature-requests",+ "params": [],+ "scope": "project"+ },+ "customerAnalyticsFeed": {+ "template": "/customer_analytics/feed",+ "params": [],+ "scope": "project"+ },"customerAnalyticsJourneys": {"template": "/customer_analytics/journeys","params": [],"scope": "project"},+ "customerAnalyticsNotes": {+ "template": "/customer_analytics/notes",+ "params": [],+ "scope": "project"+ },"customerJourneyBuilder": {"template": "/customer_analytics/journeys/new","params": [],@@ -394,6 +454,16 @@"params": [],"scope": "project"},+ "dataCatalog": {+ "template": "/data-catalog",+ "params": [],+ "scope": "project"+ },+ "dataCatalogMetric": {+ "template": "/data-catalog/metrics/{name}",+ "params": ["name"],+ "scope": "project"+ },"dataManagementHistory": {"template": "/data-management/history","params": [],@@ -419,6 +489,11 @@"params": ["id"],"scope": "project"},+ "dataWarehouseSourceConnect": {+ "template": "/data-warehouse/connect",+ "params": [],+ "scope": "project"+ },"dataWarehouseSourceNew": {"template": "/data-warehouse/new-source","params": [],@@ -489,6 +564,56 @@"params": [],"scope": "project"},+ "engineeringAnalytics": {+ "template": "/engineering-analytics/overview",+ "params": [],+ "scope": "project"+ },+ "engineeringAnalyticsAuthor": {+ "template": "/engineering-analytics/authors/{handle}",+ "params": ["handle"],+ "scope": "project"+ },+ "engineeringAnalyticsPullRequest": {+ "template": "/engineering-analytics/repos/{repoOwner}/{repoName}/pull-requests/{number}",+ "params": ["repoOwner", "repoName", "number"],+ "scope": "project"+ },+ "engineeringAnalyticsPullRequestList": {+ "template": "/engineering-analytics/pull-requests",+ "params": [],+ "scope": "project"+ },+ "engineeringAnalyticsTeam": {+ "template": "/engineering-analytics/teams/{ownerTeam}",+ "params": ["ownerTeam"],+ "scope": "project"+ },+ "engineeringAnalyticsTeams": {+ "template": "/engineering-analytics/teams",+ "params": [],+ "scope": "project"+ },+ "engineeringAnalyticsTestHealth": {+ "template": "/engineering-analytics/test-health",+ "params": [],+ "scope": "project"+ },+ "engineeringAnalyticsWorkflowRun": {+ "template": "/engineering-analytics/repos/{repoOwner}/{repoName}/actions/runs/{runId}",+ "params": ["repoOwner", "repoName", "runId"],+ "scope": "project"+ },+ "engineeringAnalyticsWorkflowRuns": {+ "template": "/engineering-analytics/repos/{repoOwner}/{repoName}/actions/workflows/{workflowName}",+ "params": ["repoOwner", "repoName", "workflowName"],+ "scope": "project"+ },+ "engineeringAnalyticsWorkflows": {+ "template": "/engineering-analytics/workflows",+ "params": [],+ "scope": "project"+ },"errorTracking": {"template": "/error_tracking","params": [],@@ -569,6 +694,11 @@"params": [],"scope": "project"},+ "experimentsStaffTools": {+ "template": "/experiments/staff",+ "params": [],+ "scope": "global"+ },"exports": {"template": "/exports","params": [],@@ -594,6 +724,16 @@"params": [],"scope": "project"},+ "featureFlagsStaffTools": {+ "template": "/feature_flags/staff",+ "params": [],+ "scope": "global"+ },+ "featurePreview": {+ "template": "/settings/user-feature-previews",+ "params": [],+ "scope": "project"+ },"flappyHog": {"template": "/games/flappyhog","params": [],@@ -664,16 +804,46 @@"params": ["templateId"],"scope": "project"},+ "identityMatching": {+ "template": "/identity-matching",+ "params": [],+ "scope": "project"+ },"inbox": {"template": "/inbox","params": [],"scope": "project"},+ "inboxFindings": {+ "template": "/inbox/scouts/findings",+ "params": [],+ "scope": "project"+ },+ "inboxReport": {+ "template": "/inbox/{tab}/{reportId}",+ "params": ["tab", "reportId"],+ "scope": "project"+ },+ "inboxScout": {+ "template": "/inbox/scouts/{skillName}",+ "params": ["skillName"],+ "scope": "project"+ },+ "inboxScratchpad": {+ "template": "/inbox/scouts/scratchpad",+ "params": [],+ "scope": "project"+ },"ingestionWarnings": {"template": "/data-management/ingestion-warnings","params": [],"scope": "project"},+ "ingestionWarningsV2": {+ "template": "/data-management/ingestion-warnings-v2",+ "params": [],+ "scope": "project"+ },"insightAlert": {"template": "/insights/{insightShortId}/alerts","params": ["insightShortId"],@@ -754,6 +924,11 @@"params": [],"scope": "global"},+ "integration": {+ "template": "/integrations/{slug}",+ "params": ["slug"],+ "scope": "project"+ },"integrationsRedirect": {"template": "/integrations/{kind}/callback","params": ["kind"],@@ -824,6 +999,16 @@"params": ["alertId", "hogFunctionId"],"scope": "project"},+ "logsRetentionDetail": {+ "template": "/logs/retention-rules/{id}",+ "params": ["id"],+ "scope": "project"+ },+ "logsRetentionNew": {+ "template": "/logs/retention-rules/new",+ "params": [],+ "scope": "project"+ },"logsSamplingDetail": {"template": "/logs/drop-rules/{id}","params": ["id"],@@ -854,6 +1039,11 @@"params": [],"scope": "project"},+ "mcpAnalyticsActivity": {+ "template": "/mcp-analytics/activity",+ "params": [],+ "scope": "project"+ },"mcpAnalyticsDashboard": {"template": "/mcp-analytics/dashboard","params": [],@@ -864,6 +1054,11 @@"params": [],"scope": "project"},+ "mcpAnalyticsNotifications": {+ "template": "/mcp-analytics/notifications",+ "params": [],+ "scope": "project"+ },"mcpAnalyticsSessions": {"template": "/mcp-analytics/sessions","params": [],@@ -879,6 +1074,31 @@"params": [],"scope": "project"},+ "mcpGateway": {+ "template": "/mcp-servers",+ "params": [],+ "scope": "project"+ },+ "mcpGatewayAgent": {+ "template": "/mcp-servers/agent/{id}",+ "params": ["id"],+ "scope": "project"+ },+ "mcpGatewayMember": {+ "template": "/mcp-servers/member/{id}",+ "params": ["id"],+ "scope": "project"+ },+ "mcpGatewayServer": {+ "template": "/mcp-servers/server/{id}",+ "params": ["id"],+ "scope": "project"+ },+ "mcpGatewayTab": {+ "template": "/mcp-servers/{tab}",+ "params": ["tab"],+ "scope": "project"+ },"metrics": {"template": "/metrics","params": [],@@ -894,6 +1114,11 @@"params": [],"scope": "project"},+ "myTickets": {+ "template": "/my-tickets",+ "params": [],+ "scope": "project"+ },"nodeDetail": {"template": "/models/{id}","params": ["id"],@@ -1004,6 +1229,11 @@"params": [],"scope": "project"},+ "projectPendingDeletion": {+ "template": "/project-pending-deletion",+ "params": [],+ "scope": "project"+ },"propertyDefinition": {"template": "/data-management/properties/{id}","params": ["id"],@@ -1019,10 +1249,10 @@"params": [],"scope": "project"},- "queryPerformance": {- "template": "/instance/query_performance",+ "pulse": {+ "template": "/pulse","params": [],- "scope": "global"+ "scope": "project"},"replay": {"template": "/replay/home",@@ -1059,23 +1289,63 @@"params": [],"scope": "project"},+ "replayVisionAction": {+ "template": "/replay-vision/actions/{actionId}",+ "params": ["actionId"],+ "scope": "project"+ },+ "replayVisionActionEdit": {+ "template": "/replay-vision/actions/{actionId}/edit",+ "params": ["actionId"],+ "scope": "project"+ },+ "replayVisionActionNew": {+ "template": "/replay-vision/{scannerId}/actions/new",+ "params": ["scannerId"],+ "scope": "project"+ },+ "replayVisionActionRun": {+ "template": "/replay-vision/actions/{actionId}/runs/{runId}",+ "params": ["actionId", "runId"],+ "scope": "project"+ },"replayVisionObservation": {"template": "/replay-vision/observations/{observationId}","params": ["observationId"],"scope": "project"},+ "replayVisionScannerBudget": {+ "template": "/replay-vision/{id}/budget",+ "params": ["id"],+ "scope": "project"+ },"replayVisionScannerConfigure": {"template": "/replay-vision/{id}/configure","params": ["id"],"scope": "project"},+ "replayVisionScannerDetails": {+ "template": "/replay-vision/{id}/details",+ "params": ["id"],+ "scope": "project"+ },+ "replayVisionScannerSelfDriving": {+ "template": "/replay-vision/{id}/self-driving",+ "params": ["id"],+ "scope": "project"+ },+ "replayVisionScannerTemplate": {+ "template": "/replay-vision/{id}/template",+ "params": ["id"],+ "scope": "project"+ },"replayVisionScannerTriggers": {"template": "/replay-vision/{id}/triggers","params": ["id"],"scope": "project"},"replayVisionTemplates": {- "template": "/replay-vision/templates",+ "template": "/replay-vision/new/template","params": [],"scope": "project"},@@ -1084,11 +1354,6 @@"params": ["resourceKind", "resourceId"],"scope": "project"},- "revenueAnalytics": {- "template": "/revenue_analytics",- "params": [],- "scope": "project"- },"revenueSettings": {"template": "/data-management/revenue","params": [],@@ -1119,16 +1384,6 @@"params": ["id"],"scope": "project"},- "sessionSummaries": {- "template": "/session-summaries",- "params": [],- "scope": "project"- },- "sessionSummary": {- "template": "/session-summaries/{sessionGroupId}",- "params": ["sessionGroupId"],- "scope": "project"- },"settings": {"template": "/settings/project","params": [],@@ -1154,6 +1409,21 @@"params": ["url"],"scope": "project"},+ "skill": {+ "template": "/skills/{name}",+ "params": ["name"],+ "scope": "project"+ },+ "skills": {+ "template": "/skills",+ "params": [],+ "scope": "project"+ },+ "skillsCategoryTab": {+ "template": "/skills/{categoryTab}",+ "params": ["categoryTab"],+ "scope": "project"+ },"slackTaskContext": {"template": "/slack-task-context","params": [],@@ -1169,11 +1439,51 @@"params": [],"scope": "project"},+ "stamphog": {+ "template": "/stamphog",+ "params": [],+ "scope": "project"+ },+ "stamphogCallback": {+ "template": "/stamphog/install/callback",+ "params": [],+ "scope": "project"+ },+ "stamphogDigests": {+ "template": "/stamphog/digests",+ "params": [],+ "scope": "project"+ },+ "stamphogRuns": {+ "template": "/stamphog/runs",+ "params": [],+ "scope": "project"+ },"startups": {"template": "/startups","params": [],"scope": "project"},+ "streamlitApp": {+ "template": "/streamlit-apps/{id}",+ "params": ["id"],+ "scope": "project"+ },+ "streamlitAppEdit": {+ "template": "/streamlit-apps/{id}/edit",+ "params": ["id"],+ "scope": "project"+ },+ "streamlitAppNew": {+ "template": "/streamlit-apps/new",+ "params": [],+ "scope": "project"+ },+ "streamlitApps": {+ "template": "/streamlit-apps",+ "params": [],+ "scope": "project"+ },"stripeConfirmInstall": {"template": "/integrations/stripe/confirm-install","params": [],@@ -1244,6 +1554,11 @@"params": ["taskId"],"scope": "project"},+ "taskNew": {+ "template": "/tasks/new",+ "params": [],+ "scope": "project"+ },"taskTracker": {"template": "/tasks","params": [],@@ -1349,6 +1664,11 @@"params": ["repoId"],"scope": "project"},+ "warehouseProperties": {+ "template": "/data-management/warehouse-properties",+ "params": [],+ "scope": "project"+ },"webAnalytics": {"template": "/web","params": [],@@ -1374,11 +1694,21 @@"params": [],"scope": "project"},+ "webAnalyticsPagePerformance": {+ "template": "/web/page-performance",+ "params": [],+ "scope": "project"+ },"webAnalyticsPageReports": {"template": "/web/page-reports","params": [],"scope": "project"},+ "webAnalyticsRecap": {+ "template": "/web/recap",+ "params": [],+ "scope": "project"+ },"webAnalyticsWebVitals": {"template": "/web/web-vitals","params": [],diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/generate-app-url.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/generate-app-url.jsonindex 784acb05a863..c45cb7b6a143 100644--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/generate-app-url.json+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/generate-app-url.json@@ -13,7 +13,7 @@"type": "object"},"url": {- "description": "A path template copied verbatim from the catalog below (e.g. `/persons/{uuid}`). Its `{placeholders}` are filled from `params`. These slugs come from PostHog's canonical route table, so they are always correct — never pass a path that is not in this list.\n\n/account-connected/{kind}\n/account/credential-review\n/account/social-connected\n/activity-logs\n/activity/{tab}\n/agentic/account-mismatch\n/agentic/authorize\n/ai\n/ai-evals/datasets\n/ai-evals/datasets/{id}\n/ai-evals/evaluations\n/ai-evals/evaluations/offline/experiments\n/ai-evals/evaluations/offline/experiments/{experimentId}\n/ai-evals/evaluations/templates\n/ai-evals/evaluations/{id}\n/ai-evals/taggers\n/ai-evals/taggers/{id}\n/ai-observability/clusters\n/ai-observability/clusters/{runId}/{clusterId}\n/ai-observability/dashboard\n/ai-observability/errors\n/ai-observability/generations\n/ai-observability/playground\n/ai-observability/reviews\n/ai-observability/sentiment\n/ai-observability/sessions\n/ai-observability/sessions/{id}\n/ai-observability/tools\n/ai-observability/traces\n/ai-observability/traces/{id}\n/ai-observability/users\n/ai/history\n/alerts\n/approvals/{id}\n/billing/authorization_status\n/business-knowledge\n/canvas\n/cli/authorize\n/cli/live\n/cohorts\n/cohorts/{id}\n/cohorts/{id}/calculation-history\n/connect/vercel/link\n/coupons/{campaign}\n/create-organization\n/customer_analytics\n/customer_analytics/accounts\n/customer_analytics/configuration\n/customer_analytics/dashboard\n/customer_analytics/journeys\n/customer_analytics/journeys/new\n/customer_analytics/journeys/templates\n/customer_analytics/journeys/{id}/edit\n/dashboard\n/dashboard/templates/{templateId}/copy-to-project\n/dashboard/{id}\n/dashboard/{id}/button-tiles/{buttonTileId}\n/dashboard/{id}/sharing\n/dashboard/{id}/subscriptions\n/dashboard/{id}/subscriptions/{subscriptionId}\n/dashboard/{id}/text-tiles/{textTileId}\n/data-management/actions\n/data-management/actions/new\n/data-management/actions/new/\n/data-management/actions/{id}\n/data-management/annotations\n/data-management/annotations/{id}\n/data-management/comments\n/data-management/comments/{id}\n/data-management/core-events\n/data-management/database\n/data-management/destinations\n/data-management/event-filtering\n/data-management/events\n/data-management/events/{id}\n/data-management/events/{id}/edit\n/data-management/history\n/data-management/ingestion-warnings\n/data-management/managed-viewsets\n/data-management/materialized-columns\n/data-management/properties\n/data-management/properties/{id}\n/data-management/properties/{id}/edit\n/data-management/revenue\n/data-management/schema\n/data-management/sources\n/data-management/sources/{id}/schemas\n/data-management/sources/{sourceId}/schemas/{schemaId}\n/data-management/transformations\n/data-management/variables\n/data-management/variables/{id}\n/data-management/variables/{id}/edit\n/data-ops\n/data-warehouse/new-source\n/debug\n/debug/hog\n/early_access_features\n/early_access_features/{id}\n/embedded/{token}\n/endpoints\n/endpoints/{name}\n/error_tracking\n/error_tracking/alerts/new/{templateId}\n/error_tracking/alerts/{id}\n/error_tracking/fingerprint/{fingerprint}\n/error_tracking/{id}\n/error_tracking/{id}/fingerprints\n/events/{id}/{timestamp}\n/experiments\n/experiments/shared-metrics\n/experiments/shared-metrics/{id}\n/experiments/{id}\n/exports\n/feature_flags\n/feature_flags/new\n/feature_flags/templates\n/feature_flags/{id}\n/functions/new/{templateId}\n/functions/{id}\n/games/368hedgehogs\n/games/flappyhog\n/groups/{groupTypeIndex}\n/groups/{groupTypeIndex}/new\n/groups/{groupTypeIndex}/{groupKey}\n/health\n/health/alerts\n/health/pipeline-status\n/health/sdk-health\n/health/{category}\n/heatmaps\n/heatmaps/new\n/heatmaps/recording\n/heatmaps/{id}\n/home\n/inbox\n/insights\n/insights/new\n/insights/quick-start\n/insights/{id}\n/insights/{id}/edit\n/insights/{id}/sharing\n/insights/{id}/subscriptions\n/insights/{id}/subscriptions/{subscriptionId}\n/insights/{insightShortId}/alerts\n/instance/async_migrations\n/instance/async_migrations/future\n/instance/async_migrations/settings\n/instance/dead_letter_queue\n/instance/kafka_inspector\n/instance/metrics\n/instance/query_performance\n/instance/settings\n/instance/staff_users\n/instance/status\n/integrations/stripe/confirm-install\n/integrations/vercel/link-error\n/integrations/{kind}/callback\n/legal\n/legal/new/{type}\n/link/{id}\n/links\n/live-debugger\n/login\n/login/2fa\n/login/2fa_setup\n/logs\n/logs/alerts/{alertId}/notifications/{hogFunctionId}\n/logs/alerts/{id}\n/logs/drop-rules/new\n/logs/drop-rules/{id}\n/managed_migrations\n/managed_migrations/new\n/marketing\n/mcp-analytics/dashboard\n/mcp-analytics/intent-clustering\n/mcp-analytics/sessions\n/mcp-analytics/tool-quality\n/mcp-analytics/tool-quality/{toolName}\n/metrics\n/models\n/models/{id}\n/move-to-cloud\n/notebooks\n/notebooks/{shortId}\n/oauth/authorize\n/onboarding\n/organization-deactivated\n/organization-pending-deletion\n/organization/billing\n/organization/billing/overview\n/organization/confirm-creation\n/organization/create-project\n/person/{id}\n/persons\n/persons/{uuid}\n/pipeline/batch-exports/new/{service}\n/pipeline/batch-exports/{id}\n/pipeline/new/\n/pipeline/plugins/{id}\n/preflight\n/product_tours\n/product_tours/{id}\n/prompt-management/prompts\n/prompt-management/prompts/{name}\n/prompt-management/skills\n/prompt-management/skills/{name}\n/replay-vision\n/replay-vision/observations/{observationId}\n/replay-vision/templates\n/replay-vision/{id}/configure\n/replay-vision/{id}/triggers\n/replay/file-playback\n/replay/home\n/replay/kiosk\n/replay/playlists/{id}\n/replay/settings\n/replay/{id}\n/reset\n/reset/{userUuid}/{token}\n/reset_2fa/{userUuid}/{token}\n/resource-transfer/{resourceKind}/{resourceId}\n/revenue_analytics\n/session-summaries\n/session-summaries/{sessionGroupId}\n/sessions/{id}\n/settings/environment-approvals\n/settings/project\n/shared/{token}\n/shared_dashboard/{shareToken}\n/signup\n/signup/{id}\n/site/{url}\n/slack-task-context\n/sql\n/startups\n/subscriptions\n/subscriptions/new\n/subscriptions/{id}\n/subscriptions/{id}/edit\n/support\n/support/settings\n/support/tickets\n/support/tickets/{ticketId}\n/surveys\n/surveys/form/new\n/surveys/guided/new\n/surveys/{id}\n/tasks\n/tasks/{taskId}\n/themes/custom-css\n/toolbar\n/tracing\n/unsubscribe\n/user_research\n/user_research/{id}\n/user_research/{topicId}/response/{responseId}\n/verify_email\n/visual_review\n/visual_review/repos/{repoId}/runs\n/visual_review/repos/{repoId}/snapshots\n/visual_review/repos/{repoId}/{runType}/snapshots/{identifier}\n/visual_review/runs/{runId}\n/visual_review/settings\n/web\n/web-scripts\n/web-scripts/new\n/web/bots\n/web/health\n/web/live\n/web/marketing\n/web/page-reports\n/web/session-attribution-explorer\n/web/web-vitals\n/wizard\n/workflows\n/workflows/library/messages/{id}\n/workflows/library/templates/new\n/workflows/library/templates/{id}\n/workflows/new/workflow\n/workflows/{id}/{tab}",+ "description": "A path template copied verbatim from the catalog below (e.g. `/persons/{uuid}`). Its `{placeholders}` are filled from `params`. These slugs come from PostHog's canonical route table, so they are always correct — never pass a path that is not in this list.\n\n/account-connected/{kind}\n/account/credential-review\n/account/social-connected\n/activity-logs\n/activity/{tab}\n/agentic/account-mismatch\n/agentic/authorize\n/ai\n/ai-enrichment\n/ai-evals/datasets\n/ai-evals/datasets/{id}\n/ai-evals/evaluations\n/ai-evals/evaluations/offline/experiments\n/ai-evals/evaluations/offline/experiments/{experimentId}\n/ai-evals/evaluations/templates\n/ai-evals/evaluations/{id}\n/ai-evals/taggers\n/ai-evals/taggers/{id}\n/ai-gateway\n/ai-observability/clusters\n/ai-observability/clusters/{runId}/{clusterId}\n/ai-observability/dashboard\n/ai-observability/errors\n/ai-observability/generations\n/ai-observability/playground\n/ai-observability/reviews\n/ai-observability/self-driving\n/ai-observability/sentiment\n/ai-observability/sessions\n/ai-observability/sessions/{id}\n/ai-observability/tools\n/ai-observability/traces\n/ai-observability/traces/{id}\n/ai-observability/users\n/ai/history\n/alerts\n/approvals/{id}\n/billing/authorization_status\n/business-knowledge\n/canvas\n/cli/authorize\n/cli/live\n/code-review\n/code/canvas/{channelId}/{dashboardId}\n/code/channel/{channelId}\n/code/task/{taskId}\n/cohorts\n/cohorts/{id}\n/cohorts/{id}/calculation-history\n/connect/vercel/link\n/coupons/{campaign}\n/create-organization\n/customer_analytics\n/customer_analytics/accounts\n/customer_analytics/accounts/{accountId}\n/customer_analytics/announcements\n/customer_analytics/configuration\n/customer_analytics/dashboard\n/customer_analytics/feature-requests\n/customer_analytics/feed\n/customer_analytics/journeys\n/customer_analytics/journeys/new\n/customer_analytics/journeys/templates\n/customer_analytics/journeys/{id}/edit\n/customer_analytics/notes\n/dashboard\n/dashboard/templates/{templateId}/copy-to-project\n/dashboard/{id}\n/dashboard/{id}/button-tiles/{buttonTileId}\n/dashboard/{id}/sharing\n/dashboard/{id}/subscriptions\n/dashboard/{id}/subscriptions/{subscriptionId}\n/dashboard/{id}/text-tiles/{textTileId}\n/data-catalog\n/data-catalog/metrics/{name}\n/data-management/actions\n/data-management/actions/new\n/data-management/actions/new/\n/data-management/actions/{id}\n/data-management/annotations\n/data-management/annotations/{id}\n/data-management/comments\n/data-management/comments/{id}\n/data-management/core-events\n/data-management/database\n/data-management/destinations\n/data-management/event-filtering\n/data-management/events\n/data-management/events/{id}\n/data-management/events/{id}/edit\n/data-management/history\n/data-management/ingestion-warnings\n/data-management/ingestion-warnings-v2\n/data-management/managed-viewsets\n/data-management/materialized-columns\n/data-management/properties\n/data-management/properties/{id}\n/data-management/properties/{id}/edit\n/data-management/revenue\n/data-management/schema\n/data-management/sources\n/data-management/sources/{id}/schemas\n/data-management/sources/{sourceId}/schemas/{schemaId}\n/data-management/transformations\n/data-management/variables\n/data-management/variables/{id}\n/data-management/variables/{id}/edit\n/data-management/warehouse-properties\n/data-ops\n/data-warehouse/connect\n/data-warehouse/new-source\n/debug\n/debug/hog\n/early_access_features\n/early_access_features/{id}\n/embedded/{token}\n/endpoints\n/endpoints/{name}\n/engineering-analytics/authors/{handle}\n/engineering-analytics/overview\n/engineering-analytics/pull-requests\n/engineering-analytics/repos/{repoOwner}/{repoName}/actions/runs/{runId}\n/engineering-analytics/repos/{repoOwner}/{repoName}/actions/workflows/{workflowName}\n/engineering-analytics/repos/{repoOwner}/{repoName}/pull-requests/{number}\n/engineering-analytics/teams\n/engineering-analytics/teams/{ownerTeam}\n/engineering-analytics/test-health\n/engineering-analytics/workflows\n/error_tracking\n/error_tracking/alerts/new/{templateId}\n/error_tracking/alerts/{id}\n/error_tracking/fingerprint/{fingerprint}\n/error_tracking/{id}\n/error_tracking/{id}/fingerprints\n/events/{id}/{timestamp}\n/experiments\n/experiments/shared-metrics\n/experiments/shared-metrics/{id}\n/experiments/staff\n/experiments/{id}\n/exports\n/feature_flags\n/feature_flags/new\n/feature_flags/staff\n/feature_flags/staff/cohorts\n/feature_flags/templates\n/feature_flags/{id}\n/functions/new/{templateId}\n/functions/{id}\n/games/368hedgehogs\n/games/flappyhog\n/groups/{groupTypeIndex}\n/groups/{groupTypeIndex}/new\n/groups/{groupTypeIndex}/{groupKey}\n/health\n/health/alerts\n/health/pipeline-status\n/health/sdk-health\n/health/{category}\n/heatmaps\n/heatmaps/new\n/heatmaps/recording\n/heatmaps/{id}\n/home\n/identity-matching\n/inbox\n/inbox/scouts/findings\n/inbox/scouts/scratchpad\n/inbox/scouts/{skillName}\n/inbox/{tab}/{reportId}\n/insights\n/insights/new\n/insights/quick-start\n/insights/{id}\n/insights/{id}/edit\n/insights/{id}/sharing\n/insights/{id}/subscriptions\n/insights/{id}/subscriptions/{subscriptionId}\n/insights/{insightShortId}/alerts\n/instance/async_migrations\n/instance/async_migrations/future\n/instance/async_migrations/settings\n/instance/dead_letter_queue\n/instance/kafka_inspector\n/instance/metrics\n/instance/settings\n/instance/staff_users\n/instance/status\n/integrations/stripe/confirm-install\n/integrations/vercel/link-error\n/integrations/{kind}/callback\n/integrations/{slug}\n/legal\n/legal/new/{type}\n/link/{id}\n/links\n/live-debugger\n/login\n/login/2fa\n/login/2fa_setup\n/logs\n/logs/alerts/{alertId}/notifications/{hogFunctionId}\n/logs/alerts/{id}\n/logs/drop-rules/new\n/logs/drop-rules/{id}\n/logs/retention-rules/new\n/logs/retention-rules/{id}\n/managed_migrations\n/managed_migrations/new\n/marketing\n/mcp-analytics/activity\n/mcp-analytics/dashboard\n/mcp-analytics/intent-clustering\n/mcp-analytics/notifications\n/mcp-analytics/sessions\n/mcp-analytics/tool-quality\n/mcp-analytics/tool-quality/{toolName}\n/mcp-servers\n/mcp-servers/agent/{id}\n/mcp-servers/member/{id}\n/mcp-servers/server/{id}\n/mcp-servers/{tab}\n/metrics\n/models\n/models/{id}\n/move-to-cloud\n/my-tickets\n/notebooks\n/notebooks/{shortId}\n/oauth/authorize\n/onboarding\n/organization-deactivated\n/organization-pending-deletion\n/organization/billing\n/organization/billing/overview\n/organization/confirm-creation\n/organization/create-project\n/person/{id}\n/persons\n/persons/{uuid}\n/pipeline/batch-exports/new/{service}\n/pipeline/batch-exports/{id}\n/pipeline/new/\n/pipeline/plugins/{id}\n/preflight\n/product_tours\n/product_tours/{id}\n/project-pending-deletion\n/prompt-management/prompts\n/prompt-management/prompts/{name}\n/pulse\n/replay-vision\n/replay-vision/actions/{actionId}\n/replay-vision/actions/{actionId}/edit\n/replay-vision/actions/{actionId}/runs/{runId}\n/replay-vision/new/template\n/replay-vision/observations/{observationId}\n/replay-vision/{id}/budget\n/replay-vision/{id}/configure\n/replay-vision/{id}/details\n/replay-vision/{id}/self-driving\n/replay-vision/{id}/template\n/replay-vision/{id}/triggers\n/replay-vision/{scannerId}/actions/new\n/replay/file-playback\n/replay/home\n/replay/kiosk\n/replay/playlists/{id}\n/replay/settings\n/replay/{id}\n/reset\n/reset/{userUuid}/{token}\n/reset_2fa/{userUuid}/{token}\n/resource-transfer/{resourceKind}/{resourceId}\n/sessions/{id}\n/settings/environment-approvals\n/settings/project\n/settings/user-feature-previews\n/shared/{token}\n/shared_dashboard/{shareToken}\n/signup\n/signup/{id}\n/site/{url}\n/skills\n/skills/community\n/skills/{categoryTab}\n/skills/{name}\n/slack-task-context\n/sql\n/stamphog\n/stamphog/digests\n/stamphog/install/callback\n/stamphog/runs\n/startups\n/streamlit-apps\n/streamlit-apps/new\n/streamlit-apps/{id}\n/streamlit-apps/{id}/edit\n/subscriptions\n/subscriptions/new\n/subscriptions/{id}\n/subscriptions/{id}/edit\n/support\n/support/settings\n/support/tickets\n/support/tickets/{ticketId}\n/surveys\n/surveys/form/new\n/surveys/guided/new\n/surveys/{id}\n/tasks\n/tasks/new\n/tasks/{taskId}\n/themes/custom-css\n/toolbar\n/tracing\n/unsubscribe\n/user_research\n/user_research/{id}\n/user_research/{topicId}/response/{responseId}\n/verify_email\n/visual_review\n/visual_review/repos/{repoId}/runs\n/visual_review/repos/{repoId}/snapshots\n/visual_review/repos/{repoId}/{runType}/snapshots/{identifier}\n/visual_review/runs/{runId}\n/visual_review/settings\n/web\n/web-scripts\n/web-scripts/new\n/web/bots\n/web/health\n/web/live\n/web/marketing\n/web/page-performance\n/web/page-reports\n/web/recap\n/web/session-attribution-explorer\n/web/web-vitals\n/wizard\n/workflows\n/workflows/library/messages/{id}\n/workflows/library/templates/new\n/workflows/library/templates/{id}\n/workflows/new/workflow\n/workflows/{id}/{tab}","type": "string"}},