Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
APIKeyCount | int64 | ✔️ | N/A | |
Config | components.GuardrailModerationPolicyConfig | ✔️ | N/A | { “content_filter_builtins”: [ { “action”: “block”, “slug”: “secrets” } ] } |
ID | string | ✔️ | Policy ID | 550e8400-e29b-41d4-a716-446655440000 |
IsLegacyMapped | *bool | ➖ | Whether the policy is kept in sync with a v1 guardrail | |
IsWorkspaceDefault | *bool | ➖ | N/A | |
LegacyGuardrailIds | []string | ➖ | IDs of the v1 guardrails this policy was migrated from | |
MemberCount | int64 | ✔️ | N/A | |
Name | string | ✔️ | Policy name | Engineering monthly budget |
PolicyType | components.ModerationGuardrailPolicySummaryPolicyType | ✔️ | N/A | |
ReplacedLegacyGuardrailIds | []string | ➖ | IDs of the v1 guardrails this policy replaced | |
UpdatedAt | *string | ✔️ | N/A |