- [HTTP request](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.ontologyRecords/family#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.ontologyRecords/family#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.ontologyRecords/family#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.ontologyRecords/family#body.request_body)
- [Response body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.ontologyRecords/family#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.ontologyRecords/family#body.FetchOntologyFamilyResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.ontologyRecords/family#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.ontologyRecords/family#body.aspect_1)

**Full name**: projects.locations.instances.ontologyRecords.family

Returns the visual family currently associated with a specific data `source`, `product`, and `eventName`. Use this method to preview the normalization rules for a given event identifier.

### HTTP request

`GET https://{endpoint}/v1alpha/{parent}/ontologyRecords:family`

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

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The instance into which OntologyRecords should be imported. Format: projects/{project}/locations/{location}/instances/{instance}/ontologyRecords |

### Query parameters

| Parameters ||
|---|---|
| `source` | `string` Required. The data source (e.g., "GoogleChronicle"). |
| `product` | `string` Required. The product name (e.g. "RandomProductExample0"). |
| `eventName` | `string` Required. The event name (e.g., "IRC Connections"). |

### Request body

The request body must be empty.

### Response body

Response message for GetOntologyFamily.

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

| JSON representation |
|---|
| ``` { "visualFamilyId": string, "visualFamilyName": string, "ontologyConfigurationLevel": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.ontologyRecords#OntologyConfigurationLevel`) } ``` |

| Fields ||
|---|---|
| `visualFamilyId` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The visual family id of the ontology family. |
| `visualFamilyName` | `string` Output only. The visual family name of the ontology family. |
| `ontologyConfigurationLevel` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.ontologyRecords#OntologyConfigurationLevel`)`` Output only. The ontology configuration level of the ontology family. |

### Authorization scopes

Requires one of the following OAuth scopes:

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

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 `parent` resource:

- `chronicle.ontologyRecords.get`

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