# Interface EPClientConfig`Internal`

Configuration options for EP API clients.

interface EPClientConfig {
baseURL?: string;
cacheTTL?: number;
enableRetry?: boolean;
maxCacheSize?: number;
maxResponseBytes?: number;
maxRetries?: number;
rateLimiter?: RateLimiter;
timeoutMs?: number;
}

- Defined in clients/ep/baseClient.ts:168

##### Index

### Properties

baseURL?
cacheTTL?
enableRetry?
maxCacheSize?
maxResponseBytes?
maxRetries?
rateLimiter?
timeoutMs?

## Properties

### `Optional` baseURL

baseURL?: string

Base URL for European Parliament API.

#### Default

    DEFAULT_EP_API_BASE_URL

- Defined in clients/ep/baseClient.ts:170

### `Optional` cacheTTL

cacheTTL?: number

Cache time-to-live in milliseconds.

#### Default

    900000

- Defined in clients/ep/baseClient.ts:172

### `Optional` enableRetry

enableRetry?: boolean

Enable automatic retry on transient failures.

#### Default

    true

- Defined in clients/ep/baseClient.ts:180

### `Optional` maxCacheSize

maxCacheSize?: number

Maximum number of entries in LRU cache.

#### Default

    500

- Defined in clients/ep/baseClient.ts:174

### `Optional` maxResponseBytes

maxResponseBytes?: number

Maximum allowed response body size in bytes.

#### Default

    10485760 (10 MiB)

- Defined in clients/ep/baseClient.ts:184

### `Optional` maxRetries

maxRetries?: number

Maximum number of retry attempts.

#### Default

    2

- Defined in clients/ep/baseClient.ts:182

### `Optional` rateLimiter

rateLimiter?: RateLimiter

Custom rate limiter instance.

- Defined in clients/ep/baseClient.ts:176

### `Optional` timeoutMs

timeoutMs?: number

Request timeout in milliseconds.

#### Default

    DEFAULT_TIMEOUTS.EP_API_REQUEST_MS

- Defined in clients/ep/baseClient.ts:178