GET
/
v4
/
applications
/
{application_spec_id}
/
metrics
/
scalar
/
{metric_id}

Authorizations

x-api-key
string
headerrequired

Headers

x-selected-account-id
string

Path Parameters

application_spec_id
string
required
metric_id
enum<string>
required

An enumeration.

Available options:
total_requests,
total_errors,
total_tokens,
average_latency,
p95_latency,
error_rate,
average_faithfulness,
average_relevance,
average_users,
aggregated_tokens,
feedback,
engagement_faithfulness,
engagement_relevance,
execution_input_response_tokens,
execution_average_latency_per_variant,
execution_error_rate,
execution_latency_percentile,
execution_average_latency_per_node

Query Parameters

variants
string[]

Which variants to filter on

account_id
string

Account ID used for authorization

from_ts
integer
default: 1727035642

The starting (oldest) timestamp window in seconds.

to_ts
integer
default: 1727122042

The ending (most recent) timestamp in seconds.

Response

200 - application/json
value
required
unit
string