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 flow and creates or updates validation results. Please call this API after the training is completed to get the complete validation results.
HTTP request
POST https://{endpoint}/v3/{name=projects/*/locations/*/agents/*/flows/*}: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 call validates a specified flow and creates or updates validation results, which should be called after training is complete to get the full results."],["The HTTP request method is `POST` to a specific endpoint URL structure: `https://{endpoint}/v3/{name=projects/*/locations/*/agents/*/flows/*}:validate`, with the endpoint needing to be one of the supported service endpoints."],["The `name` path parameter is required, following the format: `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/flows/\u003cFlowID\u003e`, with the appropriate IAM permission, `dialogflow.flows.validate`, needed for authorization."],["The request body is in JSON format containing the field `languageCode`, which if unspecified, will use the agent's default language."],["The API requires one of the following OAuth scopes for authorization: `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow`."]]],[]]