AI Lakera Guard

AI License Required

Log blocked request and response contentv3.14+

Configure the AI Lakera Guard plugin to log the raw content of blocked requests and responses. When a request or response is blocked, the original prompt or response body is captured in the Kong Gateway logs under ai.proxy.lakera-guard.input_faulty_prompt and ai.proxy.lakera-guard.output_faulty_response.

Prerequisites

Environment variables

  • LAKERA_API_KEY: The API key for your Lakera account.

Set up the plugin

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!