policy management

Suggest Policy Templates

Changed on

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://api.flock.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.flock.io/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