---
title: "GET /v1/orgs/{org_id}/clustering/stats"
method: GET
path: "/v1/orgs/{org_id}/clustering/stats"
tags: ["Pattern Stats", "AI", "ServedByMCP"]
---

# GET /v1/orgs/{org_id}/clustering/stats

`GET /v1/orgs/{org_id}/clustering/stats`

Returns top log patterns (signatures of log messages) and their stats; count, proportion, sentiment and delta.

## Path parameters

- `org_id` string, required

## Query parameters

- `query` string
- `summary` boolean
- `limit` string
- `lookback` string
- `from` string
- `to` string
- `groupby` string
- `volatility` string
- `offset` string
- `window` string
- `negative` boolean

## Response `200`

OK

- CoreClusterStatResponse
  - `stats` CoreClusterStat[]
    - `anomaly` number — DEPRECATED AnomalyScore is the cluster's anomaly score
    - `count` integer — Count of cluster in the window
    - `delta` number — Delta is the percentage increase of this cluster's count compared to previous window.
    - `offset_counts` integer[] — DEPRECATED OffsetCounts is counts of cluster in previous offset windows.
    - `offset_deltas` number[] — DEPRECATED OffsetDeltas is the percentage increase of this cluster's count compared to previous windows.
    - `offset_proportions` number[] — DEPRECATED OffsetProportions is proportions of this cluster's count within all clusters counts in previous windows.
    - `past_count` integer — DEPRECATED PastCount is count of cluster in previous window.
    - `past_proportion` number — DEPRECATED PastProportion is proportion of this cluster's count within all clusters counts in previous window.
    - `pattern` string — Pattern of the cluster
    - `proportion` number — Proportion of this cluster to rest of the cluster. Rest of the cluster can be scoped to tag or source.
    - `sentiment` number — Sentiment analysis results

---

[API](https://skmtc.net/edgedelta/apis/edge-delta-api.md) · [All operations](https://skmtc.net/edgedelta/apis/edge-delta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/edgedelta/edge-delta-api/revisions/ae0e90c2c794/schema)
