Skip to main content

ApiConfig

API Reference


Interface: ApiConfig

API configuration object.

Properties

apiKey

apiKey: string;

API authentication key.


baseUrl

baseUrl: string;

Base URL for API endpoints.


debug?

optional debug: boolean;

Enable debug logging.

Default

false

maxRetries?

optional maxRetries: number;

Maximum number of retry attempts for failed requests.

Default

3

timeout?

optional timeout: number;

Request timeout in milliseconds.

Default

30000