---
title: "GET /flows/instances/{slug}/diagram/"
method: GET
path: "/flows/instances/{slug}/diagram/"
tags: ["flows"]
---

# GET /flows/instances/{slug}/diagram/

`GET /flows/instances/{slug}/diagram/`

Return diagram for flow with slug `slug`, in the format used by flowchart.js

## Path parameters

- `slug` string, required — Visible in the URL.

## Response `200`

- FlowDiagram — response of the flow's diagram action
  - `diagram` string, required

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
