Skip to content
GridRouterhome

Search

Search providers, capabilities and pages

Docs
API referenceAccount and billing

Set a budget

PUT
/v1/budgets

Cap spend for the org, one key, or one agent per day, month or total.

Authorization

bearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v1/budgets" \  -H "Content-Type: application/json" \  -d '{    "scope": "string",    "period": "day",    "limit_micro": 0  }'
{  "ok": true}