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

Authorizations

x-api-key
string
headerrequired

Headers

x-selected-account-id
string | null

Path Parameters

application_spec_id
string
required
metric_id
enum<string>
required
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[] | null

Which variants to filter on

account_id
string | null

Account ID used for authorization

from_ts
integer
default: 1733854944

The starting (oldest) timestamp window in seconds.

Required range: x > 1
to_ts
integer
default: 1733941344

The ending (most recent) timestamp in seconds.

Required range: x > 1

Response

200 - application/json
value
required
unit
string