Authentication
API authentication — API keys, headers.
GET /api/v1/models
X-API-Key: <your-api-key>Errors
401missing or invalid key
Browser security: keys are server-side only
API keys must never appear in browser code. LayerLens only allows its own web origins cross-origin, so browser-direct calls from your site are blocked by preflight regardless. Always proxy through your own backend — see the calling LayerLens from a backend guide.
See also
Last updated
Was this helpful?