Skip to main content
GET
Aggregate metrics (error rate, latency percentiles, cost)

Authorizations

Authorization
string
header
required

SDK API key (tl_...) or Clerk session JWT

Query Parameters

project_id
string<uuid>
from
string<date-time>

Defaults to 24h ago

to
string<date-time>

Defaults to now

Response

Metrics summary

total_traces
integer
required
error_count
integer
required
from
string<date-time>
required
to
string<date-time>
required
error_rate
number | null

Fraction 0–1; null when total_traces=0

p50_latency_ms
number | null
p95_latency_ms
number | null
p99_latency_ms
number | null
total_cost
number | null