Skip to main content
GET
Get deployment metrics

Authorizations

Authorization
string
header
required

API key with the vk_ prefix. Create one from the dashboard.

Path Parameters

deployment_id
string
required

Deployment ID

Response

Uptime, cost, lifetime request counters, and past-24-hour latency and error stats

total_requests
integer<int64>

Lifetime count of your API requests (eval calls excluded).

total_prompt_tokens
integer<int64>

Lifetime prompt tokens of your API requests (eval calls excluded).

total_completion_tokens
integer<int64>

Lifetime completion tokens of your API requests (eval calls excluded).

total_cost_usd
number<double>

GPU cost accrued over the deployment's life: every replica of every boot, from its launch to its termination (or now), at its per-box rate. This is what billing charges, before rounding to the cent; the deployment's own total_cost_usd is the part already settled.

avg_latency_ms
number<double> | null

Mean end-to-end latency of your API requests in the past 24 hours; null when there were none. The percentiles and error_rate cover the same window.

p50_latency_ms
number<double> | null
p90_latency_ms
number<double> | null
p95_latency_ms
number<double> | null
p99_latency_ms
number<double> | null
error_rate
number<double>
uptime_seconds
number<double> | null

Seconds during which at least one GPU box was up and billed, summed over every boot (wakes included, parked time excluded). Null until a box launches.