{"version":"0.43.0","id":"kanvas.analytics.read","operationId":"kanvas.analytics.read","title":"analytics read","requiredInputs":[],"description":"Aggregate recorded activity by UTC day/type, including byDateAndType matrix (date, type, events) for custom grouped/stacked charts. Existing daily/byType totals and ready-to-publish chart remain. Account scope is available to regular users under their current grants; group scope requires groupId and group admin. Service scope is restricted to deployment-configured service administrators, never inferred from session ownership.","guidance":"Aggregate own activity for charts. Service scope is protected by configured administration.","inputSchema":{"type":"object","properties":{"sessionId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},"groupId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},"since":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"until":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"type":{"type":"string","pattern":"^[a-z][a-z0-9_.-]{0,99}$"},"scope":{"default":"account","type":"string","enum":["account","group","service"]}},"additionalProperties":false,"examples":[{"scope":"account"}]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"examples":[{"tool":"kanvas_call","arguments":{"operationId":"kanvas.analytics.read","arguments":{"scope":"account"}}}],"exampleNotice":"Examples are valid syntax with illustrative IDs and source data. Substitute live authorized IDs/revisions; examples never grant consent."}