# Retrieves data rule details by ID Retrieves the detailed summary of a specific data rule by its unique identifier. ## Endpoints `GET /endpointdlp/api/data-classification/data-rule/data-rule-details/{dataRuleId}` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/endpointdlp/api/data-classification/data-rule/data-rule-details/{dataRuleId}` ## Scope `DesktopCentralCloud.EndpointDLP.READ` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — Mandatory - `application/dataRuleDetail.v1+json` ### Path Parameters - **dataRuleId** `string` — Mandatory - Unique identifier of the data rule. Fetch from [Get All Data Rules](https://www.manageengine.com/products/desktop-central/help/api/cloud/edlp-get-all-data-rules.html). ## Sample Request ```curl curl --request GET \ --url https://appdomains/endpointdlp/api/data-classification/data-rule/data-rule-details/{dataRuleId} \ --header 'Accept: application/dataRuleDetail.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - `JSON Object` - **dataRuleDetail** `JSON Object` - Data rule detail wrapper ### HTTP Code 500 Response Body — `application/json` - `JSON Object` - **errorCode** `string` - Internal error code returned when fetching data rule details by ID fails - **errorMessage** `string` - Failure message describing why the data rule details could not be retrieved ## Possible Response Codes - **200** — HTTP code - **500** — HTTP code ## Sample Response: HTTP 200 Successful retrieval of data rule details ```json { "dataRuleDetail": { "regexSubRuleBean": { "dictionaryWordList": [], "regexValueList": [ "\\d{3}-\\d{2}-\\d{4}" ] }, "keywordSubRuleBean": null, "dataRuleId": "1000045", "noOfOccurrence": "3", "dataRuleDescription": "Detects US Social Security Numbers", "extensionList": [ "txt", "csv", "pdf" ], "dataRuleName": "US Social Security Number", "dataRuleType": 1, "fingerprintSubRuleBean": null, "subRuleTypeId": 1 } } ``` ## Sample Response: HTTP 500 Internal server error ```json { "errorMessage": "Exception occurred while fetching DataRule summary", "errorCode": "INTERNAL_ERROR" } ``` ## Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.