Intelligence

Query AI agent metric

Changed on

Get the value of an AI agent metric for a period. All aggregates of the metric are returned. If nothing matches, the counts are 0. Deleted AI agents are included.

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

Request

Path parameters

metricIdstring required

The id of an AI 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

    • info

      endpoint added