: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(settings): add AI conversation scope to personal API key picker (#67299)
Christiaan Hendriksen7c9fcf96f888
diff --git a/frontend/src/lib/scopes.tsx b/frontend/src/lib/scopes.tsxindex c4726d6ea20b..dcdd96605bc7 100644--- a/frontend/src/lib/scopes.tsx+++ b/frontend/src/lib/scopes.tsx@@ -36,6 +36,12 @@ export const API_SCOPES: APIScope[] = [// `clickhouse_test_cluster_perf` is omitted — see `INTERNAL_API_SCOPE_OBJECTS` in posthog/scopes.py.{ key: 'cohort', objectName: 'Cohort', objectPlural: 'cohorts' },{ key: 'comment', objectName: 'Comment', objectPlural: 'comments' },+ {+ key: 'conversation',+ objectName: 'AI conversation',+ objectPlural: 'AI conversations',+ info: 'Programmatic access to the PostHog AI (Max) chat via the conversations API.',+ },{ key: 'customer_analytics', objectName: 'Customer analytics', objectPlural: 'customer analytics' },{ key: 'customer_journey', objectName: 'Customer journey', objectPlural: 'customer journeys' },{ key: 'dashboard', objectName: 'Dashboard', objectPlural: 'dashboards' },diff --git a/frontend/src/types.ts b/frontend/src/types.tsindex 81e416105598..774e7d31b117 100644--- a/frontend/src/types.ts+++ b/frontend/src/types.ts@@ -5619,6 +5619,7 @@ export type APIScopeObject =| 'clickhouse_test_cluster_perf'| 'cohort'| 'comment'+ | 'conversation'| 'customer_analytics'| 'customer_journey'| 'customer_profile_config'