---
search:
  tags:
    - Topics
    - GET
seo:
  description: >-
    Returns the latest raw metric values (per partition / task / context)…
    Reference for the GET /topics/{topic_id}/raw-metrics endpoint in the
    Streamkap REST API.
sidebar:
  label: Get latest raw metrics for a topic
  badge: GET
title: Get latest raw metrics for a topic
type: openapi-operation
---
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`
