action asana_get_task_counts_for_project { label: "Get task count of a project" description: "Get an object that holds task count fields. **All fields are excluded by default**. You must [opt in](/docs/input-output-options) using `opt_fields` to get any information from this endpoint.\n\nThis endpoint has an additional [rate limit](/docs/standard-rate-limits) and each field counts especially high against our [cost limits](/docs/cost-limits).\n\nMilestones are just tasks, so they are included in the `num_tasks`, `num_incomplete_tasks`, and `num_completed_tasks` counts." provider: asana method: GET path: "/projects/{project_gid}/task_counts" encoding: json output: { type: "object" properties: { data: { type: "object" description: "A response object returned from the task count endpoint." properties: { num_completed_milestones: { type: "integer" description: "The number of completed milestones in a project." } num_completed_tasks: { type: "integer" description: "The number of completed tasks in a project." } num_incomplete_milestones: { type: "integer" description: "The number of incomplete milestones in a project." } num_incomplete_tasks: { type: "integer" description: "The number of incomplete tasks in a project." } num_milestones: { type: "integer" description: "The number of milestones in a project." } num_tasks: { type: "integer" description: "The number of tasks in a project." } } } } } }