Set an org budget
Creates or updates a budget for the org. One budget per (scope, owner); editing re-evaluates against live spend. Targets the caller’s own organization (inferred from the API key or session) unless the optional org_id query parameter names another org — cluster admins only.
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Query Parameters
Target org; defaults to the caller's own org. Only cluster admins may name another org (org admins may pass their own).
1Body
daily, weekly, monthly Spend limit in major currency units
1cluster = operator ceiling (org-admin read-only); org = self-budget
cluster, org 1Response
OK
org, apikey cluster, org daily, weekly, monthly