v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14108906717.7 KB

Updates an existing Automated Reasoning policy test. You can modify the content, query, expected result, and confidence threshold.

patch/automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}

Path parameters

policyArnstring required

The Amazon Resource Name (ARN) of the Automated Reasoning policy that contains the test.

testCaseIdstring required

The unique identifier of the test to update.

Request body

guardContentstring password required

The updated content to be validated by the Automated Reasoning policy.

queryContentstring password

The updated input query or prompt that generated the content.

lastUpdatedAtstring date-time required

The timestamp when the test was last updated. This is used as a concurrency token to prevent conflicting modifications.

expectedAggregatedFindingsResult'VALID' | 'INVALID' | 'SATISFIABLE' | 'IMPOSSIBLE' | 'TRANSLATION_AMBIGUOUS' | 'TOO_COMPLEX' | 'NO_TRANSLATION' required

The updated expected result of the Automated Reasoning check.

confidenceThresholdnumber double

The updated minimum confidence level for logic validation. If null is provided, the threshold will be removed.

clientRequestTokenstring

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.

Response

Success

policyArnstring required

The Amazon Resource Name (ARN) of the policy that contains the updated test.

testCaseIdstring required

The unique identifier of the updated test.