Lakera Guard API
Lakera Guard's runtime screening API. POST OpenAI-style chat messages to /v2/guard and receive a `flagged` decision based on the policy assigned to the project, with optional per-detector breakdown and payload-level PII/profanity match locations. Detectors cover prompt attacks, data leakage, PII, content violations, and unknown links across 100+ languages with sub-50ms latency. A second endpoint, /v2/guard/results, returns detector confidence levels (L1–L5) for offline analysis and threshold tuning without contributing to runtime screening logs.
Lakera Guard API is one of 2 APIs that Lakera publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 1 machine-runnable capability that can be deployed as REST, MCP, or Agent Skill surfaces via Naftiko and 3 JSON Schema definitions.
Tagged areas include AI Security, Artificial Intelligence, Guard, Prompt Injection, and PII. The published artifact set on APIs.io includes API documentation, a getting-started guide, an OpenAPI specification, a JSON-LD context, sample payloads, 1 Naftiko capability spec, and 3 JSON Schemas.