---
title: "Get call status distribution"
method: GET
path: "/v1/stats/status-repartition"
tags: ["Statistics"]
---

# Get call status distribution

`GET /v1/stats/status-repartition`

Returns the distribution of calls by status, plus count of contacts not yet called. 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`

Status distribution statistics

- StatusRepartitionResponseDto
  - `data` StatusRepartitionItemDto[], required
    - `status` 'NOT_INITIATED' | 'INITIATED' | 'QUEUED' | 'RINGING' | 'IN_PROGRESS' | 'BUSY' | 'NO_ANSWER' | 'MISSED_CALL' | 'VOICEMAIL' | 'CONNECTED' | 'CANCELLED' | 'COMPLETED' | 'ERROR_NUMBER' | 'ERROR_COUNTRY' | 'UNKNOWN_ERROR', required — Call session status
    - `count` number, required — Number of calls with this status
    - `date` string — Date bucket (when granularity is not "none")
  - `nonCalledCount` number, required — Number of contacts that have not been called yet

## 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)
