---
title: "GET /automated-reasoning-policies/{policyArn}/test-cases"
method: GET
path: "/automated-reasoning-policies/{policyArn}/test-cases"
---

# GET /automated-reasoning-policies/{policyArn}/test-cases

`GET /automated-reasoning-policies/{policyArn}/test-cases`

Lists tests for an Automated Reasoning policy. We recommend using pagination to ensure that the operation returns quickly and successfully.

## Path parameters

- `policyArn` string, required

## Query parameters

- `nextToken` string
- `maxResults` integer

## Response `200`

Success

- ListAutomatedReasoningPolicyTestCasesResponse
  - `testCases` AutomatedReasoningPolicyTestCase[], required — A list of tests for the specified policy.
    - `testCaseId` string, required — The unique identifier of the test.
    - `guardContent` string, password, required — The output content to be validated by the policy, typically representing a foundation model response.
    - `queryContent` string, password — The input query or prompt that generated the content. This provides context for the validation.
    - `expectedAggregatedFindingsResult` 'VALID' | 'INVALID' | 'SATISFIABLE' | 'IMPOSSIBLE' | 'TRANSLATION_AMBIGUOUS' | 'TOO_COMPLEX' | 'NO_TRANSLATION' — The expected result of the Automated Reasoning check for this test.
    - `createdAt` string, date-time, required — The timestamp when the test was created.
    - `updatedAt` string, date-time, required — The timestamp when the test was last updated.
    - `confidenceThreshold` number, double — The minimum confidence level for logic validation. Content meeting this threshold is considered high-confidence and can be validated.
  - `nextToken` string — The pagination token to use in a subsequent request to retrieve the next page of results.

## Other responses

- `480` — ResourceNotFoundException
- `481` — AccessDeniedException
- `482` — ValidationException
- `483` — InternalServerException
- `484` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/bedrock.md) · [All operations](https://skmtc.net/aws/apis/bedrock/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/bedrock/versions/3bc874e43ecd/schema)
