{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-list-prompt-routers-response-schema.json",
  "title": "ListPromptRoutersResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-prompt-routers-api-openapi.yml#/components/schemas/ListPromptRoutersResponse",
  "type": "object",
  "properties": {
    "promptRouterSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PromptRouterSummary"
      },
      "description": "A list of prompt router summaries."
    },
    "nextToken": {
      "type": "string",
      "description": "Specify the pagination token from a previous request to retrieve the next page of results."
    }
  },
  "$defs": {
    "PromptRouterSummary": {
      "type": "object",
      "properties": {
        "promptRouterName": {
          "type": "string",
          "description": "The router's name."
        },
        "routingCriteria": {
          "$ref": "#/$defs/RoutingCriteria"
        },
        "description": {
          "type": "string",
          "description": "The router's description."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "When the router was created."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "When the router was updated."
        },
        "promptRouterArn": {
          "type": "string",
          "description": "The router's ARN."
        },
        "models": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PromptRouterTargetModel"
          },
          "description": "The router's models."
        },
        "fallbackModel": {
          "$ref": "#/$defs/PromptRouterTargetModel"
        },
        "status": {
          "type": "string",
          "enum": [
            "AVAILABLE"
          ],
          "description": "The router's status."
        },
        "type": {
          "type": "string",
          "enum": [
            "custom",
            "default"
          ],
          "description": "The summary's type."
        }
      },
      "required": [
        "promptRouterName",
        "routingCriteria",
        "promptRouterArn",
        "models",
        "fallbackModel",
        "status",
        "type"
      ]
    },
    "PromptRouterTargetModel": {
      "type": "object",
      "properties": {
        "modelArn": {
          "type": "string",
          "description": "The target model's ARN."
        }
      },
      "required": [
        "modelArn"
      ]
    },
    "RoutingCriteria": {
      "type": "object",
      "properties": {
        "responseQualityDifference": {
          "type": "number",
          "description": "The criteria's response quality difference."
        }
      },
      "required": [
        "responseQualityDifference"
      ]
    }
  }
}