Skip to main content

Compliance Hub - API Documentation

Overview

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

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_historyLegacy consent history backup source used by searchOld.
countly_drill.drill_eventsPrimary consent event 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.

Operational Notes

  • search endpoint supports adapter selection and can use MongoDB or ClickHouse data paths.
  • searchOld is a legacy backup path kept for historical compatibility.

Last Updated

2026-02-17