---
title: "Pipeline performance"
method: GET
path: "/internal/metrics/pipeline-performance"
tags: ["Internal Metrics"]
---

# Pipeline performance

`GET /internal/metrics/pipeline-performance`

Internal endpoint (requires JWT). Aggregates average duration by pipeline and stage. Do not expose publicly.

## Query parameters

- `hours` number

## Response `200`

- MetricsPipelinePerformanceResponseDto
  - `statusCode` number, required
  - `type` string, required
  - `data` MetricsPipelinePerformanceDto[], required
    - `pipeline` string, required
    - `stage` string, required
    - `avgDurationMs` number, required
    - `count` number, required

---

[API](https://skmtc.net/kodustech/apis/kodus-api.md) · [All operations](https://skmtc.net/kodustech/apis/kodus-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kodustech/kodus-api/revisions/e2282ac5fb3a/schema)
