# Retrieve the list of Data Classes.

Endpoint: GET /data-classes
Version: 3.15.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Query parameters:

  - `limit` (integer)
    Maximum number of objects to return per query. The value must be between 1 and 1000. Default is 100.

  - `cursor` (string)
    Cursor to fetch the next or previous page of results. The value of this property must be extracted from the 'prev_cursor' or 'next_cursor' property of a PaginatedResponseMetadata which is contained in the response of list and search API endpoints.

  - `sort` (string)
    The field to sort results by. A property name with a prepended '-' signifies a descending order.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `items` (array)

  - `items.id` (string)
    The data class ID.
    Example: a638d976-6b7e-43f4-9212-90f4dc6d405c

  - `items.name` (string)
    The name of this data class.
    Example: Account Number

  - `items.default_algorithm_id` (string)
    The ID of the default masking algorithm for this data class.
    Example: a638d976-6b7e-43f4-9212-90f4dc6d405c

  - `items.default_algorithm_name` (string)
    The name of the default masking algorithm for this data class.
    Example: alg1

  - `items.default_token_algorithm_id` (string)
    The ID of the default tokenization algorithm for this data class.
    Example: a638d976-6b7e-43f4-9212-90f4dc6d405c

  - `items.default_token_algorithm_name` (string)
    The default tokenization algorithm for this data class.
    Example: alg2

  - `items.description` (string)
    A description of this data class.

  - `items.example` (string)
    An example data value for this data class.

  - `items.revision_hash` (string)
    The export revision hash of this data class from the source engine.
    Example: 6e0509df463cf714b2697ccf2f8ac972970021d1

  - `items.engine_id` (string)
    The ID of the engine that this data class originated from.

  - `items.engine_name` (string)
    The name of the engine that this data class originated from.

  - `items.tags` (array)
    The tags of this data class.

  - `items.tags.key` (string, required)
    Key of the tag
    Example: key-1

  - `items.tags.value` (string, required)
    Value of the tag
    Example: value-1

  - `response_metadata` (object)

  - `response_metadata.prev_cursor` (string)
    Pointer to the previous page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.

  - `response_metadata.next_cursor` (string)
    Pointer to the next page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.

  - `response_metadata.total` (integer)
    The total number of results. This value may not be provided.

