---
title: "Find Data Classes"
method: GET
path: "/dataClasses"
tags: ["Data Class"]
---

# Find Data Classes

`GET /dataClasses`

Finds `Data Classes` based on the provided criteria.

By default, this endpoint returns a `basic` description of the `Data Classes` that does not include the details of the `Classification Rules`. 
To retrieve the extended view of the `Data Classes` that includes the `Classification Rules`, you can pass the `view=extended` parameter.

## Query parameters

- `correlationId` string, uuid
- `status` string[]
- `containsRules` boolean
- `ruleType` string[]
- `name` string
- `description` string
- `dataClassGroupId` string, uuid
- `offset` integer
- `limit` integer
- `view` string

## Response `200`

`Data Classes` successfully retrieved.

- DataClassPagedResponse
  - `total` integer — The total number of results.
  - `results` DataClass[] — The list of results.
    - `id` string, uuid, required — The ID of the `Data Class`.
    - `name` string, required — Name of the `Data Class`.
    - `description` string — The description of the `Data Class`. The maximum length of this field is set to 10,000 characters.
    - `status` string, required — The status of a `Data Class`. This attribute allows a `Data Class` to be `ENABLED` or `DISABLED`. An `DISABLED` `Data Class` will never be used as part of the classification process. Possible values: - `ENABLED` - `DISABLED`
    - `columnNameFilters` string[] — The `Data Class` is considered only if the column name is a full or partial match with the value of this property. It is not case sensitive and it is using a text match (not a regular expression). Any match will make the `Data Class` considered.
    - `columnTypeFilters` string[] — The `Data Class` can only be considered if the column technical data type is part of the values defined for this property. Valid values are: `string`, `double`, `int`, `boolean`, `date`, and `timestamp`.
    - `allowNullValues` boolean, required — If the value is set to `true`, null values are considered when calculating the confidence level of a matching `Data Class`. If the value is set to `false`, only the non-null values are considered by the classification process and are taken into account when calculating the confidence level of a matching `Data Class`.
    - `allowEmptyValues` boolean, required — If the value is set to `true`, empty values are considered by the classification process and are taken into account when calculating the confidence level of a matching `Data Class`. If the value is set to `false`, only the non-empty values are considered by the classification process and are taken into account when calculating the confidence level of a matching `Data Class`.
    - `confidenceThreshold` integer, required — The Data Class is only considered in the result if this confidence threshold is reached.
    - `createdBy` string, uuid, required — The id of the user that created this resource.
    - `createdOn` integer, required — The timestamp (in UTC time standard) of the creation of this resource.
    - `lastModifiedBy` string, uuid, required — The id of the user who modified this resource the last time.
    - `lastModifiedOn` integer, required — The timestamp (in UTC time standard) of the last modification of this resource.
    - `rules` ClassificationRule[] — `Classification Rules` defined for the OOTB Data Class.
      - union — A `ClassificationRule` defines a representation of a rule.
        - RegularExpressionBasedClassificationRule
          - `type` string, required — RuleType used by the rule. The following values are currently supported: - `REGULAR_EXPRESSION` - `DATA_TYPE` - `LIST_OF_VALUES`
          - `regularExpression` string — A regular expression.
        - DataTypeBasedClassificationRule
          - `type` string, required — RuleType used by the rule. The following values are currently supported: - `REGULAR_EXPRESSION` - `DATA_TYPE` - `LIST_OF_VALUES`
          - `dataTypes` DataType[] — The list of data types defining this rule.
        - ListOfValuesBasedClassificationRule — `Classification Rule` based on a `List Of Values` defined inline as an array of values.
          - `type` string, required — RuleType used by the rule. The following values are currently supported: - `REGULAR_EXPRESSION` - `DATA_TYPE` - `LIST_OF_VALUES`
          - `values` string[] — Values defined as an array of strings.

## Other responses

- `400` — Invalid request to find `Data Classes`.
- `401` — The client is not authenticated.
- `403` — The user lacks permissions.
- `500` — There was an error processing the request.

---

[API](https://skmtc.net/collibra/apis/collibra-data-governance-center-core-api.md) · [All operations](https://skmtc.net/collibra/apis/collibra-data-governance-center-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/collibra/collibra-data-governance-center-core-api/revisions/6d091bc86a33/schema)
