---
title: "Get call duration statistics"
method: GET
path: "/v1/stats/calls"
tags: ["Statistics"]
---

# Get call duration statistics

`GET /v1/stats/calls`

Returns call count, average duration, and total duration. Can be filtered by sequence, user, date range, and workspace. Pass `workspaceId` to narrow to a single workspace within the API key scope. The legacy `teamId` parameter is still accepted but adds a `Deprecation: true` response header.

## Query parameters

- `sequenceId` string
- `userMembershipId` string
- `callType` 'all' | 'sequence' | 'direct' | 'inbound' | 'outbound'
- `granularity` 'hour' | 'day' | 'week' | 'month' | 'none'
- `startDate` string
- `endDate` string
- `workspaceId` string
- `teamId` string

## Response `200`

Call duration statistics

- CallDurationStatsResponseDto
  - `data` CallDurationStatsDto[], required
    - `callCount` number, required — Number of calls
    - `avgDurationInSeconds` number, required — Average call duration in seconds
    - `totalDurationInSeconds` number, required — Total call duration in seconds
    - `date` string — Date bucket (when granularity is not "none")

## Other responses

- `401` — Invalid or missing API key
- `403` — Requested workspaceId/teamId is outside the API key scope

---

[API](https://skmtc.dev/skipcall/apis/skipcall-public-api.md) · [All operations](https://skmtc.dev/skipcall/apis/skipcall-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/skipcall/skipcall-public-api/revisions/f594352719bd/schema)
