Authentication
Create keys in the app under API Keys. Keys start with lw_; the secret is shown once at creation. Only the first 12 characters are stored for display. Revoked keys return 401.
REST requests
Send the key with either header:
Authorization: Bearer lw_YOUR_SECRETx-api-key: lw_YOUR_SECRETWebSocket connections
Rem streaming requires the API key as a query parameter: ?api_key=lw_YOUR_SECRET. Reverie streaming accepts either api_key in the query string or x-api-key as a header.
NOTE
Quota is per workspace, not per key. Multiple keys share the same monthly credit pool (1 credit = 1 TTS character or 1 second of STT audio).