Skip to main content
GET
Get AI Config metrics by variation

Authorizations

Authorization
string
header
required

Path Parameters

projectKey
string
required
configKey
string
required

Query Parameters

from
integer
required

The starting time, as milliseconds since epoch (inclusive).

to
integer
required

The ending time, as milliseconds since epoch (exclusive). May not be more than 100 days after from.

env
string
required

An environment key. Only metrics from this environment will be included.

contextKind
string

A context kind. Only metrics from events that include a context of this kind are included. Required if contextKey is provided.

contextKey
string

A context key. Only metrics from events whose context of the contextKind kind has this key are included. Requires contextKind.

Response

Metrics computed

variationKey
string
metrics
object
Example: