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

# Get debug information for a running flow.

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

Returns pipeline timing information including base_time, clock_time, and
running_time. This is useful for debugging AES67/RFC 7273 RTP timestamp
issues where precise clock synchronization is critical.

## Path parameters

- `id` string, required

## Response `200`

Debug information retrieved successfully

- FlowDebugInfo — Debug information for a running flow's pipeline. Provides detailed timing, clock, and state information for troubleshooting.
  - `base_time_ns` integer, nullable — Pipeline base_time in nanoseconds (reference point for running_time calculation)
  - `clock_time_ns` integer, nullable — Current clock time in nanoseconds
  - `clock_type` string, nullable — Clock type being used (e.g., "PTP", "Monotonic", "Realtime")
  - `element_count` integer, nullable — Number of elements in the pipeline
  - `flow_id` string, uuid, required — The flow ID
  - `flow_name` string, required — The flow name
  - `is_live` boolean, nullable — Whether this is a live pipeline
  - `latency_formatted` string, nullable — Human-readable latency
  - `latency_max_ns` integer, nullable — Maximum pipeline latency in nanoseconds
  - `latency_min_ns` integer, nullable — Minimum pipeline latency in nanoseconds
  - `pipeline_state` string, nullable — Pipeline state (Playing, Paused, etc.)
  - `ptp_grandmaster` string, nullable — PTP grandmaster clock ID (only if using PTP clock)
  - `running_time_formatted` string, nullable — Human-readable running_time (how long the pipeline has been playing)
  - `running_time_ns` integer, nullable — Current running time in nanoseconds (clock_time - base_time)

## Other responses

- `404` — Flow not running

---

[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)
