---
title: "Gets the API request logging log files."
method: GET
path: "/v2.1/diagnostics/request_logs"
tags: ["RequestLogs"]
---

# Gets the API request logging log files.

`GET /v2.1/diagnostics/request_logs`

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 `application/json` or `application/xml`, the response returns list of log entries in either JSON or XML. An example JSON response body is shown below.

## Query parameters

- `encoding` string

## Response `200`

Successful response.

## Other responses

- `400` — Error encountered.

---

[API](https://skmtc.net/docusign/apis/docusign-esignature-rest-api.md) · [All operations](https://skmtc.net/docusign/apis/docusign-esignature-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/docusign/docusign-esignature-rest-api/revisions/77f1998c313d/schema)
