Authentication
Semantil accepts either header below on every authenticated endpoint.
Authorization: Bearer YOUR_API_KEYx-api-key: YOUR_API_KEYBearer authentication is the recommended default because most HTTP clients and agent frameworks support it directly.
Key hygiene
Section titled “Key hygiene”- Create one key per integration so it can be rotated or revoked independently.
- Keep keys in environment variables or a secret manager, never in source control.
- The full secret is shown once. Semantil stores only a hash afterward.
- If a key leaks, revoke it in the dashboard and create a replacement.