Skip to main content
Version: 24.05

Compliance Hub - API Documentation

Overview​

Compliance Hub provides consent analytics and consent-history exploration APIs used for privacy/compliance operations.

Operational Notes​

  • search endpoint reads consent history from MongoDB (countly.consent_history) with skip/limit pagination.
Implementation details

Database Collections

CollectionPurpose
countly.consentsConsent metric time-series used by method=consents endpoint.
countly.app_users{appId}Current per-user consent state and profile fields.
countly.consent_historyConsent change history source used by search.
countly.membersUsed for endpoint authentication and Compliance Hub read permission validation.
countly.appsUsed for app-scoped validation and context resolution on app-specific requests.