---
title: "GET /prompt-routers"
method: GET
path: "/prompt-routers"
---

# GET /prompt-routers

`GET /prompt-routers`

Retrieves a list of prompt routers.

## Query parameters

- `maxResults` integer
- `nextToken` string
- `type` 'custom' | 'default'

## Response `200`

Success

- ListPromptRoutersResponse
  - `promptRouterSummaries` PromptRouterSummary[] — A list of prompt router summaries.
    - `promptRouterName` string, required — The router's name.
    - `routingCriteria` object, required — The router's routing criteria.
      - `responseQualityDifference` number, double, required — The criteria's response quality difference.
    - `description` string, password — The router's description.
    - `createdAt` string, date-time — When the router was created.
    - `updatedAt` string, date-time — When the router was updated.
    - `promptRouterArn` string, required — The router's ARN.
    - `models` PromptRouterTargetModel[], required — The router's models.
      - `modelArn` string, required — The target model's ARN.
    - `fallbackModel` object, required — The router's fallback model.
      - `modelArn` string, required — The target model's ARN.
    - `status` 'AVAILABLE', required — The router's status.
    - `type` 'custom' | 'default', required — The summary's type.
  - `nextToken` string — Specify the pagination token from a previous request to retrieve the next page of results.

## Other responses

- `480` — AccessDeniedException
- `481` — ValidationException
- `482` — InternalServerException
- `483` — ThrottlingException

---

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