Skip to main content
GET
/
organizations
/
{organizationId}
/
metrics
Get dashboard metrics
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
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
string<uuid>
required

Query Parameters

endDate
string<date-time>
required
project
string<uuid>[]
startDate
string<date-time>
required

Response

Default Response

sessions
object
required
complianceRequests
object
required