The RequestLogs resource provide methods that allow you to retrieve and delete the API request log files.
The log files contain the API requests associated with your integration. They can aid you in troubleshooting specific issues within an integration, or if DocuSign Support requests an API trace log.
Retrieves a list of log entries as a JSON or xml object or as a zip file containing the entries.
If the Accept header is set to application/zip, the response is a zip file containing individual text files, each representing an API request.
If the Accept header is set to
Deletes the request log files.
Retrieves information for a single log entry.
Response If the Content-Transfer-Encoding header was set to base64, the log is returned as a base64 string.
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.
Enables or disables API request logging for troubleshooting.
When enabled (
You can call [ML:GetRequestLog] or [ML:GetRequestLogs] to download the log files (individually or as a zip file). Call [ML:DeleteRequestLogs] to clear the log by deleting current entries.
Private information, such as passwords and integrator key information, which is normally located in the call header is omitted from the request/response log.
Note: API request logging only captures requests from the authenticated user. Any call that does not authenticate the user and resolve a userId isn't logged. Meaning that login_information, NewAccounts, or other distributor-credential calls are not logged.