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

# API Request Logs

> Retrieve a log of all API requests made against your account

Returns an audit log of all API calls made against your business account. Useful for debugging, monitoring, and compliance.

```
GET /business/logs/all
```

## Query Parameters

<ParamField query="status" type="string">
  Filter by HTTP status code (e.g. `200`, `400`, `422`, `500`).
</ParamField>

<ParamField query="method" type="string">
  Filter by HTTP method: `GET`, `POST`, `PUT`, `DELETE`.
</ParamField>

<ParamField query="page" type="number">
  Page number.
</ParamField>

<ParamField query="per_page" type="number">
  Results per page.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET 'https://api.yativo.com/api/v1/business/logs/all?method=POST&status=400&per_page=20' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "status": "success",
    "status_code": 200,
    "message": "Request successful",
    "data": [
      {
        "id": "log_01HX9KZMB3F7VNQP8R2WDGT4E5",
        "method": "POST",
        "endpoint": "/business/virtual-account/create",
        "status_code": 201,
        "ip_address": "203.0.113.42",
        "created_at": "2026-04-01T10:00:00.000000Z"
      },
      {
        "id": "log_01HX9KZMB3F7VNQP8R2WDGT4E6",
        "method": "POST",
        "endpoint": "/sendmoney/quote",
        "status_code": 400,
        "ip_address": "203.0.113.42",
        "created_at": "2026-04-01T09:55:00.000000Z"
      }
    ],
    "pagination": {
      "total": 142,
      "per_page": 20,
      "current_page": 1,
      "last_page": 8,
      "next_page_url": "https://api.yativo.com/api/v1/business/logs/all?page=2",
      "prev_page_url": null
    }
  }
  ```
</ResponseExample>
