Authentication
Authenticate server-side requests with a LAYSO AI API key.
Bearer authentication
text
Authorization: Bearer $LAYSO_API_KEYNever expose keys in browser code, mobile packages or public repositories. Use different keys for development, staging and production.
Common errors
| Status | Meaning | Action |
|---|---|---|
| 401 | Missing or invalid key | Check the Authorization header |
| 403 | Model or group not allowed | Review model limits |
| 429 | Rate or quota limit | Back off or add quota |
