---
title: "Enrich Policy Template Stream"
method: POST
path: "/policy/templates/enrich/stream"
tags: ["policy management"]
---

# Enrich Policy Template Stream

`POST /policy/templates/enrich/stream`

## Request

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

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": [...]}

## Request body

- EnrichTemplateRequest
  - `template_id` string, required
  - `parameters` object, required
  - `model` string, nullable
  - `competitors` string[], nullable: Optional list of competitor names
  - `instruction` string, nullable: Refinement instruction for modifying the competitor list (e.g. 'add 10 more from Asia')

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/vibebrowser/apis/litellm-api.md) · [All operations](https://skmtc.dev/vibebrowser/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vibebrowser/apis/litellm-api/revisions/eea0b7e7b167?raw)
