---
title: "Lightweight Voice AI summary for the Calling tab"
description: "Returns only the per-assistant breakdown, call dispositions, and questionnaire-completion stats used by the Calling → AI Analytics tab. Skips the full dashboard's appointment fetch, contact-stage loops, and transcript columns for a much faster cold load."
---

> 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/voice-ai-calling-summary`

Returns only the per-assistant breakdown, call dispositions, and questionnaire-completion stats used by the Calling → AI Analytics tab. Skips the full dashboard's appointment fetch, contact-stage loops, and transcript columns for a much faster cold load.

## Authentication

Requires one of the following:

- `BearerAuth`, http, header `Authorization`, format `JWT`
- `ApiKeyAuth`, apiKey, in header, header `X-API-Key`, format `API_KEY`

## Query parameters

- `workspace_id` (`get/api/analytics/voice-ai-calling-summary.query.workspace_id`; string, required) — Workspace ID to read from the analytics replica.
- `fromDate` (`get/api/analytics/voice-ai-calling-summary.query.fromDate`; string, optional) — Inclusive UTC start date for call activity.
  - format `date`
- `toDate` (`get/api/analytics/voice-ai-calling-summary.query.toDate`; string, optional) — Inclusive UTC end date for call activity.
  - format `date`
- `callScope` (`get/api/analytics/voice-ai-calling-summary.query.callScope`; string, optional) — Optional call source scope. Defaults to all; the Calling tab uses `ai`.
  - one of `"all"`, `"ai"`, `"human"`

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.channelautomation.com/api/analytics/voice-ai-calling-summary?workspace_id=string' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/analytics/voice-ai-calling-summary?workspace_id=string';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

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/voice-ai-calling-summary?workspace_id=string"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Lightweight Voice AI calling summary payload.

### 400

Missing workspace ID or invalid request.

### 401

Authentication required

#### Example

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

- `error` (`get/api/analytics/voice-ai-calling-summary.response.401.error`; string, optional)
  - example `"Authentication required"`
- `success` (`get/api/analytics/voice-ai-calling-summary.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/voice-ai-calling-summary.response.500.error`; string, optional)
  - example `"Internal server error"`
- `details` (`get/api/analytics/voice-ai-calling-summary.response.500.details`; string, optional)
- `success` (`get/api/analytics/voice-ai-calling-summary.response.500.success`; boolean, optional)
  - example `false`


Source: https://developer.channelautomations.com/api/get-api-analytics-voice-ai-calling-summary/index.md
