Initialization
Initialize the client with your API key.Options
| Property | Type | Description |
|---|---|---|
apiKey | string | Your Mynth API key. |
baseUrl | string | Optional. Override the API base URL. |
Configuring the Mynth SDK client
import Mynth from "@mynthio/sdk";
const mynth = new Mynth({
apiKey: "YOUR_API_KEY", // Defaults to process.env.MYNTH_API_KEY
});
| Property | Type | Description |
|---|---|---|
apiKey | string | Your Mynth API key. |
baseUrl | string | Optional. Override the API base URL. |