Creates a test for an Automated Reasoning policy. Tests validate that your policy works as expected by providing sample inputs and expected outcomes. Use tests to verify policy behavior before deploying to production.
Path parameters
The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to create the test.
Request body
The output content that's validated by the Automated Reasoning policy. This represents the foundation model response that will be checked for accuracy.
The input query or prompt that generated the content. This provides context for the validation.
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
The minimum confidence level for logic validation. Content that meets the threshold is considered a high-confidence finding that can be validated.
Response
Success
The Amazon Resource Name (ARN) of the policy for which the test was created.
The unique identifier of the created test.