Interface: ActivityCountsRequest
Defined in: packages/sdk/src/types/generated/activity_feed.ts:110
What a badge needs, and nothing more.
Deliberately not "a query with pageSize=0": a badge asks a different
question — how many, in total, right now — and giving it its own endpoint
keeps it off the paging machinery and makes the audit record honest about
what was read.
groupBy is optional and is not a second aggregation: when it is a
workspace grouping, the totals omit org-scope and account-scope rollup
rows, matching the aggregate query that grouping actually renders. A badge
that does not pass it still counts every authorized row.
Properties
eventTypes?
optionaleventTypes:ActivityEventType[]
Defined in: packages/sdk/src/types/generated/activity_feed.ts:112
groupBy?
optionalgroupBy:ActivityGroupBy|null
Defined in: packages/sdk/src/types/generated/activity_feed.ts:114
includeOpenItems?
optionalincludeOpenItems:boolean
Defined in: packages/sdk/src/types/generated/activity_feed.ts:115
scope?
optionalscope:ActivityQueryScope
Defined in: packages/sdk/src/types/generated/activity_feed.ts:113
window?
optionalwindow:ActivityWindow|null
Defined in: packages/sdk/src/types/generated/activity_feed.ts:111