latestOpenAPI 3.1.02026-08-236994571.1 MB

79928a3d37d3

policy management

Get Policy Templates

Get policy templates for the UI (pre-configured guardrail combinations).

Fetches from GitHub with automatic fallback to local backup on failure. Set LITELLM_LOCAL_POLICY_TEMPLATES=true to skip GitHub and use local backup only.

get/policy/templates

Response

Successful Response

{"stackTrail":"paths:/policy/templates:get:responses:200:content:application/json:schema:items","oasType":"schema","type":"unknown"}