📚 API Documentation

Vigil REST API v1 — Intégrez la conformité dans vos applications

REST API v1JSONBearer AuthRate Limited

🚀 Getting Started

Authentifiez-vous avec votre clé API dans le header Authorization :

curl -H "Authorization: Bearer vgl_live_your_api_key_here" \
     https://vigil.eu/api/v1/clients
Base URL
https://vigil.eu/api/v1
Format
JSON
Auth
Bearer token
⚡ Rate limiting : Cabinet = 100 req/min · Client = 30 req/min · Agent IA = 60 req/min · Sandbox = 10 req/min

Endpoints

GET/api/v1/health

Statut de l'API

GET/api/v1/clients🔒 Auth

Liste des clients du cabinet

GET/api/v1/traitements🔒 Auth

Liste des traitements

Params : client_id, status, page, limit

POST/api/v1/traitements🔒 Auth

Créer un traitement

Body : { name, client_id, purpose, legal_basis, status, risk_level }

GET/api/v1/violations🔒 Auth

Liste des violations

GET/api/v1/droits🔒 Auth

Liste des droits des personnes

Format de réponse

✅ Succès

{
  "data": [...],
  "meta": {
    "page": 1,
    "limit": 50,
    "total": 142,
    "timestamp": "2026-04-04T..."
  }
}

❌ Erreur

{
  "error": {
    "code": 401,
    "message": "Invalid API key"
  }
}

💰 Tarification à l'usage

Lecture simple0,005 €
Écriture0,02 €
Message assistant IA0,10 €
Enrichissement document0,50 €
Scan web1,00 €
Rapport PDF0,50 €