Skip to main content

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?

optional eventTypes: ActivityEventType[]

Defined in: packages/sdk/src/types/generated/activity_feed.ts:112


groupBy?

optional groupBy: ActivityGroupBy | null

Defined in: packages/sdk/src/types/generated/activity_feed.ts:114


includeOpenItems?

optional includeOpenItems: boolean

Defined in: packages/sdk/src/types/generated/activity_feed.ts:115


scope?

optional scope: ActivityQueryScope

Defined in: packages/sdk/src/types/generated/activity_feed.ts:113


window?

optional window: ActivityWindow | null

Defined in: packages/sdk/src/types/generated/activity_feed.ts:111