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

# Enrich Policy Template

`POST /policy/templates/enrich`

## 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`
- 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`

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.

## 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

- object

## 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)
