---
title: "Suggest Policy Templates"
method: POST
path: "/policy/templates/suggest"
tags: ["policy management"]
---

# Suggest Policy Templates

`POST /policy/templates/suggest`

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

Use AI to suggest policy templates based on attack examples and descriptions.

Calls an LLM with tool calling to match user requirements to available templates.

## Request body

- SuggestTemplatesRequest
  - `attack_examples` string[]
  - `description` string
  - `model` string, nullable

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