Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
api_key_count | int | ✔️ | N/A | |
config | components.GuardrailBudgetPolicyConfig | ✔️ | N/A | { “include_byok_in_budgets”: false, “limit_usd”: 200, “reset_interval”: “monthly” } |
id | str | ✔️ | Policy ID | 550e8400-e29b-41d4-a716-446655440000 |
is_legacy_mapped | Optional[bool] | ➖ | Whether the policy is kept in sync with a v1 guardrail | |
is_workspace_default | Optional[bool] | ➖ | N/A | |
legacy_guardrail_ids | List[str] | ➖ | IDs of the v1 guardrails this policy was migrated from | |
member_count | int | ✔️ | N/A | |
name | str | ✔️ | Policy name | Engineering monthly budget |
policy_type | components.BudgetGuardrailPolicySummaryPolicyType | ✔️ | N/A | |
replaced_legacy_guardrail_ids | List[str] | ➖ | IDs of the v1 guardrails this policy replaced | |
updated_at | Nullable[str] | ✔️ | N/A |