Skip to content

Create or replace the org's monthly budget

PUT
/api/v1/organizations/{orgID}/billing/budget
curl --request PUT \
--url https://api.aetherplatform.cloud/api/v1/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/billing/budget \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "monthly_limit_eur": 1, "thresholds_pct": [ 1 ] }'

Upserts the org’s soft monthly budget. thresholds_pct must be non-empty, strictly ascending, and each value in 0 < pct <= 100; monthly_limit_eur must be > 0. Validation failures return 422.

orgID
required
string format: uuid

Organization UUID.

Media typeapplication/json
object
monthly_limit_eur
required

Must be > 0.

number format: double
thresholds_pct
required

Non-empty, strictly ascending, each 0 < pct <= 100.

Array<integer>
Examplegenerated
{
"monthly_limit_eur": 1,
"thresholds_pct": [
1
]
}

The saved budget.

Media typeapplication/json
object
org_id
required
string format: uuid
monthly_limit_eur
required

The soft monthly spend limit in euros (> 0).

number format: double
thresholds_pct
required

Ascending percentages (each 0 < pct <= 100) of the limit at which a one-time usage.alert fires for the month.

Array<integer>
created_at
required
string format: date-time
updated_at
required
string format: date-time
Examplegenerated
{
"org_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"monthly_limit_eur": 1,
"thresholds_pct": [
1
],
"created_at": "2026-04-15T12:00:00Z",
"updated_at": "2026-04-15T12:00:00Z"
}

Missing or invalid credentials.

Media typeapplication/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
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}
}

Request validation failed.

Media typeapplication/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
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}
}