---
title: "List call reports"
method: GET
path: "/call_reports"
tags: ["CDR"]
---

# List call reports

`GET /call_reports`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/call_reports`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/call_reports/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `filter` string
- `search` string
- `orderby` string
- `skip` integer
- `top` integer

## Response `200`

OK

- object
  - `count` integer: Total number of resource.
  - `items` object[]
    - `id` string: The unique ID of the resource.
    - `name` string: The name of call report.
    - `type` 'NORMAL' | 'EXTENSION_GROUP_CALL_COST' | 'QUEUE_PERFORMANCE' | 'QUEUE_DETAILED_STATISTICS' | 'QUEUE_ABANDONED_CALLS' | 'QUEUE_SLA_STATISTICS' | 'QUEUE_BREACHES_SLA_STATISTICS' | 'QUEUE_CALLBACKS' | 'QUEUE_FAILED_CALLBACKS' | 'TEAM_QUEUE_GENERAL_STATISTICS' | 'RING_GROUP_STATISTICS': The report types can be either: - `NORMAL`: - `EXTENSION_GROUP_CALL_COST`: - `QUEUE_PERFORMANCE`: - `QUEUE_DETAILED_STATISTICS`: - `QUEUE_ABANDONED_CALLS`: - `QUEUE_SLA_STATISTICS`: - `QUEUE_BREACHES_SLA_STATISTICS`: - `QUEUE_CALLBACKS`: - `QUEUE_FAILED_CALLBACKS`: - `TEAM_QUEUE_GENERAL_STATISTICS`: - `RING_GROUP_STATISTICS`:
    - `cron_expr` string: The crontab expression <https://en.wikipedia.org/wiki/Cron>
    - `status` 'RUNNING' | 'SCHEDULED' | 'ABORTED': The report status can be either: - `RUNNING`: - `SCHEDULED`: - `ABORTED`:

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
