---
title: "Get Data Asset Attribute"
method: GET
path: "/api/metadata-catalog/v1/metadata/attribute-details/{name}"
tags: ["Data Asset Attributes"]
---

# Get Data Asset Attribute

`GET /api/metadata-catalog/v1/metadata/attribute-details/{name}`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/metadata-catalog/v1/metadata/attribute-details/{name}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `INTEGRATION`, `DATA_CATALOG_READ`

Use this API to retrieve the details for the specified data asset attribute.

## Path parameters

- `name` string, required

## Response `200`

OK 
Attribute Information retrieved successfully.

- DataUseGovernanceDataAssetManagementOneTrustResponseListOfAttributeInformationWrapper
  - `data` DataUseGovernanceDataAssetManagementAttributeInformation[]
    - `id` string, uuid: Attribute GUID
    - `name` string, required: Attribute name
    - `nameKey` string: Attribute name key which can be used for translation
    - `description` string: Attribute description
    - `descriptionKey` string: Attribute description key which can be used for translation
    - `fieldName` string, required: Attribute field name which can be used for uniquely identifying an attribute
    - `mappedFieldName` string: Mapped Attribute field name. Should be used for sorting
    - `enabled` boolean, required: Indicator for attribute enabled/disabled
    - `required` boolean: Indicator for mandatory attribute
    - `readOnly` boolean: Indicator for read only attribute
    - `encrypted` boolean: Indicate whether to encrypt the field value or not. Only supported for text, single select and multi select
    - `allowOther` boolean: Indicator for allowing user defined options for attribute
    - `baseAttribute` boolean: Indicate if attribute is part of extendable entity and which cannot be modified
    - `responseType` 'Text' | 'SingleSelect' | 'MultiSelect' | 'Date' | 'Formula' | 'Score' | 'Level' | 'Range': Response type for attribute
    - `formula` string: Formula for attribute
    - `optionType` 'None' | 'Static' | 'Dynamic': Attribute Options value source type
    - `optionAllowed` boolean: Indicate if attribute can have static options or not
    - `schemaId` string, uuid: Attribute Schema GUID
    - `schemaName` string: Attribute Schema Name
    - `options` DataUseGovernanceDataAssetManagementAttributeOptionInformation[]: Option's for given attribute based on response type
      - `id` string, uuid: Option GUID
      - `option` string, required: Option name
      - `optionKey` string: Option Key which can be used for translation
      - `colorCode` string: Color code for the option
      - `sequence` integer: Option sequence for ordering
      - `enabled` boolean: Indicates if the option is enabled or disabled
      - `metadata` DataUseGovernanceDataAssetManagementAttributeOptionMetadata
        - `hint` string: Hint
        - `hintKey` string: Hint key which can be used for translation
    - `referenceCategories` DataUseGovernanceDataAssetManagementCategoryInformation[]: Categories for given attribute
      - `id` string, uuid: Category unique identifier
      - `name` string: Category name
      - `nameKey` string: Category nameKey for localization support
    - `responseMaxLength` integer: Response max length
    - `responseSubType` 'STANDARD' | 'FORMULA' | 'MATRIX': Response sub type
    - `associatedAttributeInformation` DataUseGovernanceDataAssetManagementAssociatedAttributeInformation[]: Associated attribute information
      - `id` string, uuid, required: Associated Attribute GUID
      - `name` string: Name
      - `nameKey` string: Name key
      - `description` string: Description
      - `descriptionKey` string: Description Key
      - `schemaId` string, uuid: Attribute Schema GUID
      - `schemaName` string: Attribute Schema Name
      - `fieldName` string, required: Attribute field name
      - `mappedFieldName` string: Mapped Attribute field name. Should be used for sorting
      - `enabled` boolean, required: Indicator for attribute enabled/disabled
      - `responseType` 'Text' | 'SingleSelect' | 'MultiSelect' | 'Date' | 'DateTime' | 'NumericalText' | 'NumericalSingleSelect' | 'RadioButton' | 'TextArea' | 'Formula' | 'Level' | 'Range' | 'Score' | 'System', required: Response Type
      - `responseSubType` 'Standard' | 'Formula' | 'Matrix' | 'RollUp': Response sub type
      - `formula` string: Formula for attribute
      - `options` DataUseGovernanceDataAssetManagementAttributeOptionInformation[]: Attribute options
        - `id` string, uuid: Option GUID
        - `option` string, required: Option name
        - `optionKey` string: Option Key which can be used for translation
        - `colorCode` string: Color code for the option
        - `sequence` integer: Option sequence for ordering
        - `enabled` boolean: Indicates if the option is enabled or disabled
        - `metadata` DataUseGovernanceDataAssetManagementAttributeOptionMetadata
          - `hint` string: Hint
          - `hintKey` string: Hint key which can be used for translation
      - `optionsByDomain` object: Override options by Domain
    - `multiSelectMaxOptionValues` integer: MultiSelect max option values
    - `hidden` boolean: Hidden
    - `optionUrl` string: OptionUrl
    - `intakeQuestion` DataUseGovernanceDataAssetManagementIntakeQuestion
      - `nameKey` string
      - `name` string
      - `descriptionKey` string
      - `description` string
    - `deleteMarker` 'MARKED_FOR_DELETE' | 'DELETING' | 'DELETED': Indicate the status of an attribute's deletion process
    - `optionMetadata` DataUseGovernanceDataAssetManagementAttributeOptionMetadataInformation
      - `entityTypeName` string: Option Source Entity Type
      - `basicServiceContextPath` string: Basic Url for the Option source Service
      - `optionUrl` string: Api URL for the Drop Down Api
      - `optionListUrl` string: Api URL for the Drop Down Api. Complete List of entities
      - `viewType` string: This will help to identify the view type of list
      - `optionType` string: Option Type
      - `permissions` string[]: Permissions
      - `applicationUrl` string: Application Url
    - `validationRuleId` string: Validation Rule configured for Attribute (e.g., email, URL)
    - `abacBasicAssignmentInfo` DataUseGovernanceDataAssetManagementAbacBasicAssignmentInfo[]: Contains the id, name and ObjectType of the linked assignment
      - `assignmentId` string, uuid: GUID of the linked assignment
      - `assignmentName` string: Name of the linked assignment
    - `optionsByDomain` object: Override options by Domain
    - `formulaByDomain` object: Formula by Domain
    - `associatedAttributeFieldName` string
  - `errors` object[]

## 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)
