---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/correlationConfig"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/correlationConfig"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/correlationConfig

`GET /v1/projects/{projectsId}/locations/{locationsId}/correlationConfig`

## Request

- Base URL: `https://contactcenterinsights.googleapis.com`
- URL: `https://contactcenterinsights.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/correlationConfig`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Gets correlation config.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Response `200`

Successful response

- GoogleCloudContactcenterinsightsV1CorrelationConfig: A configuration that defines how to correlate conversations for a given a given project.
  - `createTime` string, google-datetime: Output only. The time at which the correlation config was created.
  - `fullConversationConfig` GoogleCloudContactcenterinsightsV1CorrelationTypeConfig: A list of correlation rules for a given correlation type.
    - `correlationRules` GoogleCloudContactcenterinsightsV1CorrelationRule[]: A list of correlation rules to be evaluated for correlation.
      - `active` boolean: Optional. Whether the config is active to be evaluated.
      - `constraintExpression` string: Optional. A cel expression (go/cel) to be evaluated as a boolean value. Two variables conversation_a and conversation_b will be available for evaluation. This expression should evaluate to true if conversation_a and conversation_b should be joined. This is used as an extra constraint on top of the join_key_expression to further refine the group of conversations that are joined together and will be evaluated in both directions. for two conversations c1 and c2 and the result will be OR'd. We will evaluate: f(c1, c2) OR f(c2, c1)
      - `joinKeyExpression` string: Optional. A cel expression (go/cel) to be evaluated as a string value. This string value will be used as the join key for the correlation.
      - `ruleId` string: Required. The unique identifier of the rule.
  - `name` string: Immutable. Identifier. The resource name of the correlation config. Format: projects/{project}/locations/{location}/correlationConfig
  - `updateTime` string, google-datetime: Output only. The time at which the correlation config was last updated.

---

[API](https://skmtc.dev/google/apis/contactcenterinsights.md) - [All operations](https://skmtc.dev/google/apis/contactcenterinsights/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/contactcenterinsights/revisions/895c3ce55ea0?raw)
