v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14108906717.7 KB

Creates a prompt router that manages the routing of requests between multiple foundation models based on the routing criteria.

post/prompt-routers

Request body

clientRequestTokenstring

A unique, case-sensitive identifier that you provide to ensure idempotency of your requests. If not specified, the Amazon Web Services SDK automatically generates one for you.

promptRouterNamestring required

The name of the prompt router. The name must be unique within your Amazon Web Services account in the current region.

descriptionstring password

An optional description of the prompt router to help identify its purpose.

Response

Success

promptRouterArnstring

The Amazon Resource Name (ARN) that uniquely identifies the prompt router.