[[["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-07-30 UTC."],[[["\u003cp\u003eThis document describes how to create an analysis using a \u003ccode\u003ePOST\u003c/code\u003e request to a specified endpoint, including required parameters and authorization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is a required string that specifies the resource where the analysis will be created.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain an instance of \u003ccode\u003eAnalysis\u003c/code\u003e, and the response, upon success, will be an instance of \u003ccode\u003eOperation\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eCreating an analysis requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and specific IAM permissions on the parent resource, namely \u003ccode\u003econtactcenterinsights.authorizedAnalyses.create\u003c/code\u003e and \u003ccode\u003econtactcenterinsights.analyses.create\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.conversations.analyses.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nCreates an analysis. The long running operation is done when the analysis has completed.\n\n### HTTP request\n\n`POST https://{endpoint}/v1/{parent=projects/*/locations/*/conversations/*}/analyses`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/contact-center/insights/docs/reference/rest#rest_endpoints).\n\nThe URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [Analysis](/contact-center/insights/docs/reference/rest/v1/projects.locations.authorizedViewSets.authorizedViews.conversations.analyses#Analysis).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/contact-center/insights/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permissions on the `parent` resource:\n\n- `contactcenterinsights.authorizedAnalyses.create`\n- `contactcenterinsights.analyses.create`\n- `contactcenterinsights.datasetAnalyses.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]