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

# Export topology as Mermaid flowchart

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

## Request

- Base URL: `https://app.scanopy.net`
- URL: `https://app.scanopy.net/api/v1/topologies/{id}/export/mermaid`
- Auth: one of:
  - API key in header `Authorization`
  - API key in cookie `session_id`

## 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

- `402`: Mermaid export not available on plan
- `403`: Access denied
- `404`: Topology not found

## Changes

- **2026-10-26** `c9d9d46d1ae8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/v1/topologies/: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.dev/scanopy/apis/scanopy-api/revisions/966ba786bdb5?raw)
