---
title: "Get Thread Counts By Channel"
method: GET
path: "/api/channels/thread-counts"
tags: ["channels", "channels"]
---

# Get Thread Counts By Channel

`GET /api/channels/thread-counts`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/channels/thread-counts`
- Auth: none declared

Get thread counts grouped by channel.

Uses the `channel` column directly from the thread table instead of
parsing channel_ref. This makes the query channel-agnostic - adding
a new channel doesn't require modifying this endpoint.

Returns:
    Dict mapping channel name to thread count.
    Example: {"telegram": 214, "instagram": 74, "email": 2750}

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
