Skip to main content

Guardrail Rules

List Guardrail Rules

Returns guardrail rules with cursor pagination, search, status, project, sort, and referenced-guardrail filters.

Create a Guardrail Rule

Creates a guardrail rule with metadata and optional evaluator, plugin, and matching configuration. Rules default to disabled when enabled is omitted.

List Used Guardrails

Returns the distinct guardrail identifiers used by guardrail rules in the requested scope.

Retrieve a Guardrail Rule

Retrieves a guardrail rule by its unique identifier.

Delete a Guardrail Rule

Permanently deletes a guardrail rule.

Update a Guardrail Rule

Partially updates guardrail-rule metadata or configuration. Project scope is immutable.