---
title: "Get Topology by ID"
method: GET
path: "/api/v1/topology/{id}"
tags: ["Topologies"]
---

# Get Topology by ID

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

## Path parameters

- `id` string, uuid, required

## Response `200`

Topology found

- ApiResponseTopology
  - `data` object
    - `edges` object
    - `network_id` string, uuid, required
    - `nodes` object
    - `options` TopologyOptions, required
      - `local` TopologyLocalOptions, required
        - `bundle_edges` boolean
        - `hide_edge_types` EdgeTypeDiscriminants[], required
        - `no_fade_edges` boolean, required
        - `show_minimap` boolean
        - `tag_filter` TopologyTagFilter — Filter settings for hiding entities by tag in topology visualization.
          - `hidden_host_tag_ids` string[] — Host tag IDs to hide (hosts with these tags will fade out)
          - `hidden_service_tag_ids` string[] — Service tag IDs to hide (services with these tags will be hidden from nodes)
          - `hidden_subnet_tag_ids` string[] — Subnet tag IDs to hide (subnets with these tags will fade out)
      - `request` TopologyRequestOptions, required
        - `container_rules` object
        - `element_rules` IdentifiedRuleElementRule[]
          - `id` string, uuid, required
          - `rule` union, required — Rules that organize nodes within a container into sub-groups.
            - object
              - …
            - object
              - …
            - 'ByHypervisor'
            - 'ByContainerRuntime'
            - 'ByStack'
            - 'ByTrunkPort' — Groups trunk ports (ports with tagged VLANs) into a "Trunk Ports" subcontainer. Higher priority than ByVLAN — prevents trunk ports from being grouped by VLAN.
            - 'ByVLAN' — Groups access ports by their native VLAN ID into per-VLAN subcontainers.
            - 'ByPortOpStatus' — Groups ports by operational status (Up, Down, etc.) into per-status subcontainers.
        - `hide_entities` object — Entity types hidden per view. Keyed by TopologyView, values are entity types (matching those declared as container/element/inline in the view's element_config). Hides every manifestation of the entity in that view — element nodes, container nodes, and inline rows on element cards. Supersedes the old `hide_ports` (L3-only, inline-only).
        - `hide_metadata_values` object — Generic per-(view, entity, filter) hide-set for metadata filters (Category, Virtualization, etc). Supersedes the old `hide_service_categories`; nested so JSON keys are strings all the way down.
        - `view` 'L2Physical' | 'L3Logical' | 'Workloads' | 'Application' — Which topology view is being rendered
    - `snapshot_id` string, uuid, nullable — FK to `snapshots.id`. NULL = live view; Some = snapshot row.
    - `created_at` string, date-time, required
    - `id` string, uuid, required
    - `updated_at` string, date-time, required
  - `error` string, nullable
  - `meta` ApiMeta, required — API metadata included in all responses
    - `api_version` integer, required — API version (integer, increments on breaking changes)
    - `server_version` string, required — Server version (semver)
  - `success` boolean, required

## Other responses

- `404` — Topology not found

## Changes

- **2026-06-21** `87fbc9fdb32c` — 4 breaking, 2 info
  - the response property `data/allOf[#/components/schemas/TopologyBase]/edges` became optional for the status `200`
  - the response property `data/allOf[#/components/schemas/TopologyBase]/nodes` became optional for the status `200`
  - the `data/allOf[#/components/schemas/TopologyBase]/edges` response's property type/format changed from `array`/`` to `object`/`` for status `200`
  - the `data/allOf[#/components/schemas/TopologyBase]/nodes` response's property type/format changed from `array`/`` to `object`/`` for status `200`
  - …2 more
- **2026-06-20** `762f949af7a3` — 1 warning
  - added the new `Integration` enum value to the `data/allOf[#/components/schemas/TopologyBase]/options/request/element_rules/items/rule/oneOf[subschema #1]/ByServiceCategory/categories/items/` response property for the response status `200`
- **2026-05-03** `d38c20597ec1` — 22 breaking, 6 warning, 1 info
  - removed the required property `data/allOf[#/components/schemas/TopologyBase]/bindings` from the response with the `200` status
  - removed the required property `data/allOf[#/components/schemas/TopologyBase]/dependencies` from the response with the `200` status
  - removed the required property `data/allOf[#/components/schemas/TopologyBase]/entity_tags` from the response with the `200` status
  - removed the required property `data/allOf[#/components/schemas/TopologyBase]/hosts` from the response with the `200` status
  - …25 more
- …earlier changes not shown

[Full history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/v1/topology/:id/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/87fbc9fdb32c/schema)
