policy management

Get Policy Templates

Changed on

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

Request

  • Base URL
    https://api.flock.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.flock.io/policy/templates
  • Auth
    API key in header x-litellm-api-key

Response

Successful Response

unknown required

Changes