- [HTTP request](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.issueModels/calculateIssueModelStats#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.issueModels/calculateIssueModelStats#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.issueModels/calculateIssueModelStats#body.request_body)
- [Response body](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.issueModels/calculateIssueModelStats#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.issueModels/calculateIssueModelStats#body.CalculateIssueModelStatsResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.issueModels/calculateIssueModelStats#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.issueModels/calculateIssueModelStats#body.aspect_1)
- [Try it!](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.issueModels/calculateIssueModelStats#try-it)

Gets an issue model's statistics.

### HTTP request

`GET https://{endpoint}/v1/{issueModel=projects/*/locations/*/issueModels/*}:calculateIssueModelStats`

Where `{endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest#rest_endpoints).

The URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `issueModel` | `string` Required. The resource name of the issue model to query against. |

### Request body

The request body must be empty.

### Response body

Response of querying an issue model's statistics.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "currentStats": { object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.issueModels#IssueModelLabelStats`) } } ``` |

| Fields ||
|---|---|
| `currentStats` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1/projects.locations.issueModels#IssueModelLabelStats`)`` The latest label statistics for the queried issue model. Includes results on both training data and data labeled after deployment. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `issueModel` resource:

- `contactcenterinsights.issueModels.get`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).