policy management

Enrich Policy Template Stream

Stream competitor names as SSE events as the LLM generates them.

Events:

  • data: {"type": "competitor", "name": "..."} — each competitor as discovered
  • data: {"type": "done", "competitors": [...], "competitor_variations": {...}, "guardrailDefinitions": [...]}
post/policy/templates/enrich/stream

Request

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

Request body

template_idstring required
parametersobject required
modelstring nullable
competitorsstring[] nullable

Optional list of competitor names

instructionstring nullable

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

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.