Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Use your api key generated from the admin console

Query Parameters

period
enum<string>
required
Available options:
1h,
6h,
12h,
24h,
7d,
30d,
90d,
this-month,
last-month
scope
enum<string>
required
Available options:
all,
production,
testing
dimension
enum<string>
required
Available options:
project,
flow,
agent,
user,
key,
model

Response

200 - application/json

Default Response

history
object
required
ranges
object
required
items
object[]
required
count
number
required
itemsSpendUsd
number
required
totalSpendUsd
number
required
truncated
boolean
required