UpdateGuardrailResponse - Go SDK

UpdateGuardrailResponse type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
Datacomponents.Guardrailāœ”ļøN/A{"allowed_models": null,"allowed_providers": ["openai","anthropic","google"],"content_filter_builtins": [{"action": "block","label": "[PROMPT_INJECTION]","slug": "regex-prompt-injection"}
],
ā€œcontent_filtersā€: null,
ā€œcreated_atā€: ā€œ2025-08-24T10:30:00Zā€,
ā€œdescriptionā€: ā€œGuardrail for production environmentā€,
ā€œenforce_zdrā€: null,
ā€œenforce_zdr_anthropicā€: true,
ā€œenforce_zdr_googleā€: false,
ā€œenforce_zdr_openaiā€: true,
ā€œenforce_zdr_otherā€: false,
ā€œidā€: ā€œ550e8400-e29b-41d4-a716-446655440000ā€,
ā€œignored_modelsā€: null,
ā€œignored_providersā€: null,
ā€œlimit_usdā€: 100,
ā€œnameā€: ā€œProduction Guardrailā€,
ā€œreset_intervalā€: ā€œmonthlyā€,
ā€œupdated_atā€: ā€œ2025-08-24T15:45:00Zā€,
ā€œworkspace_idā€: ā€œ0df9e665-d932-5740-b2c7-b52af166bc11ā€
}