Skip to main content
GET
Template guardrails apply only to sessions launched from this template, layered on top of the org-wide set. Three types exist: allowlist_rule_v0 (command patterns), hook_v0 (lifecycle hooks), and network_rule_v0 (egress rules). Use Resolve Template Guardrails to see the merged effective set. Required scope: guardrails:read

Path Parameters

string
required
The template ID.

Query Parameters

string
Filter by family: allowlist, hook, or network.
boolean
default:"false"
Include disabled guardrails.
integer
default:"20"
Results per page (1 to 100).
integer
default:"0"
Pagination offset.

Response

array
Guardrail objects: {id, template_id, organization_id, type, name, display_name, description, content, content_hash, enabled, position, created_by_user_id, updated_by_user_id, created_at, updated_at}.
integer
Total matches before paging.
boolean
Whether another page exists.