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}/v3beta1/{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}/v3beta1/{name=projects/*/locations/*/agents/*/flows/*}:validate`."],["The `name` parameter in the path is required and follows the format: `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/flows/\u003cFlowID\u003e`, with authorization requiring `dialogflow.flows.validate` IAM permission."],["The request body is a JSON object, which can optionally contain a `languageCode` string, otherwise defaulting to the agent's default language."],["Authorization for this API requires either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scope."]]],[]]