> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Logs

> Retrieve a paginated list of API request and delivery logs.

Query request logs generated by API requests, webhook deliveries, and outbound transmissions via the Mailofly API.

### Query Parameters

**page** `number` (default: 1)

Page number.

**page\_size** `number` (default: 50)

Number of log entries per page (max 100).

### Response

**data** `array`

**id** `string`

Log ID.

**method** `string`

HTTP method.

**path** `string`

Request URL path.

**statusCode** `number`

HTTP response status.

**ipAddress** `string`

Origin IP.

**createdAt** `string`

Timestamp.

**pagination** `object`

**total** `number`

Total log count.

**page** `number`

Current page.

**page\_size** `number`

Page limit.

```bash cURL theme={null}
curl -X GET "https://api.mailofly.com/logs?page=1&page_size=25" \
  -H "Authorization: Bearer mf_live_your_api_key"
```

```json 200 OK theme={null}
{
  "data": [
    {
      "id": "log_98765",
      "method": "POST",
      "path": "/v1/emails",
      "statusCode": 200,
      "ipAddress": "198.51.100.42",
      "createdAt": "2026-09-11T14:02:15Z"
    }
  ],
  "pagination": {
    "total": 3540,
    "page": 1,
    "page_size": 25
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.