Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
IncludeBYOKInBudgets | *bool | ➖ | Whether BYOK (bring-your-own-key) inference spend counts toward this guardrail’s limit_usd, in addition to OpenRouter credit spend. Defaults to false. | false |
LimitUsd | optionalnullable.OptionalNullable[float64] | âž– | Spending limit in USD. Must be provided together with reset_interval: a request that sets only one of the two is rejected with a 400. | 50 |
ResetInterval | optionalnullable.OptionalNullable[components.GuardrailInterval] | âž– | Interval at which the limit resets (daily, weekly, monthly) | monthly |