PAGES

← Lakera

Lakera — API

Guard APIv1.0.0 Read the vendor's spec ↗

  • 4 endpoints
  • 6 versions archived since Jul 20, 2026
  • Last checked Nov 2, 2026

Get started

first call
$ curl -X POST "https://api.lakera.ai/v2/policies/health" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "project_id": "<project_id>"
  }'

Set $TOKEN first, then paste.

Base URL
https://api.lakera.ai
3 more
  • https://eu.api.lakera.ai Eu
  • https://us.api.lakera.ai Us
  • https://ap-southeast-1.api.lakera.ai ApSoutheast
Authenticate
Bearer token in the Authorization header Bearer authentication using API key.
Shape

What it covers

Endpoints

4 of 4

Open an endpoint for a runnable command, its inputs and what it returns.

Guard 1

  • POST /v2/guard Screen content for threats

    Loading…

Guardresults 1

  • POST /v2/guard/results Get detailed detection results

    Loading…

Policieshealth 1

  • POST /v2/policies/health Check policy configuration health

    Loading…

Policieslinter 1

  • POST /v2/policies/lint Validate policy configuration

    Loading…

browse all tools → score card for your toolchain →