v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14108906717.7 KB

Creates an advanced prompt optimization job. The job optimizes your prompt templates for specific models using your evaluation dataset and criteria.

post/advanced-prompt-optimization-jobs

Request body

jobNamestring required

The name of an advanced prompt optimization job.

jobDescriptionstring

The description of an advanced prompt optimization job.

clientTokenstring

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.

encryptionKeyArnstring

The Amazon Resource Name (ARN) of the KMS key used for encrypting the output data. If not specified, the output is encrypted with an Amazon-owned KMS key.

Response

Success

jobArnstring required

The Amazon Resource Name (ARN) of the created advanced prompt optimization job.