> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Axios

## Interfaces

### AuthInterceptorOptions

Defined in: [hooks/axios/withAuth.ts:10](https://github.com/coinbase/cdp-sdk/blob/a1195adcfa5a93627bd3cb79831b188cc13073a1/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L10)

#### Properties

##### apiKeyId?

```ts theme={null}
optional apiKeyId: string;
```

Defined in: [hooks/axios/withAuth.ts:20](https://github.com/coinbase/cdp-sdk/blob/a1195adcfa5a93627bd3cb79831b188cc13073a1/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L20)

The API key ID

Examples:
'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
'organizations/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/apiKeys/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'

Not required to call public (unauthenticated) endpoints.

##### apiKeySecret?

```ts theme={null}
optional apiKeySecret: string;
```

Defined in: [hooks/axios/withAuth.ts:31](https://github.com/coinbase/cdp-sdk/blob/a1195adcfa5a93627bd3cb79831b188cc13073a1/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L31)

The API key secret

Examples:
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==' (Edwards key (Ed25519))
'-----BEGIN EC PRIVATE KEY-----\n...\n...\n...==\n-----END EC PRIVATE KEY-----\n' (EC key (ES256))

Not required to call public (unauthenticated) endpoints.

##### walletSecret?

```ts theme={null}
optional walletSecret: string;
```

Defined in: [hooks/axios/withAuth.ts:34](https://github.com/coinbase/cdp-sdk/blob/a1195adcfa5a93627bd3cb79831b188cc13073a1/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L34)

The Wallet Secret

##### source?

```ts theme={null}
optional source: string;
```

Defined in: [hooks/axios/withAuth.ts:37](https://github.com/coinbase/cdp-sdk/blob/a1195adcfa5a93627bd3cb79831b188cc13073a1/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L37)

The source of the request

##### sourceVersion?

```ts theme={null}
optional sourceVersion: string;
```

Defined in: [hooks/axios/withAuth.ts:40](https://github.com/coinbase/cdp-sdk/blob/a1195adcfa5a93627bd3cb79831b188cc13073a1/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L40)

The version of the source of the request

##### expiresIn?

```ts theme={null}
optional expiresIn: number;
```

Defined in: [hooks/axios/withAuth.ts:43](https://github.com/coinbase/cdp-sdk/blob/a1195adcfa5a93627bd3cb79831b188cc13073a1/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L43)

Optional expiration time in seconds (defaults to 120)

##### debug?

```ts theme={null}
optional debug: boolean;
```

Defined in: [hooks/axios/withAuth.ts:46](https://github.com/coinbase/cdp-sdk/blob/a1195adcfa5a93627bd3cb79831b188cc13073a1/typescript/packages/cdp-sdk/src/auth/hooks/axios/withAuth.ts#L46)

Whether to log request/response details

## Functions

* [withAuth](/sdks/cdp-sdks-v2/typescript/auth/Axios/withAuth)
