- [HTTP request](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.testCases.results/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.testCases.results/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.testCases.results/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.testCases.results/list#body.request_body)
- [Response body](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.testCases.results/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.testCases.results/list#body.ListTestCaseResultsResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.testCases.results/list#body.aspect)
- [Try it!](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.testCases.results/list#try-it)

Fetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.

### HTTP request

Choose an endpoint:
global   
`GET https://dialogflow.googleapis.com/v3/{parent=projects/*/locations/*/agents/*/testCases/*}/results`

<br />

The URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.

**OR**

`GET https://{endpoint}/v3/{parent=projects/*/locations/*/agents/*/testCases/*}/results`

Where `{endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest#rest_endpoints).

The URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The test case to list results for. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`. Specify a `-` as a wildcard for TestCase ID to list results across multiple test cases. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `dialogflow.testcases.get` |

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` The maximum number of items to return in a single page. By default 100 and at most 1000. |
| `pageToken` | `string` The nextPageToken value returned from a previous list request. |
| `filter` | `string` The filter expression used to filter test case results. See [API Filtering](https://aip.dev/160). The expression is case insensitive. Only 'AND' is supported for logical operators. The supported syntax is listed below in detail: \[AND \] ... \[AND latest\] The supported fields and operators are: field operator `environment` `=`, `IN` (Use value `draft` for draft environment) `testTime` `>`, `<` `latest` only returns the latest test result in all results for each test case. Examples: \* "environment=draft AND latest" matches the latest test result for each test case in the draft environment. \* "environment IN (e1,e2)" matches any test case results with an environment resource name of either "e1" or "e2". \* "testTime \> 1602540713" matches any test case results with test time later than a unix timestamp in seconds 1602540713. |

### Request body

The request body must be empty.

### Response body

The response message for `https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.testCases.results/list#google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults`.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "testCaseResults": [ { object (`https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.testCases.results#TestCaseResult`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `testCaseResults[]` | ``object (`https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.testCases.results#TestCaseResult`)`` The list of test case results. |
| `nextPageToken` | `string` Token to retrieve the next page of results, or empty if there are no more results in the list. |

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-platform`
- `
  https://www.googleapis.com/auth/dialogflow`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).