---
title: "Get pipeline latency for a running flow."
method: GET
path: "/api/flows/{id}/latency"
tags: ["flows"]
---

# Get pipeline latency for a running flow.

`GET /api/flows/{id}/latency`

Returns the latency information for a running pipeline. The flow must be
started and in PLAYING state for latency information to be available.

## Path parameters

- `id` string, required

## Response `200`

Latency retrieved successfully

- LatencyResponse — Response containing pipeline latency information.
  - `live` boolean, required — Whether the pipeline is a live pipeline
  - `max_latency_formatted` string, required — Maximum latency formatted as human-readable string
  - `max_latency_ns` integer, required — Maximum latency in nanoseconds
  - `min_latency_formatted` string, required — Minimum latency formatted as human-readable string (e.g., "10.5 ms")
  - `min_latency_ns` integer, required — Minimum latency in nanoseconds

## Other responses

- `404` — Flow not running or latency not available

---

[API](https://skmtc.dev/eyevinn/apis/strom-api.md) · [All operations](https://skmtc.dev/eyevinn/apis/strom-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eyevinn/strom-api/revisions/0df7ca64263f/schema)
