Summarise the consent choices visitors made on one app, by day
account.getConsentSummaryReturns daily totals only — never an individual visitor, IP address, email or consent record — of the consent choices visitors made on one of your apps, for the last days complete days ending yesterday (UTC; 1-29, default 29). Today is not included: its figures are added after the day ends. Each day gives three groups and the day's total. Full consent: Highest level stored. On the newer banner, every category allowed; on the older (v1) banner, almost always every category, but not always. Partial: Middle level stored: some categories allowed, not all. Essential only: Lowest level stored: only what the site needs to work (almost always). A group is the consent level the banner stored, not which button was pressed: use these group names and pass on the notes in the result. shares are percent of the three groups together, not of total. Counts cover complete days only, and the most recent day can arrive a few hours after midnight UTC. A day missing from days means no counts yet, or none recorded — never report it as zero. Full consent logs, record by record, are exported by the customer from the Cookie Compliance dashboard at the consentLogsUrl in the result. Call account.listApps first if you do not have the appID.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"appID": "<appID>"
},
"name": "account.getConsentSummary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many complete days to cover, ending yesterday (UTC); today is never included because its figures are added after the day ends. 1-29, default 29 — the most the consent data reaches back. | |
| appID | Yes | The app to summarise. Get it from account.listApps rather than asking the customer. |