v2

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-2663154130.1 KB
Agent Configuration

Create Guardrail

Create a new guardrail row.

Slug is derived from name and made unique with numeric suffixes on collision. Empty post normalization slug returns 422.

post/admin/api/v1/guardrails

Request body

namestring required
enabledboolean
position'input' | 'output' required
sortOrderinteger

Response

Successful Response