---
title: "Get Comment Thread Statistics"
method: GET
path: "/v1/comment_thread/stats"
tags: ["Comment"]
---

# Get Comment Thread Statistics

`GET /v1/comment_thread/stats`

Retrieve statistics for comment threads based on reference type and main reference ID

## Query parameters

- `reference_type` 'process_section' | 'table' | 'table_view', required
- `main_reference_id` string, uuid

## Response `200`

Successfully retrieved comment thread statistics

- object
  - `metadata` object
  - `data` CommentThreadStats[]
    - `referenceId` string, uuid
    - `openCommentThreads` integer, required
    - `resolvedCommentThreads` integer, required

---

[API](https://skmtc.net/morta-technology/apis/morta-api-reference.md) · [All operations](https://skmtc.net/morta-technology/apis/morta-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/morta-technology/morta-api-reference/revisions/9c58c1c1e7e8/schema)
