The Statistic object

Statistic properties

object

The data of the statistic. Data structure varies according to the type of the statistic (e.g. key metric, bar chart, table)

object

Timestamps used to build the statistic.

Statistic example object

{
  "data": {
    "data": {
      "axes": {
        "x": [
          1591765200
        ],
        "y": []
      },
      "lines": [
        {
          "data": [
            1829,
            1498,
            1611
          ],
          "name": "created"
        }
      ]
    },
    "label": "Support volume",
    "legend": {
      "axes": {
        "x": "Creation date",
        "y": "Number of tickets"
      }
    }
  },
  "meta": {
    "start_datetime": "2020-06-10T00:00:00-05:00",
    "end_datetime": "2020-06-16T23:59:59-05:00",
    "previous_start_datetime": "2020-06-03T00:00:01-05:00",
    "previous_end_datetime": "2020-06-10T00:00:00-05:00",
    "next_cursor": "WyJuZXh0IiwgZmFsc2UsICJBbGV4IFBsdWdhcnUiLCAyXQ==",
    "prev_cursor": "WyJwcmV2IiwgZmFsc2UsICJCb2IgU21pdGgiLCAzXQ=="
  }
}