---
title: "Get analytics performance statistics"
---

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

Path: Channel Automation API › Analytics

`GET /api/analytics/performance`

## Authentication

Requires one of the following:

- `bearerAuth`
- `apiKey`

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.channelautomation.com/api/analytics/performance
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/analytics/performance';
const options = {method: 'GET'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/analytics/performance"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

Performance statistics

#### Example

```json
[
  {
    "metric_name": "string",
    "metric_value": 0,
    "description": "string"
  }
]
```

- `metric_name` (`get/api/analytics/performance.response.200.metric_name`; string, optional)
- `metric_value` (`get/api/analytics/performance.response.200.metric_value`; number, optional)
- `description` (`get/api/analytics/performance.response.200.description`; string, optional)

### 500

Server error

#### Example

```json
{
  "error": "string",
  "details": "string"
}
```

- `error` (`get/api/analytics/performance.response.500.error`; string, optional)
- `details` (`get/api/analytics/performance.response.500.details`; string, optional)


Source: https://developer.channelautomations.com/api/get-api-analytics-performance/index.md
