Compliance Hub - API Documentation
Overview
Compliance Hub provides consent analytics and consent-history exploration APIs used for privacy/compliance operations.
Quick Links
- Compliance Hub - Consents Read
- Compliance Hub - Consent Current
- Compliance Hub - Consent Search
- Compliance Hub - Consent Search Old
- Compliance Hub - App Users Consents
Database Collections
| Collection | Purpose |
|---|---|
countly.consents | Consent metric time-series used by method=consents endpoint. |
countly.app_users{appId} | Current per-user consent state and profile fields. |
countly.consent_history | Legacy consent history backup source used by searchOld. |
countly_drill.drill_events | Primary consent event history source used by search. |
countly.members | Used for endpoint authentication and Compliance Hub read permission validation. |
countly.apps | Used for app-scoped validation and context resolution on app-specific requests. |
Operational Notes
searchendpoint supports adapter selection and can use MongoDB or ClickHouse data paths.searchOldis a legacy backup path kept for historical compatibility.
Last Updated
2026-02-17