Create Guardrail
Create a new guardrail row.
Slug is derived from name and made unique with numeric
suffixes on collision. Empty post normalization slug returns 422.
POST
Create Guardrail
Body
application/json
Body for POST /admin/api/v1/guardrails.
Available options:
input, output - SimpleBanListConfig
- SimplePIIConfig
- SimpleNSFWTextConfig
- SimpleToxicLanguageConfig
- SimpleGibberishTextConfig
- SimpleBiasCheckConfig
- SimpleCompetitionCheckConfig
- SimpleCorrectLanguageConfig
- SimpleRestrictToTopicConfig
Required range:
x >= 0Response
Successful Response
GET response and the data payload of POST/PATCH/DELETE responses.
Reload outcome attached to every admin mutation response.
reloaded means DB committed and runtime now uses the new config.
restart_required means DB committed and process restart is needed.
reload_failed means DB rolled back and runtime is unchanged.
Last modified on May 22, 2026