---
title: "List all selected routes"
method: GET
path: "/api/v1/admin/routes/selected"
tags: ["Admin", "Route"]
---

# List all selected routes

`GET /api/v1/admin/routes/selected`

List all selected routes in the system, and their next hop identifier, metric and sequence number.
It is possible for a route to be selected and have an infinite metric. This route will however not forward packets.

## Response `200`

Success

- Route[]
  - `subnet` string — The overlay subnet for which this is the route
  - `nextHop` string — A way to identify the next hop of the route, where forwarded packets will be sent
  - `metric` union — The metric of the route, an estimation of how long the packet will take to arrive at its final destination
    - integer — A finite metric value
    - string — An infinite (unreachable) metric. This is always `infinite`
  - `seqno` integer — the sequence number advertised with this route by the source

---

[API](https://skmtc.net/threefoldtech/apis/mycelium-management.md) · [All operations](https://skmtc.net/threefoldtech/apis/mycelium-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/threefoldtech/mycelium-management/versions/65042c1a7b84/schema)
