Create a cost budget (admin)

POST/api/v1/cost-optimization/budgets

Parameters

This endpoint does not accept parameters.

Responses

201Budget created

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/cost-optimization/budgets" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Monthly Infrastructure", "amount": 50000, "period": "monthly", "scope_id": "scope_prod" }'

Response

201Budget created
Example response not yet documented.