---
title: "Count open tasks in each category"
method: GET
path: "/api/tasks/categories"
---

# Count open tasks in each category

`GET /api/tasks/categories`

## Request

- Base URL: `https://www.toma.com`
- URL: `https://www.toma.com/api/tasks/categories`
- Auth: none required

Every category, in this order, with its count of open tasks (zero included) and the total. Categories: consulting, data, design, engineering, legal, marketing, operations, physical, research, writing, other. Counted by the database in one query and cached for up to 30 seconds. Same as the list_task_categories MCP tool.

## Response `200`

Open-task counts per category.

- object
  - `total` integer, required: Open tasks in every category.
  - `categories` object[], required
    - `id` 'consulting' | 'data' | 'design' | 'engineering' | 'legal' | 'marketing' | 'operations' | 'physical' | 'research' | 'writing' | 'other', required
    - `label` string, required
    - `count` integer, required

---

[API](https://skmtc.dev/toma/apis/toma-api.md) - [All operations](https://skmtc.dev/toma/apis/toma-api/llms.txt) - [OpenAPI document](https://skmtc.dev/toma/apis/toma-api/revisions/b4e56e1db5a2?raw)
