Skip to content

: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.

feat(signals): declare an inbox api scope (#117869)

posthog[bot]69ec484ebc13
diff --git a/frontend/src/lib/oauthScopes.generated.ts b/frontend/src/lib/oauthScopes.generated.ts
index c4dd07009231..d78d247a7250 100644
--- a/frontend/src/lib/oauthScopes.generated.ts
+++ b/frontend/src/lib/oauthScopes.generated.ts
@@ -112,6 +112,8 @@ export const OAUTH_SCOPES_SUPPORTED = [
'hog_flow:write',
'hog_function:read',
'hog_function:write',
+ 'inbox:read',
+ 'inbox:write',
'ingestion_warning:read',
'ingestion_warning:write',
'insight:read',
diff --git a/frontend/src/lib/scopes.tsx b/frontend/src/lib/scopes.tsx
index 9a45c17ece31..510580043bef 100644
--- a/frontend/src/lib/scopes.tsx
+++ b/frontend/src/lib/scopes.tsx
@@ -215,6 +215,7 @@ export const API_SCOPES: APIScope[] = [
{ key: 'heatmap', objectName: 'Heatmap', objectPlural: 'heatmaps' },
{ key: 'hog_flow', objectName: 'Workflow', objectPlural: 'workflows' },
{ key: 'hog_function', objectName: 'Hog function', objectPlural: 'hog functions' },
+ { key: 'inbox', objectName: 'Inbox', objectPlural: 'inbox reports' },
{
key: 'ingestion_warning',
objectName: 'Ingestion warning',
@@ -609,6 +610,7 @@ export const API_SCOPE_GROUPS: APIScopeGroup[] = [
'data_catalog_approval',
'mcp_registry',
'task',
+ 'inbox',
'today',
'loop',
'signal_scout',
diff --git a/posthog/scopes.py b/posthog/scopes.py
index be2969a6c023..bbac3d2a6e79 100644
--- a/posthog/scopes.py
+++ b/posthog/scopes.py
@@ -75,6 +75,7 @@ APIScopeObject = Literal[
# propose without holding the scope that publishes, updates or test-sends a workflow. INTERNAL.
"hog_flow_proposal",
"hog_function",
+ "inbox",
"ingestion_warning",
"insight",
"insight_variable",
diff --git a/products/access_control/frontend/generated/api.schemas.ts b/products/access_control/frontend/generated/api.schemas.ts
index 8d66f1a06bb2..5ec513017b4d 100644
--- a/products/access_control/frontend/generated/api.schemas.ts
+++ b/products/access_control/frontend/generated/api.schemas.ts
@@ -95,6 +95,7 @@ export const ResolvedAccessSourceSubjectEnumApi = {
* * `heatmap` - heatmap
* * `hog_flow` - hog_flow
* * `hog_function` - hog_function
+ * * `inbox` - inbox
* * `ingestion_warning` - ingestion_warning
* * `insight` - insight
* * `insight_variable` - insight_variable
@@ -215,6 +216,7 @@ export const ScopeObjectEnumApi = {
Heatmap: 'heatmap',
HogFlow: 'hog_flow',
HogFunction: 'hog_function',
+ Inbox: 'inbox',
IngestionWarning: 'ingestion_warning',
Insight: 'insight',
InsightVariable: 'insight_variable',
@@ -358,6 +360,7 @@ export interface ProjectAccessSourceApi {
* * `heatmap` - heatmap
* * `hog_flow` - hog_flow
* * `hog_function` - hog_function
+ * * `inbox` - inbox
* * `ingestion_warning` - ingestion_warning
* * `insight` - insight
* * `insight_variable` - insight_variable
@@ -521,6 +524,7 @@ export interface AccessControlObjectRuleApi {
* * `heatmap` - heatmap
* * `hog_flow` - hog_flow
* * `hog_function` - hog_function
+ * * `inbox` - inbox
* * `ingestion_warning` - ingestion_warning
* * `insight` - insight
* * `insight_variable` - insight_variable
@@ -909,6 +913,7 @@ export interface AccessControlObjectRuleResourceApi {
* * `heatmap` - heatmap
* * `hog_flow` - hog_flow
* * `hog_function` - hog_function
+ * * `inbox` - inbox
* * `ingestion_warning` - ingestion_warning
* * `insight` - insight
* * `insight_variable` - insight_variable
@@ -1194,6 +1199,7 @@ export interface ResolvedAccessApi {
* * `heatmap` - heatmap
* * `hog_flow` - hog_flow
* * `hog_function` - hog_function
+ * * `inbox` - inbox
* * `ingestion_warning` - ingestion_warning
* * `insight` - insight
* * `insight_variable` - insight_variable
diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.ts
index 962fde646094..0f3c5792ff2f 100644
--- a/services/mcp/src/api/generated.ts
+++ b/services/mcp/src/api/generated.ts
@@ -418,6 +418,7 @@ export namespace Schemas {
* * `heatmap` - heatmap
* * `hog_flow` - hog_flow
* * `hog_function` - hog_function
+ * * `inbox` - inbox
* * `ingestion_warning` - ingestion_warning
* * `insight` - insight
* * `insight_variable` - insight_variable
@@ -539,6 +540,7 @@ export namespace Schemas {
Heatmap: 'heatmap',
HogFlow: 'hog_flow',
HogFunction: 'hog_function',
+ Inbox: 'inbox',
IngestionWarning: 'ingestion_warning',
Insight: 'insight',
InsightVariable: 'insight_variable',
@@ -660,6 +662,7 @@ export namespace Schemas {
* * `heatmap` - heatmap
* * `hog_flow` - hog_flow
* * `hog_function` - hog_function
+ * * `inbox` - inbox
* * `ingestion_warning` - ingestion_warning
* * `insight` - insight
* * `insight_variable` - insight_variable
@@ -904,6 +907,7 @@ export namespace Schemas {
* * `heatmap` - heatmap
* * `hog_flow` - hog_flow
* * `hog_function` - hog_function
+ * * `inbox` - inbox
* * `ingestion_warning` - ingestion_warning
* * `insight` - insight
* * `insight_variable` - insight_variable
@@ -1311,6 +1315,7 @@ export namespace Schemas {
* * `heatmap` - heatmap
* * `hog_flow` - hog_flow
* * `hog_function` - hog_function
+ * * `inbox` - inbox
* * `ingestion_warning` - ingestion_warning
* * `insight` - insight
* * `insight_variable` - insight_variable
@@ -67149,6 +67154,7 @@ export namespace Schemas {
* * `heatmap` - heatmap
* * `hog_flow` - hog_flow
* * `hog_function` - hog_function
+ * * `inbox` - inbox
* * `ingestion_warning` - ingestion_warning
* * `insight` - insight
* * `insight_variable` - insight_variable
diff --git a/services/mcp/src/lib/oauth-scopes.generated.ts b/services/mcp/src/lib/oauth-scopes.generated.ts
index c4dd07009231..d78d247a7250 100644
--- a/services/mcp/src/lib/oauth-scopes.generated.ts
+++ b/services/mcp/src/lib/oauth-scopes.generated.ts
@@ -112,6 +112,8 @@ export const OAUTH_SCOPES_SUPPORTED = [
'hog_flow:write',
'hog_function:read',
'hog_function:write',
+ 'inbox:read',
+ 'inbox:write',
'ingestion_warning:read',
'ingestion_warning:write',
'insight:read',