policies

Suggest Policy Templates

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.

post/policy/templates/suggest

Request

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

Request body

attack_examplesstring[]
descriptionstring
modelstring nullable

Response

Successful Response

object required

Changes

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