Guardrails
List and Create Guardrails
List or create organization-level guardrails
GET
Path Parameters
string
required
Organization ID (UUID).
List Guardrails
Returns all guardrails in the organization, oldest first.Create a Guardrail
Send a JSON body to the same endpoint.string
required
Guardrail name, 1-100 characters. Names must be unique within the organization.
string | null
Optional rule text, up to 1000 characters. Spell out exactly what the agent
must (or must not) do.
boolean
default:"true"
Whether the guardrail is injected into agent prompts.
An organization can have at most 5 guardrails. Creating a sixth returns
409 limit_reached.