Skip to main content

GuardrailRules

List GuardrailRules

Returns a paginated list of guardrail rules for the current project.

Create a GuardrailRule

Creates a new guardrail rule with expression, guardrails configuration, and timeout settings.

List Used Guardrails

Returns the distinct guardrail ids referenced across all guardrail rules in scope.

Delete a GuardrailRule

Deletes an existing guardrail rule by ID.

Retrieve a GuardrailRule

Retrieves the details of an existing guardrail rule by ID.

Update a GuardrailRule

Partially updates an existing guardrail rule. Only provided fields are updated.