Skip to main content
GET
Get AI gateway metrics

Authorizations

Authorization
string
header
required

Enter "Bearer {token}"

Headers

X-CostGraph-Tenant-ID
string
required

Tenant ID

Path Parameters

id
string
required

AI gateway connection id from the id field of the connection list

Query Parameters

range
string

Time window (e.g. 1h, 6h, 24h, 7d). Default 1h

step
string

Resolution step (e.g. 30s, 1m, 5m)

quantiles
string

Latency quantiles between 0 and 1 (comma-separated). Default 0.5,0.95,0.99

model
string

Restrict to one model, as the gateway reports it

Response

OK

message
string
required
Example:

"some message"

status
string
required
Example:

"success"

data
object