---
title: "GET /v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes"
method: GET
path: "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes"
---

# GET /v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes

`GET /v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes`

Returns a list of existing routes in a service mesh.

## Path parameters

- `meshName` string, required
- `virtualRouterName` string, required

## Query parameters

- `limit` integer
- `meshOwner` string
- `nextToken` string

## Response `200`

Success

- ListRoutesOutput — <zonbook></zonbook><xhtml></xhtml>
  - `nextToken` string — The <code>nextToken</code> value to include in a future <code>ListRoutes</code> request. When the results of a <code>ListRoutes</code> request exceed <code>limit</code>, you can use this value to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.
  - `routes` RouteRef[], required — The list of existing routes for the specified service mesh and virtual router.
    - `arn` string, required — The full Amazon Resource Name (ARN) for the route.
    - `createdAt` string, date-time, required — The Unix epoch timestamp in seconds for when the resource was created.
    - `lastUpdatedAt` string, date-time, required — The Unix epoch timestamp in seconds for when the resource was last updated.
    - `meshName` string, required — The name of the service mesh that the route resides in.
    - `meshOwner` string, required — The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working with shared meshes</a>.
    - `resourceOwner` string, required — The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working with shared meshes</a>.
    - `routeName` string, required — The name of the route.
    - `version` integer, required — The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
    - `virtualRouterName` string, required — The virtual router that the route is associated with.

## Other responses

- `480` — NotFoundException
- `481` — BadRequestException
- `482` — TooManyRequestsException
- `483` — ForbiddenException
- `484` — ServiceUnavailableException
- `485` — InternalServerErrorException

---

[API](https://skmtc.net/aws/apis/appmesh.md) · [All operations](https://skmtc.net/aws/apis/appmesh/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/appmesh/versions/bfbda8660009/schema)
