---
title: "Generate a debug DOT/SVG graph for a flow's pipeline."
method: GET
path: "/api/flows/{id}/debug-graph"
tags: ["flows"]
---

# Generate a debug DOT/SVG graph for a flow's pipeline.

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

This endpoint generates a GraphViz DOT graph of the GStreamer pipeline
and converts it to SVG format. The SVG is returned directly and can be
viewed in a browser.

## Path parameters

- `id` string, required

## Response `200`

SVG debug graph of the pipeline

## Other responses

- `404` — Flow not found or not running
- `500` — Failed to generate graph (Graphviz not installed)

---

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