List Observability Patterns
list_observability_patternsList clustered log patterns with counts and compare them against the previous window to find frequent or changing errors; filter by service, severity, or pattern.
Instructions
List log patterns (clustered log templates) with counts against the previous window of the same length. Only service:, severity: and pattern: filters apply; others are echoed in meta.ignored_filters. Each pattern's logs_query drills into matching rows with GET /v1/observability/logs; it is omitted when that query would exceed the /logs length or clause limits. Requires a personal or Global API key (Team API Keys are group-scoped and get 403 unsupported_api_key) or an OAuth token with the obs.logs:read (or all) scope, and the Observability logs read permission. A Global API key uses its service user's Observability role, which starts as the team's default Observability role. Limited to 60 requests per minute per token; on this endpoint the X-RateLimit-* headers report that per-minute budget, not the default API limit. Every 429 returns the errors envelope with code rate_limited and a Retry-After header.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | `count` for the most frequent patterns, `change` for the biggest change against the previous window. | count |
| filter_to | No | Window end: ISO8601 or relative like `now`. Defaults to `now`. | |
| page_size | No | Number of top patterns to return (1-25, default 15), ordered by sort. Not paginated: meta.truncated is true when more patterns matched; narrow filter[query] to see them. | |
| filter_from | No | Window start: ISO8601 or relative like `now-6h`. Defaults to `now-1h`. At most 7 days long, within the last 30 days. | |
| filter_query | No | Query using `service:`, `severity:` and `pattern:` filters, e.g. `service:checkout severity:error`. | |
| filter_flagged | No | Only patterns flagged by a detector (new, spike, error surge). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||