Gets the API request logging settings
Retrieves the current API request logging setting for the user and remaining log entries.
Response The response includes the current API request logging setting for the user, along with the maximum log entries and remaining log entries.
Authorization
OAuth2 OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/v2.1/diagnostics/settings"{ "apiRequestLogging": "string", "apiRequestLogMaxEntries": "string", "apiRequestLogRemainingEntries": "string"}Gets a request logging log file GET
Retrieves information for a single log entry. **Request** The `requestLogId` property can be retrieved by getting the list of log entries. The Content-Transfer-Encoding header can be set to base64 to retrieve the API request/response as base 64 string. Otherwise the bytes of the request/response are returned. **Response** If the Content-Transfer-Encoding header was set to base64, the log is returned as a base64 string.
Enables or disables API request logging for troubleshooting PUT
Enables or disables API request logging for troubleshooting. When enabled (`apiRequestLogging` is **true**), REST API requests and responses for the user are added to a log. A log can have up to 50 requests/responses and the current number of log entries can be determined by getting the settings. Logging is automatically disabled when the log limit of 50 is reached. You can call [Diagnostics: getRequestLog](https://developers.docusign.com/docs/esign-rest-api/reference/diagnostics/requestlogs/get/) or [Diagnostics: listRequestLogs](https://developers.docusign.com/docs/esign-rest-api/reference/diagnostics/requestlogs/list/) to download the log files (individually or as a zip file). Call [Diagnostics: deleteRequestLogs](https://developers.docusign.com/docs/esign-rest-api/reference/diagnostics/requestlogs/delete/) to clear the log by deleting current entries. Private information, such as passwords and integration key information, which is normally located in the call header is omitted from the request/response log. API request logging only captures requests from the authenticated user. Any call that does not authenticate the user and resolve a userId is not logged.