OpenAPI 3.1.0raw.githubusercontent.com2026-08-142585163.2 MB

deb8d376faee

Guardrail Rules

Create a guardrail rule

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

post/v2/guardrail-rules

Request body

display_namestring required
descriptionstring
project_idstring

Optional project scope. Omit for a workspace-wide rule.

enabledboolean

Whether the rule is active. Defaults to false when omitted.

timeoutinteger

Response

OK