List of outgoing call sessions (ClickHouse)

Same contract as /statistics/cis/outgoing/sessions, served from ClickHouse (the cis_call_aggregated rollup) instead of Postgres. Deferred stubs (source data not in Kafka): messages/messagesAsString return null; per-segment durations and the main/ai/robot/transfer cost decomposition return '0'. The authoritative totalCost, the macCallCost/labelCallCost and the AMD costs are served for real. When both from and to are set, the date window must not exceed the server cap (CIS_SESSIONS_MAX_WINDOW_DAYS, default 31 days); a wider window returns 400.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
companyIds
array of integers

Array of companies.

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

string

Comma-separated list of a record's fields to be fetched. example - callId,startedAt,number,callingNumber,regionName,timezone,duration,totalCost,recordPath,messagesAsString,resultsString,emotion,robotCallDuration,robotCallTotalCost,hungUpBy,gender,nps,isAssistantRequest,markers,externalId,clientExternalId,additional,currentStatusName,mainCallCost,mainCallDiscount,mainCallDuration,mainCallTotalCost,aiCallDuration,aiCallTotalCost,aiCallCost,autoCallCost,autoCallDiscount,autoCallDuration,autoCallTotalCost,robotCallCost,robotCallDiscount,transferCallCost,transferCallDiscount,transferCallDuration,transferCallTotalCost,transferredToOperator,autoCallCandidateId,amd,companyId,allResults,depersonalized

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.

boolean

Determines whether the zip archive should be returned.

string
enum

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

Allowed:
string

Base filename (without extension) to be downloaded.

string

UUID call session.

boolean

Return call session list filtred total price > 0.

string

Comma-separated list of fields to sort by. Each sort field can have special prefix indicating a desirable sort order: + (ascending order, default) or - (descending order). The available sort fields: createdAt, updatedAt, startedAt, duration, lastEventAt.

string

Field for filtering by from and to. The available fields: createdAt,updatedAt,startedAt,finishedAt,billedAt. Default - createdAt

string

UUID сandidate

string

Client external ID.

string

Task identifiers.

boolean

Return links in a new format

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