> Index of every page: https://docs.merchantservicedepot.com/llms.txt

# List request logs


`GET /v1/request_logs`

Your recent /v1 calls, newest first, kept 30 days: method, route template, status, duration, error code, idempotency key and the Myela-Request-Id we returned. Never bodies, headers or query values. status takes 2xx, 4xx, 5xx or an exact code. Cursor-paginated. Keys issued before this route existed need requestLogs.list granted, so it is kept out of the downloadable collection.

Auth: a secret key with the `requestLogs.list` permission. Returns `200` with Request log.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | No | Maximum number of results to return. Defaults to 10 and cannot exceed 100. |
| `startingAfter` | query | string | No | Return results after this resource ID for cursor pagination. |
| `status` | query | string | No | Filter or update by the resource status. |
| `routeTemplate` | query | string | No | Only calls that matched this route pattern, such as /v1/payments/:id. |
| `createdAfter` | query | string | No | Only resources created at or after this ISO 8601 timestamp. |
| `createdBefore` | query | string | No | Only resources created before this ISO 8601 timestamp. |

## Response

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | Unique log entry identifier. |
| `object` | "request_log" | Stable resource discriminator. |
| `apiKeyId` | string \| null | The key that made the call; null once that key is deleted. |
| `method` | string | HTTP method. |
| `routeTemplate` | string | The route pattern the call matched, never the URL as sent. |
| `status` | integer | HTTP status we answered. |
| `durationMs` | integer | Time to answer, in milliseconds. |
| `requestId` | string | The Myela-Request-Id header we returned. Quote it to support. |
| `idempotencyKey` | string \| null | The Idempotency-Key you sent, if any. |
| `errorCode` | string \| null | The error.code we returned on a 4xx or 5xx. |
| `createdAt` | string | ISO 8601 time of the call. |

```json
{
  "object": "list",
  "data": [
    {
      "id": "cm4log01jexample",
      "object": "request_log",
      "apiKeyId": "cm4key01jexample",
      "method": "POST",
      "routeTemplate": "/v1/payments/:id/refund",
      "status": 422,
      "durationMs": 41,
      "requestId": "req_0123456789abcdef01234567",
      "idempotencyKey": "order-77",
      "errorCode": "invalid_request",
      "createdAt": "2026-08-10T20:49:51.653Z"
    }
  ],
  "hasMore": false
}
```

Source: https://docs.merchantservicedepot.com/api-reference/list-request-logs/
