Skip to main content

Guardrail Rules

List Guardrail Rules

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

Create a Guardrail Rule

Creates a new guardrail rule with expression and guardrails configuration.

List Used Guardrails

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

Delete a Guardrail Rule

Deletes an existing guardrail rule by ID.

Retrieve a Guardrail Rule

Retrieves the details of an existing guardrail rule by ID.

Update a Guardrail Rule

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