Required. The project that the agent is associated with. Format:projects/<Project ID>.
Authorization requires the followingIAMpermission on the specified resourceparent:
dialogflow.agents.get
Query parameters
Parameters
languageCode
string
Optional. The language for which you want a validation result. If not specified, the agent's default language is used.Many languagesare supported. Note: languages must be enabled in the agent before they can be used.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance ofValidationResult.
[[["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 endpoint retrieves the validation result of an agent, which is automatically updated after training is completed.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses a GET method with a URL structure that includes the project ID as a required path parameter, in this format: \u003ccode\u003eprojects/<Project ID>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAn optional query parameter, \u003ccode\u003elanguageCode\u003c/code\u003e, can specify the language for the validation result, and if omitted, it will default to the agent's default language.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty, and a successful response will return an instance of \u003ccode\u003eValidationResult\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/dialogflow\u003c/code\u003e OAuth scopes.\u003c/p\u003e\n"]]],[],null,["# Method: projects.agent.getValidationResult\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- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.\n\n### HTTP request\n\n`GET https://{endpoint}/v2/{parent=projects/*}/agent/validationResult`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/dialogflow/es/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\nIf successful, the response body contains an instance of [ValidationResult](/dialogflow/es/docs/reference/rest/v2/ValidationResult).\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)."]]