---
title: "Export topology as Mermaid flowchart"
method: GET
path: "/api/v1/topology/{id}/export/mermaid"
tags: ["Topologies"]
---

# Export topology as Mermaid flowchart

`GET /api/v1/topology/{id}/export/mermaid`

## Path parameters

- `id` string, uuid, required

## Query parameters

- `view` 'L2Physical' | 'L3Logical' | 'Workloads' | 'Application' — Which topology view is being rendered

## Response `200`

Mermaid flowchart export

## Other responses

- `403` — Access denied
- `404` — Topology not found

## Changes

- **2026-07-29** `198b17140a11` — 1 info
  - api tag `internal` removed
- **2026-06-21** `87fbc9fdb32c` — 1 info
  - added the new optional `query` request parameter `view`
- **2026-04-20** `f04499e2280f` — 1 warning
  - deleted the `query` request parameter `view`

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/v1/topology/:id/export/mermaid/get.md)

---

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