Authorization header:
lyra_sk_ and belongs to one workspace: it reaches that workspace’s assistants only. The dashboard shows the secret once, when you create the key.
Keep the key on your server
The key opens sessions for any customer. Anyone who has it can read your customers’ answers.- Store it in an environment variable, never in the repository.
- Never send it to a browser or a mobile app.
@concatflow/noderefuses to run in a browser. - If a key leaks, revoke it in the dashboard and create another. A revoked key fails at once with
401 invalid_api_key.
401, whatever else is wrong with it.