curl --request GET \
--url https://api.concord.tech/privacy-v1/organizations/{organizationId}/metrics \
--header 'x-api-key: <api-key>'{
"sessions": {
"dailySessionCounts": [
{
"date": "<string>",
"count": 1
}
],
"dateRangeTotal": 1,
"trend": {}
},
"consentEvents": {
"fullConsent": 123,
"noConsent": 123,
"partialConsent": 123,
"totalCategories": 123,
"totalEvents": 123,
"totalUsers": 123,
"trend": {},
"browserCounts": [
{
"browser": "<string>",
"count": 123
}
],
"categoryStats": {},
"dailyEventCounts": [
{
"date": "<string>",
"count": 123
}
],
"geographyCounts": [
{
"country": "<string>",
"count": 123
}
],
"osCounts": [
{
"os": "<string>",
"count": 123
}
],
"trendData": {}
},
"complianceRequests": {
"dailyRequestCounts": [
{
"date": "<string>",
"count": 1
}
],
"dateRangeTotal": 1,
"geographyCounts": [
{
"country": "<string>",
"count": 1
}
],
"resolutionMetrics": {
"avgResolutionDays": 1,
"medianResolutionDays": 1,
"minResolutionDays": 1,
"maxResolutionDays": 1
},
"statusStats": {},
"statusByType": {},
"totalRequests": 1,
"trend": {},
"trendData": {},
"typeStats": {},
"statusByTypeAllTime": {},
"totalRequestsAllTime": 1,
"dateRangeTotalAllTime": 1
}
}Gets summarized metrics for sessions, consent events, and compliance requests for the dashboard.
curl --request GET \
--url https://api.concord.tech/privacy-v1/organizations/{organizationId}/metrics \
--header 'x-api-key: <api-key>'{
"sessions": {
"dailySessionCounts": [
{
"date": "<string>",
"count": 1
}
],
"dateRangeTotal": 1,
"trend": {}
},
"consentEvents": {
"fullConsent": 123,
"noConsent": 123,
"partialConsent": 123,
"totalCategories": 123,
"totalEvents": 123,
"totalUsers": 123,
"trend": {},
"browserCounts": [
{
"browser": "<string>",
"count": 123
}
],
"categoryStats": {},
"dailyEventCounts": [
{
"date": "<string>",
"count": 123
}
],
"geographyCounts": [
{
"country": "<string>",
"count": 123
}
],
"osCounts": [
{
"os": "<string>",
"count": 123
}
],
"trendData": {}
},
"complianceRequests": {
"dailyRequestCounts": [
{
"date": "<string>",
"count": 1
}
],
"dateRangeTotal": 1,
"geographyCounts": [
{
"country": "<string>",
"count": 1
}
],
"resolutionMetrics": {
"avgResolutionDays": 1,
"medianResolutionDays": 1,
"minResolutionDays": 1,
"maxResolutionDays": 1
},
"statusStats": {},
"statusByType": {},
"totalRequests": 1,
"trend": {},
"trendData": {},
"typeStats": {},
"statusByTypeAllTime": {},
"totalRequestsAllTime": 1,
"dateRangeTotalAllTime": 1
}
}