Some products and features are in the process of being renamed. Generative playbook and flow features are also being migrated to a single consolidated console. See the details.
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 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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis API endpoint retrieves a list of test case results, with a maximum of 100 results per test case being stored.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003eGET\u003c/code\u003e request to a specific URL pattern, using the \u003ccode\u003eparent\u003c/code\u003e path parameter to identify the test case.\u003c/p\u003e\n"],["\u003cp\u003eYou can filter the test case results by \u003ccode\u003eenvironment\u003c/code\u003e, \u003ccode\u003etestTime\u003c/code\u003e, and the \u003ccode\u003elatest\u003c/code\u003e flag, using specific syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe API supports pagination with \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters to manage large result sets.\u003c/p\u003e\n"],["\u003cp\u003eThe response contains a list of test case results and a \u003ccode\u003enextPageToken\u003c/code\u003e if there are more results.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.agents.testCases.results.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListTestCaseResultsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nFetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.\n\n### HTTP request\n\n`GET https://{endpoint}/v3/{parent=projects/*/locations/*/agents/*/testCases/*}/results`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/dialogflow/cx/docs/reference/rest#rest_endpoints).\n\nThe URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response message for [TestCases.ListTestCaseResults](/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.testCases.results/list#google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/dialogflow`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]