Ask a question to get started
Enter to send•Shift+Enter new line
Get the API key from the environment. Precedence:
getApiKey(apiKey: string | null): string | undefined
apiKey
string | null
API key provided as an argument. If null, skips environment lookup. If undefined, tries environment.