View information about prompts using Prompt management
To learn how to view information about prompts using Prompt management, choose the tab for your preferred method, and then follow the steps:
- Console
-
To view information about a prompt
-
Sign in to the AWS Management Console with an IAM identity that has permissions to use the Amazon Bedrock console. Then, open the Amazon Bedrock console at https://console.aws.amazon.com/bedrock
. -
Select Prompt management from the left navigation pane. Then, choose a prompt in the Prompts section.
-
The Prompt details page includes the following sections:
-
Overview – Contains general information about the prompt and when it was created and last updated.
-
Prompt draft – Contains the prompt message and configurations for the latest saved draft version of the prompt.
-
Prompt versions – A list of all versions of the prompt that have been created. For more information about prompt versions, see Deploy a prompt to your application using versions in Prompt management.
-
-
- API
-
To get information about a prompt, send a GetPrompt request with an Agents for Amazon Bedrock build-time endpoint and specify the ARN or ID of the prompt as the
promptIdentifier. To get information about a specific version of the prompt, specifyDRAFTor the version number in thepromptVersionfield.To list information about your agents, send a ListPrompts request with an Agents for Amazon Bedrock build-time endpoint. You can specify the following optional parameters:
Field Short description maxResults The maximum number of results to return in a response. nextToken If there are more results than the number you specified in the maxResultsfield, the response returns anextTokenvalue. To see the next batch of results, send thenextTokenvalue in another request.