Topics
Get latest raw metrics for a topic
Returns the latest raw metric values (per partition / task / context) for a single topic, before the aggregation that produces the lineage and observability metrics.
Intended for debugging discrepancies between the raw values and the aggregated metrics. 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
Request
- Base URLhttps://api.streamkap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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).
metric_namesstring nullable
Comma-separated metric_name filter. Omit to return every metric_name seen in the window.
include_destinationsboolean
include_qaboolean
Response
Successful Response
Changes
No recorded changes to this operation across all 10 revisions of this API.