# Retrieves the current chat history retention settings Returns the chat history retention configuration, including the number of days for which chat conversation logs are retained. Accessible only to users with admin-level tools permissions. ## Endpoint `GET /dcapi/tools/chat/settings` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/tools/chat/settings` ### Scope `Tools.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` **Mandatory**: `application/json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/tools/chat/settings \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### Response Parameters #### HTTP Code 200 Response body: `application/json` - `chatHisDays` `integer`: Number of days for which chat conversation history is retained ### Sample Response: HTTP 200 ```json { "chatHisDays": 30 } ``` ### Possible Response Codes - **200** `HTTP code` ## API Rate Limits ![](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.