v76

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-015764591.5 MB
Analytics

CRUD endpoints for per-user analytics saved views.

All routes are gated behind the fflag_feat_fit_1424_analytics_saved_views feature flag AND the same should_check_analytics_permission helper used by the KPI endpoints, so a user who cannot access the analytics dashboard cannot read view metadata even via a shared link.

Lookup uses uuid (not PK) so the primary key is never exposed.

Access rules

  • list / create — scoped to requesting user + active org
  • retrieve — any org member who passes the analytics permission check (enables shared-link UX: ?view=<uuid> in the URL)
  • update / destroy — owner-only
patch/api/analytics/views/{uuid}/

Path parameters

uuidstring uuid required

Request body

dashboard_type'overview' | 'member_performance'
  • overview - Overview
  • member_performance - Member Performance
{"stackTrail":"components:schemas:PatchedAnalyticsViewRequest:properties:filters","oasType":"schema","type":"unknown"}
namestring

Response

created_atstring date-time required
dashboard_type'overview' | 'member_performance'
  • overview - Overview
  • member_performance - Member Performance
{"stackTrail":"components:schemas:AnalyticsView:properties:filters","oasType":"schema","type":"unknown"}
namestring required
owner_idinteger required
updated_atstring date-time required
uuidstring uuid required