---
title: "Get Search Fields"
method: GET
path: "/api/data-governance/v1/field-details"
tags: ["Catalog Search V1"]
---

# Get Search Fields

`GET /api/data-governance/v1/field-details`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/data-governance/v1/field-details`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `DATA_CATALOG_READ`

Use this API to retrieve a list of all catalog search fields. The response will include details such as the search field names, data types, and supported operators.

## Response `200`

OK

- DataUseGovernanceDataCatalogMetadataExchangeSearchFieldResponse
  - `searchFields` DataUseGovernanceDataCatalogMetadataExchangeSearchFieldV2[]
    - `searchFieldName` string: Name of the search field
    - `searchFieldDataType` string: Data type of the field selected
    - `operators` string[]

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500`: Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/data-use-governance-data-catalog.md) - [All operations](https://skmtc.dev/onetrust/apis/data-use-governance-data-catalog/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/data-use-governance-data-catalog/revisions/df847e469733?raw)
