v1

latestOpenAPI 3.1.02026-07-24111290748.0 KB
Reporting Statistics

Retrieve a statistic

post/api/reporting/stats

Query parameters

cursorstring
Example:cHJldl9fNl9fMjAyMS0wMy0wMyAwNjowMDowMA==

Value indicating your position in the list of all analytics results. If omitted, the first analytics results of the list will be returned.

limitinteger

Maximum number of analytics results to return.

Request body

Example request

{
  "query": {
    "scope": "tickets-closed",
    "measures": [
      "ticketCount"
    ],
    "dimensions": [
      "ticketId"
    ],
    "filters": [
      {
        "member": "agentId"
      }
    ],
    "time_dimensions": [
      {
        "dimension": "closedDatetime"
      }
    ],
    "timezone": "UTC",
    "order": [
      [
        "ticketId",
        "asc"
      ],
      [
        "createdDatetime",
        "desc"
      ]
    ]
  }
}

Response

The requested statistic

objectstring required

Object type.

uristring required

Request URI.

dataobject[] required

Query results.