📚 L.U.N.A.

Authentication

API key authentication

All API endpoints (except /health and /version) require authentication via the X-API-Key header.

X-API-Key: your-api-key-here
POST /auth

Verify API key and get user role.

Request

curl -X POST https://test.sanvil.net/auth \
  -H "X-API-Key: your-api-key"

Response

{
  "status": "ok",
  "role": "user"
}