Mynth.
Basic setup
apiKey, the SDK reads MYNTH_API_KEY from the environment.
Explicit configuration
Options
| Option | Type | Description |
|---|---|---|
apiKey | string | Your Mynth API key. Optional only when MYNTH_API_KEY is already set. |
baseUrl | string | Override the default API base URL. Useful for proxies, tests, or custom deployments. |
Authentication behavior
The client always sends Bearer authentication:publicAccessToken instead of your API key.
When to override baseUrl
Override baseUrl only when you have a clear reason:
- an internal proxy
- a staging API
- tests that run against a mocked or isolated host
https://api.mynth.io.