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.
Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results.
HTTP request
POST https://{endpoint}/v3beta1/{name=projects/*/locations/*/agents/*}:validate
[[["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-03-05 UTC."],[[["This API validates an agent in draft version and provides validation results after training is complete, using a `POST` request to the specified endpoint."],["The `name` path parameter, which is required, specifies the agent to validate in the format `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e`."],["The request body accepts a `languageCode` field to specify the language for validation, defaulting to the agent's default language if unspecified."],["A successful response returns an instance of `AgentValidationResult`."],["Authorization requires specific IAM permissions (`dialogflow.agents.validate`) and either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scopes."]]],[]]