---
title: "Count tasks matching optional filters (chatId, state, userId, agentId)"
method: GET
path: "/tasks/count"
tags: ["Tasks"]
---

# Count tasks matching optional filters (chatId, state, userId, agentId)

`GET /tasks/count`

## Request

- Base URL: `https://api.ziggsai.com`
- URL: `https://api.ziggsai.com/tasks/count`
- Auth: HTTP bearer

## Response `200`

OK

- TaskCountResponseSchema
  - `count` number, required

---

[API](https://skmtc.dev/ziggsai/apis/ziggs-developer-api.md) · [All operations](https://skmtc.dev/ziggsai/apis/ziggs-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ziggsai/apis/ziggs-developer-api/revisions/eda79030e072?raw)
