v1

OpenAPI 3.1.0Proprietary2026-07-13197242444.9 KB
Topics

Get latest raw metrics for a topic

Returns the latest raw metric values (per partition / task / context) from the ClickHouse metrics and metrics_qa tables for a single topic — bypassing the materialized-view aggregation that powers the lineage / observability surfaces.

Intended for debugging discrepancies between what raw CH holds and what the UI renders. Returns one row per (metric_name, partition, task, context); the caller is responsible for aggregating across partitions if needed (sum for lag, max for latency, etc.).

get/topics/{topic_id}/raw-metrics

Path parameters

topic_idstring required

Query parameters

sincestring

Lookback window. Accepts '<int><unit>' where unit ∈ {s,m,h,d}. Defaults to 15m, capped at 3d (raw-table TTL).

Lookback window. Accepts '<int><unit>' where unit ∈ {s,m,h,d}. Defaults to 15m, capped at 3d (raw-table TTL).

metric_namesstring nullable

Comma-separated metric_name filter. Omit to return every metric_name seen in the window.

Comma-separated metric_name filter. Omit to return every metric_name seen in the window.

include_destinationsboolean
include_qaboolean

Response

Successful Response

topic_idstring required
sincestring date-time required