v2

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

Patch Guardrail

Apply a shallow update to an existing guardrail row.

Only fields present in the body are touched. Slug is sticky on rename so existing references stay valid. Inner guardrail is replaced wholesale when provided. Reordering happens via sort_order.

patch/admin/api/v1/guardrails/{guardrail_id}

Path parameters

guardrail_idstring uuid required

Request body

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

Response

Successful Response