policies

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

    • info

      api tag policies added

    • info

      api tag policy management removed

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status