Record statistics (/records_stats/)

You can test API methods on the page of the interactive API browser and without writing code

Some of the resources described on the page may not be available by default due to the type of application (see Creating and Authorizing applications)

This resource is intended for obtaining monthly (UTC time) statistics of customer conversation recordings.

 

Description of Data Structures

Name

Type 

Description

Name

Type 

Description

year_month

string

A key representing the month and year in the "YYYY-MM" format.

call_records_size

long

The number of call records for the specified month.

call_records_count

long

The total size of all call records for the specified month in bytes.

Example

We will receive information about the recordings of the client's conversations. To do this, you need to send the following request:

[ { "year_month": "2024-05", "call_records_count": 0, "call_records_size": 0 }, { "year_month": "2024-06", "call_records_count": 0, "call_records_size": 0 }, { "year_month": "2024-07", "call_records_count": 0, "call_records_size": 0 }, { "year_month": "2024-08", "call_records_count": 0, "call_records_size": 0 }, { "year_month": "2024-09", "call_records_count": 0, "call_records_size": 0 }, { "year_month": "2024-10", "call_records_count": 3, "call_records_size": 925040 }, { "year_month": "2024-11", "call_records_count": 0, "call_records_size": 0 }, { "year_month": "2024-12", "call_records_count": 0, "call_records_size": 0 } ]

"Client" Section Resources

GET /client/{client_id}/records_stats/

Get statistics of the client's monthly conversation recordings.

URL Options

Name

Type

Example

Mandatory

client_id

string

3609

yes

end_datetime

string

2024-06-05 23:59:59

2024-06-05

2024-06

no

Response Fields

Name

Type

Name

Type

year_month

string

call_records_count

long

call_records_size

long