latestSwagger 2.02026-08-2358186392.0 KB

ae0e90c2c794

Pattern Stats
AI
ServedByMCP

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

get/v1/orgs/{org_id}/clustering/stats

Path parameters

org_idstring required

Org ID

Query parameters

querystring

Edge Delta Common Query Language expression

summaryboolean

If summary true call returns up to 50 interesting clusters with 10 top anomaly, top/bottom delta, top/bottom count. Param size is ignored

limitstring

Max number of clusters in response. For AI search, limit should be 20.

lookbackstring

Lookback period in golang duration format. e.g. '1h'. Either provide from/to or provide lookback/to or just lookback

fromstring

From datetime in ISO format 2006-01-02T15:04:05.000Z

tostring

To datetime in ISO format 2006-01-02T15:04:05.000Z

groupbystring

Comma separated fields to group by

volatilitystring

Valatility can be new, existing, gone, all. Default is all

offsetstring

Comma separated offsets for delta stat calculation. Each offset is in golang duration format and order of offsets determines order of offset_ fields in cluster stat response. Default value is lookback duration. e.g. '24h'.

windowstring

Window for on demand anomaly calculation histogram series. e.g. '5m', '1h', '2d'. Combined values like '5m3s' are NOT supported.

negativeboolean

Negative param is used to get negative sentiments.

Response

OK