v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBCloud Cost Management
Create or replace a budget's custom forecast
Create or replace the custom forecast for an existing budget. Pass an empty entries list to delete the custom forecast for the budget.
put/api/v2/cost/budget/custom-forecast
Request body
Example request
{
"data": {
"attributes": {
"budget_uid": "00000000-0000-0000-0000-000000000001",
"entries": [
{
"amount": 400,
"month": 202501,
"tag_filters": [
{
"tag_key": "service",
"tag_value": "ec2"
}
]
}
]
},
"type": "custom_forecast"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"budget_uid": "00000000-0000-0000-0000-000000000001",
"created_at": 1738258683590,
"created_by": "00000000-0a0a-0a0a-aaa0-00000000000a",
"entries": [
{
"amount": 400,
"month": 202501,
"tag_filters": [
{
"tag_key": "service",
"tag_value": "ec2"
}
]
}
],
"updated_at": 1738258683590,
"updated_by": "00000000-0a0a-0a0a-aaa0-00000000000a"
},
"id": "11111111-1111-1111-1111-111111111111",
"type": "custom_forecast"
}
}