---
title: "Get network topology for authenticated user"
method: GET
path: "/network-topology"
tags: ["Network Topology"]
---

# Get network topology for authenticated user

`GET /network-topology`

Retrieves the saved network topology graph (nodes and edges) for the current user. Returns null if no topology exists.

## Response `200`

Network topology retrieved successfully

- object, nullable
  - `nodes` object[] — Array of graph nodes (hosts and groups)
    - `data` object — Node data including id, label, type, etc.
    - `position` object — Node position coordinates
      - `x` number
      - `y` number
  - `edges` object[] — Array of graph edges (connections)
    - `data` object — Edge data including source and target node ids

## Other responses

- `401` — User not authenticated
- `500` — Server error

---

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