Aggregated call report (one row per call)

Returns CIS calls aggregated from the cis_call_report event stream into one row per call. Each row carries the rolled-up STT/TTS costs and the last-known call attributes (status, phone number, duration, etc.). Backed by the flat ClickHouse VIEW cis_call_final_state (which folds the cis_call_aggregated rollup states into per-call columns). Keyset pagination is not supported for this aggregated endpoint; use Limit/Offset/Page.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\+[0-9]{2}:[0-9]{2}$

The start date (for example, 2018-05-27T21:30:54+00:00). (For get request need encode url)

string
^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\+[0-9]{2}:[0-9]{2}$

The end date (for example, 2018-05-27T21:30:54+00:00). (For get request need encode url)

integer

The company identifier filter.

string
^[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$

Filter by call UUID.

string

Filter by the final call status.

integer
enum

Filter by call direction (1 - incoming, 0 - outgoing).

Allowed:
string
^[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$

Filter by bot UUID.

string

Comma-separated list of fields to return. Available fields: callId, companyId, status, phoneNumber, callerId, duration, isIncoming, botId, dialogId, autoCallId, externalId, startedAt, finishedAt, billedAt, lastEventAt, recordPath, price, ttsPrice, sttPrice, speakerPrice, trunkPrice, amdTryPrice, amdDetectedPrice, labelPrice, macPrice, sttSeconds, ttsCharacters, synthesisCount, recognitionCount.

string

Sort field and direction. Each sort field can have a special prefix indicating the desired sort order: + (ascending, default) or - (descending). Available sort fields: startedAt, billedAt, lastEventAt, duration.

integer
Defaults to 10

Maxium number of returning records.

integer

Starting point to return records from a result set.

integer

Page number, used to paginate over all records.

integer

Timezone offset in minutes from UTC.

boolean
Defaults to false

Determines whether to return the total number of records.

boolean
Defaults to false

Determines whether to return the record list.

string
enum

Determines the output format. CSV_EXCEL format includes UTF-8 BOM and semicolon delimiter for better Excel compatibility.

Allowed:
Responses

400

Invalid input parameters

401

User is not authenticated

403

Invalid user permissions

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json