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

# Suggest Policy Templates

`POST /policy/templates/suggest`

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.net/flock/apis/litellm-api.md) · [All operations](https://skmtc.net/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/8fbaab4fc7c5/schema)
