Skip to content

Get daily spend (autoscaling)

GET
/api/v1/organizations/{orgID}/billing/daily-spend
curl --request GET \
--url https://api.aetherplatform.cloud/api/v1/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/billing/daily-spend \
--header 'Authorization: Bearer <token>'

Returns a zero-filled, contiguous per-day autoscaling spend series from the first of the current UTC month through today, plus the period total.

orgID
required
string format: uuid

Organization UUID.

The daily-spend series.

Media type application/json
object
points
required
Array<object>
object
date
required

The day in YYYY-MM-DD (UTC).

string
amount_eur
required
number format: double
total_eur
required
number format: double
Example generated
{
"points": [
{
"date": "example",
"amount_eur": 1
}
],
"total_eur": 1
}

Missing or invalid credentials.

Media type application/json
object
error
required
object
code
required

A stable, machine-readable error code.

string
message
required
string
details
Array<object>
object
field
required
string
code
required
string
message
required
string
Example generated
{
"error": {
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}
}