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

# List Traffic Log Settings

> Returns traffic log settings for all environments of the specified API Proxy. Each environment has its own traffic log configuration including connector settings and method-level overrides.

## Endpoint

```
GET /apiops/projects/{projectName}/apiProxies/{apiProxyName}/trafficLogSettings/
```

## Authentication

Requires a Personal API Access Token.

### Header

```
Authorization: Bearer YOUR_TOKEN
```

## Request

### Headers

| Header        | Value          | Required |
| ------------- | -------------- | -------- |
| Authorization | Bearer {token} | Yes      |

### Path Parameters

| Parameter    | Type   | Required | Description    |
| ------------ | ------ | -------- | -------------- |
| projectName  | string | Yes      | Project name   |
| apiProxyName | string | Yes      | API Proxy name |

## Response

### Success Response (200 OK)

```json theme={null}
{
  "status": "SUCCESS",
  "resultList": [
    {
      "logParamRequestFromClient": true,
      "logHeaderRequestFromClient": true,
      "logBodyRequestFromClient": true,
      "logParamRequestToTarget": true,
      "logHeaderRequestToTarget": true,
      "logBodyRequestToTarget": true,
      "logHeaderResponseFromTarget": true,
      "logBodyResponseFromTarget": true,
      "logHeaderResponseToClient": true,
      "logBodyResponseToClient": true,
      "enableDatabaseConnector": false,
      "enableElasticsearchConnector": true,
      "connectorSettingsMap": {
        "Production Elasticsearch": {
          "enabled": true,
          "logBodyRequestFromClient": true
        }
      },
      "methodOverrideList": []
    }
  ],
  "resultCount": 1
}
```

### Error Response (401 Unauthorized)

```json theme={null}
{
  "error": "unauthorized_client",
  "error_description": "Invalid token"
}
```

## cURL Example

```bash theme={null}
curl -X GET \
  "https://demo.apinizer.com/apiops/projects/MyProject/apiProxies/MyAPI/trafficLogSettings/" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

## Permissions

User must have **`API_MANAGEMENT` + `VIEW`** permission in the project.

## Related Documentation

* [Update Traffic Log Settings (PATCH)](/api-reference/api-proxies/settings/update-traffic-log-settings) - Update via PATCH endpoint
* [Get Traffic Log Settings by Environment](/api-reference/api-proxies/traffic-log-settings/get-by-environment) - Get settings for specific environment
