Skip to main content

Get meta by months

GET 

/system/statistics/meta-by-months

JSON-RPC

system.statistics.get_meta_by_months

The method returns meta information about the statistic packages grouped by months.

  • General monthly package information

    • ym - year and month of the package
    • days - quantity of daily packages
    • is_actual - flag indicating if all packages are up to date
    • is_mounted - flag indicating if the package is mounted to statistics
    • is_archived - flag indicating if all packages are already archived
    • notifications - license usage notifications
  • Usage data grouped by quantities

    • all - all xDRs
    • paid - paid xDRs (charged directly or by package)
    • new - new xDRs queue
    • rerating - rerating xDRs queue
    • license - xDRs that have license limits
  • License usage notifications

    • limit-monthly-hard - license limit has been reached;
    • limit-monthly-soft - license limit has been used for 85% or more;
    • limit-monthly-est - indicates that if the usage will continue with the same pace, the license limit may be reached by the end of the month.

Request

Responses

Object containing meta info (with keys as YYYYMM).