Audit rule output table (historical)
audit_rule_output_table_historicalGet the detailed output rows for one or more audit rules across multiple historical weeks for one account, as multi-block JSONL: one block per rule/week, starting with a JSON Schema line (marked "metadata": "schema", carrying the tooltips and column data types) followed by one JSON object per main row, its detail rows nested under "children". Every main row carries its "ruleKey" and "week", so the whole body is valid JSONL. Use to compare how findings changed over time. Weeks are identified by their Monday start date. Weeks with no completed run for a rule contribute no block.
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": {
"accountId": "<accountId>",
"ruleKeys": "<ruleKeys>",
"weekStartDates": "<weekStartDates>"
},
"name": "audit_rule_output_table_historical"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional maximum rows per rule per week. | |
| ruleKeys | Yes | One or more audit rule key strings, e.g. "QueryMining_InefficientNGrams". | |
| accountId | Yes | TrueClicks account id to retrieve results for (the numeric Id field from the account listing, not the platform customer id). | |
| campaignIds | No | Optional campaign IDs to filter rows per rule per week. Omit or leave empty to return all rows. | |
| weekStartDates | Yes | Monday week-start dates (yyyy-MM-dd) identifying the weeks to retrieve. |