Create a version of a prompt in Prompt management - Amazon Bedrock

Create a version of a prompt in Prompt management

To learn how to create a version of your prompt, select the tab corresponding to your method of choice and follow the steps.

Console

If you're in the prompt builder, you can create a version of your prompt by choosing Create version. Otherwise, do the following:

To create a version of your prompt
  1. Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at Getting Started with the AWS Management Console.

  2. Select Prompt management from the left navigation pane. Then, choose a prompt in the Prompts section.

  3. In the Prompt versions section, choose Create version to take a snapshot of your draft version.

API

To create a version of your prompt, send a CreatePromptVersion request (see link for request and response formats and field details) with an Agents for Amazon Bedrock build-time endpoint and specify the ARN or ID of the prompt as the promptIdentifier.

The response returns an ID and ARN for the version. Versions are created incrementally, starting from 1.