---
title: "Per-agent human outbound dialing KPIs"
description: "Dials, connects, contacts, appointments and wrap-up coverage per agent per day. Backed by upr_agent_calling_daily — the same function behind the daily calling email, so the two always agree. The response also includes a canonical revenue ledger that follows agent-booked contacts to their current configured CRM sale outcome, plus precomputed lead-source and project-type performance. Managers see the whole team; everyone else sees only their own activity.\n"
---

> 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/agent-calling-stats`

Dials, connects, contacts, appointments and wrap-up coverage per agent per day. Backed by upr_agent_calling_daily — the same function behind the daily calling email, so the two always agree. The response also includes a canonical revenue ledger that follows agent-booked contacts to their current configured CRM sale outcome, plus precomputed lead-source and project-type performance. Managers see the whole team; everyone else sees only their own activity.

## Query parameters

- `workspace_id` (`get/api/analytics/agent-calling-stats.query.workspace_id`; string, optional)
- `fromDate` (`get/api/analytics/agent-calling-stats.query.fromDate`; string, optional)
  - format `date-time`
- `toDate` (`get/api/analytics/agent-calling-stats.query.toDate`; string, optional)
  - format `date-time`
- `timezone` (`get/api/analytics/agent-calling-stats.query.timezone`; string, optional)

## Code samples

### cURL

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

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/analytics/agent-calling-stats';
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/agent-calling-stats"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

Per-agent calling KPIs for the window.

### 400

Missing workspace ID.

### 401

Authentication required

#### Example

```json
{
  "error": "Authentication required",
  "success": false
}
```

- `error` (`get/api/analytics/agent-calling-stats.response.401.error`; string, optional)
  - example `"Authentication required"`
- `success` (`get/api/analytics/agent-calling-stats.response.401.success`; boolean, optional)
  - example `false`

### 500

Internal server error

#### Example

```json
{
  "error": "Internal server error",
  "details": "string",
  "success": false
}
```

- `error` (`get/api/analytics/agent-calling-stats.response.500.error`; string, optional)
  - example `"Internal server error"`
- `details` (`get/api/analytics/agent-calling-stats.response.500.details`; string, optional)
- `success` (`get/api/analytics/agent-calling-stats.response.500.success`; boolean, optional)
  - example `false`


Source: https://developer.channelautomations.com/api/get-api-analytics-agent-calling-stats/index.md
