Skip to main content

GetAllCompletedTasksArgs

type GetAllCompletedTasksArgs = {
annotateItems?: boolean;
annotateNotes?: boolean;
label?: string | null;
limit?: number;
offset?: number;
projectId?: string | null;
since?: Date | null;
until?: Date | null;
};

Arguments for getting all completed tasks.

See

https://developer.todoist.com/api/v1/#tag/Tasks/operation/get_all_completed_items_api_v1_tasks_completed_get

Properties

annotateItems?

optional annotateItems: boolean;

Include task data in the response.


annotateNotes?

optional annotateNotes: boolean;

Include comment data in the response.


label?

optional label: string | null;

Filter by label name.


limit?

optional limit: number;

Number of results to return (max 200, default 30).


offset?

optional offset: number;

Number of results to skip (default 0).


projectId?

optional projectId: string | null;

Filter by project ID.


since?

optional since: Date | null;

Return items completed after this date.


until?

optional until: Date | null;

Return items completed before this date.