Authorization header.1Authorization: Bearer vak_live_<key>
VAKYAM_API_KEY.1234567from vakyamai import VakyamAI # Reads VAKYAM_API_KEY from the environment client = VakyamAI() # ...or pass it explicitly client = VakyamAI(api_key="vak_live_...")
401 Unauthorized:1234567{ "error": { "status_code": 401, "code": "invalid_api_key", "message": "The API key provided is invalid or has been revoked." } }
Authorization header on connect. A bad key closes the connection with code
4001. See the realtime guide for details.