Absolute time range

object

A duration representing an exact start and end time.

tzstring

Default:Etc/UTC

typestringrequired

Allowed values:absolute

startstring(date-time)
endstring(date-time)
Example

TimeRange

The time range to query.

Default:{"type":"relative","time_range":"1h"}

One Of
tzstring

Default:Etc/UTC

typestringrequired

Allowed values:relative

time_rangestringrequired

Allowed values:15m1h6h12h24h7d30dcurrent_weekcurrent_monthprevious_weekprevious_month

Default:1h

Example

LLMMetrics

array

List of aggregated metrics to collect across the requested time span.

Default:ai_request_count

Filter by ai_plugin

One Of
operatorstringrequired

The type of filter to apply. in filters will limit results to only the specified values, while not_in filters will exclude the specified values.

Allowed values:innot_in

valuearray[string]required

The values to include in the results.

fieldstringrequired

The field to filter.

Allowed values:ai_plugin

Example

Filter by ai_provider

One Of
operatorstringrequired

The type of filter to apply. in filters will limit results to only the specified values, while not_in filters will exclude the specified values.

Allowed values:innot_in

valuearray[string]required

The values to include in the results.

fieldstringrequired

The field to filter.

Allowed values:ai_provider

Example