Skip to main content

GetProjectActivityStatsArgs

type GetProjectActivityStatsArgs = {
eventType?: InsightsEventType;
includeWeeklyCounts?: boolean;
objectType?: InsightsObjectType;
weeks?: number;
};

Arguments for getting project activity stats.

See

https://developer.todoist.com/api/v1/#tag/Insights/operation/get_project_activity_stats_api_v1_projects__project_id__insights_activity_stats_get

Properties

eventType?

optional eventType: InsightsEventType;

The type of event to count (default: 'COMPLETED').


includeWeeklyCounts?

optional includeWeeklyCounts: boolean;

Whether to include weekly rollup counts in the response.


objectType?

optional objectType: InsightsObjectType;

The type of object to get activity counts for (default: 'ITEM').


weeks?

optional weeks: number;

Number of weeks of activity counts to retrieve (1-12, default 2).