Get Statistics

The Intelligent Advisor Hub REST API for statistics provides the ability to retrieve statistics data. The query parameters and resulting data is equivalent to the metrics provided on the Deployments page and deployment details page in Intelligent Advisor Hub.

The following tasks can be performed using this REST API:

  • Getting an empty statistics response only containing related links

  • Retrieving statistics for the given definition

The URI {version}/statistics is used to perform these tasks.

Note that when retrieving statistics for a given definition, the metric parameter is similar to a download report type in Intelligent Advisor Hub when downloading usage data. See Table 1 below for the rough correlations.

Metric type in Statistics REST API Download usage report type in Intelligent Advisor Hub
assessmentRateByDate Assessment rate by date
deploymentAgentsByDate Agents by date
deploymentAssessmentsByDate Assessments by date
deploymentInteractionByDate Interactions by date
deploymentSessionsByDate Sessions by date
interviewsByDuration Interviews by duration
interviewsByLength Interviews by length
interviewsByScreenDuration Interview screens by time spent
interviewsByScreenState Interview screens by type of visit

For more information, see: