Budgets

Create or update a budget row

put/api/budgets/{scope}/{scopeId}

Path parameters

scope'global' | 'agent' | 'user' required
scopeIdstring required

Scope identifier — empty string for global, agent UUID otherwise

Scope identifier — empty string for global, agent UUID otherwise

Request body

dailyBudgetUsdnumber required

Response

Budget upserted

scope'global' | 'agent' | 'user' required
scopeIdstring required
dailyBudgetUsdnumber required
createdAtnumber required
lastUpdatedAtnumber required

Changes

Changed in 1 of the 104 revisions of this API.1

    • added the media type application/json for the response with the status

      response-media-type-added