For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authentication

API authentication — API keys, headers.

GET /api/v1/models
X-API-Key: <your-api-key>

Errors

  • 401 missing 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?