Intelligence

Query agent metric

Changed on

Get the value of an agent metric for a period. All aggregates of the metric are returned. If nothing matches, count is 0 and the other aggregates are null, except presence durations, which are 0. Deactivated agents are included.

post/beta/intelligence/agents/metrics/{metricId}

Request

Path parameters

metricIdstring required

The id of an agent metric

Request body

timezonestring required

The timezone presets and days are evaluated in, such as Europe/Copenhagen

Response

The metric values, keyed by aggregate name

dataobject required

The metric values, keyed by the name of each of the metric's aggregates. All aggregates are included. If nothing matches, count is 0, min, max, sum, average, stdDev and percentage are null, and an object value is filled with zeros

Changes

    • breaking

      the request's body type changed from object to no type

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added to the request body oneOf list

    • breaking

      removed the enum value Between of the request property //

    • breaking

      removed the enum value Equals of the request property //

    • breaking

      removed the enum value IsNotAll of the request property //

    • breaking

      removed the enum value NotEquals of the request property //