Asana · Schema

TaskCountResponse

A response object returned from the task count endpoint.

CollaborationProductivityProject ManagementProjectsTask ManagementTasksWorkflow

Properties

Name Type Description
num_tasks integer The number of tasks in a project.
num_incomplete_tasks integer The number of incomplete tasks in a project.
num_completed_tasks integer The number of completed tasks in a project.
num_milestones integer The number of milestones in a project.
num_incomplete_milestones integer The number of incomplete milestones in a project.
num_completed_milestones integer The number of completed milestones in a project.
View JSON Schema on GitHub

JSON Schema

asana-taskcountresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TaskCountResponse",
  "title": "TaskCountResponse",
  "description": "A response object returned from the task count endpoint.",
  "type": "object",
  "properties": {
    "num_tasks": {
      "description": "The number of tasks in a project.",
      "type": "integer",
      "example": 200
    },
    "num_incomplete_tasks": {
      "description": "The number of incomplete tasks in a project.",
      "type": "integer",
      "example": 50
    },
    "num_completed_tasks": {
      "description": "The number of completed tasks in a project.",
      "type": "integer",
      "example": 150
    },
    "num_milestones": {
      "description": "The number of milestones in a project.",
      "type": "integer",
      "example": 10
    },
    "num_incomplete_milestones": {
      "description": "The number of incomplete milestones in a project.",
      "type": "integer",
      "example": 7
    },
    "num_completed_milestones": {
      "description": "The number of completed milestones in a project.",
      "type": "integer",
      "example": 3
    }
  }
}