Skip to main content
GET
Get usage

Authorizations

Authorization
string
header
required

Session access JWT or an API token (insta_<prefix>_<secret>).

Path Parameters

projectId
string<uuid>
required

Query Parameters

from
integer

unix seconds (default current cycle start)

to
integer

unix seconds (default current cycle end)

Response

Default Response

from
integer
to
integer
dimensions
object[]
totalCostUsd
number
byService
object[]

the same window and the same money split by service — deleted services included, plus one unattributed bucket where the service is unrecoverable. Sums to totalCostUsd. A postgres lineage ROOT is attributed to its origin service, so a forked environment’s database cost lands on the service it was forked from.