Skip to main content
GET
Get

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

The organization's id (UUID) or slug — either form is accepted.

projectId
string
required

The project's id (UUID) or slug — either form is accepted.

Query Parameters

since
string<date-time>

Aggregate events recorded at or after this time (RFC 3339).

until
string<date-time>

Aggregate events recorded strictly before this time (RFC 3339). Defaults to now; with since, selects a closed billing window.

granularity
enum<string>

Pass "day" to add per-day cost buckets (UTC calendar days) for the window.

Available options:
day

Response

Aggregated meters at rate-card prices.

meters
object[]
required
resources
object[]
required

Usage grouped by named app, database, cache, queue, cron, deployment, or storage resource.

totalUsd
number
required
days
object[]

Present with granularity=day: cost per UTC calendar day, ascending. Days in the window without usage are omitted.