Cloud Cost Management
Create or update a budget
Create a new budget or update an existing one.
put/api/v2/cost/budget
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/cost/budget
- AuthAPI key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
Request body
Example request
{
"data": {
"attributes": {
"created_at": 1738258683590,
"created_by": "00000000-0a0a-0a0a-aaa0-00000000000a",
"end_month": 202502,
"metrics_query": "aws.cost.amortized{service:ec2} by {service}",
"name": "my budget",
"org_id": 123,
"start_month": 202501,
"total_amount": 1000,
"updated_at": 1738258683590,
"updated_by": "00000000-0a0a-0a0a-aaa0-00000000000a"
},
"id": "00000000-0a0a-0a0a-aaa0-00000000000a"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"created_at": 1738258683590,
"created_by": "00000000-0a0a-0a0a-aaa0-00000000000a",
"end_month": 202502,
"metrics_query": "aws.cost.amortized{service:ec2} by {service}",
"name": "my budget",
"org_id": 123,
"start_month": 202501,
"total_amount": 1000,
"updated_at": 1738258683590,
"updated_by": "00000000-0a0a-0a0a-aaa0-00000000000a"
},
"id": "00000000-0a0a-0a0a-aaa0-00000000000a"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.