Skip to content

Usage

GET /v1/usage returns a UsageSummary — aggregated consumption for your org over a time range. Granular per-event data is internal; this endpoint gives you the roll-up that powers dashboards and billing reconciliation.

Pass either a named period or an explicit period_start / period_end range (ISO-8601 timestamps).

const summary = await client.usage.summary({ period: "current_month" });
console.log(summary.total_billable_seconds, summary.sessions_completed);
// Or an explicit range:
const range = await client.usage.summary({
periodStart: "2026-05-01T00:00:00Z",
periodEnd: "2026-06-01T00:00:00Z",
});

period accepts current_month and previous_month.

| Field | Type | Notes | | ------------------------- | ----------------------------------- | -------------------------------------- | | period_start | timestamp | | | period_end | timestamp | | | sessions_started | int | | | sessions_completed | int | | | sessions_failed | int | | | total_billable_seconds | int | | | total_frames | int | | | by_transport | { [transport_type]: UsageBucket } | Keys: livekit, fake, … | | by_quality | { [quality_tier]: UsageBucket } | Keys: mock, lite, standard, pro |

Each UsageBucket is:

{
"sessions": 12,
"billable_seconds": 7320,
"frames": 183000
}