Retrieve statistics

post

https://{your_site_interface}/opa-hub/api/12.2.35/statistics

This operation will retrieve statistics for the given definition.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : statisticPost
Type: object
Show Source
  • deploymentSeries
  • deploymentVersionSeries
    The list of deployment versions.
  • Allowed Values: [ "hour", "day", "month", "screenVisit", "screenName" ]
    The granularity of the metric data to be retrieved. If not provided, a default grouping is provided as defined by the chosen metric.
  • includedActionTypes
    The action types to include in the returned metric data. If not provided, includes a default set of actions as defined by the chosen metric.
  • Allowed Values: [ "assessmentRateByDate", "deploymentAgentsByDate", "deploymentAssessmentsByDate", "deploymentInteractionByDate", "deploymentSessionsByDate", "interviewsByDuration", "interviewsByLength", "interviewsByScreenDuration", "interviewsByScreenState" ]
    The metric for which to retrieve data.
  • Default Value: last24Hours
    Allowed Values: [ "last24Hours", "last48Hours", "last72Hours", "last7Days", "last14Days", "last30Days", "last1Year", "last2Years" ]
    The time period for which to retrieve metric data. If not provided, defaults to last24Hours.
Nested Schema : deploymentSeries
Match One Schema
Show Source
Nested Schema : deploymentVersionSeries
Type: array
The list of deployment versions.
Show Source
Nested Schema : includedActionTypes
Type: array
The action types to include in the returned metric data. If not provided, includes a default set of actions as defined by the chosen metric.
Show Source
  • Allowed Values: [ "nonAgentInterviews", "agentInterviews", "allAssessedCases", "batchAssessCases", "answerServiceAPICalls", "assessServiceAPICalls", "referencedDecisionServiceCases", "testServiceCases" ]
Nested Schema : deploymentSeries-oneOf[1]
Type: array
The list of deployment names.
Show Source
Nested Schema : items
Match One Schema
Show Source
Nested Schema : items-oneOf[0]
Type: object
Show Source
Nested Schema : items-oneOf[1]
Type: object
Show Source
Security
  • Type: apiKey
    Description: Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
  • Type: oauth2
    Description: POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Back to Top

Response

Supported Media Types

200 Response

The statistics were successfully retrieved.
Body ()
Root Schema : statistics
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : statistic
Type: object
Show Source
Nested Schema : data
Type: array
Read Only: true
List of statistics data.
Show Source
Nested Schema : includedActionTypes
Type: array
The action types to include in the returned metric data. If not provided, includes a default set of actions as defined by the chosen metric.
Show Source
  • Allowed Values: [ "nonAgentInterviews", "agentInterviews", "allAssessedCases", "batchAssessCases", "answerServiceAPICalls", "assessServiceAPICalls", "referencedDecisionServiceCases", "testServiceCases" ]
Nested Schema : statisticDataItem
Type: object
Show Source

400 Response

The request could not be processed because it contains missing or invalid information.
Back to Top