policies

Enrich Policy Template

Changed on

Enrich a policy template with LLM-discovered data (e.g. competitor names).

Calls an onboarded LLM to discover competitors for the given brand name, then returns enriched guardrailDefinitions with the discovered data populated.

post/policy/templates/enrich

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/enrich
  • Auth
    API key in header x-litellm-api-key

Request body

competitorsstring[] nullable

Optional list of competitor names

instructionstring nullable

Refinement instruction for modifying the competitor list (e.g. 'add 10 more from Asia')

modelstring nullable
parametersobject required
template_idstring required

Response

Successful Response

object required

Changes