> ## Documentation Index
> Fetch the complete documentation index at: https://developer.suki.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# UseAmbientSessionParams Type

> Parameters type for useAmbientSession hook

## Type definition

Below is the type definition for the `UseAmbientSessionParams` type. This is the type definition for the parameters you pass to the `useAmbientSession` hook.

```tsx theme={"theme":{"light":"github-dark","dark":"material-theme-darker"}}
type UseAmbientSessionParams = {
  ambientSessionId: string;
  config?: {
    audioBatchSize?: number;
  };
  onAudioChunkAvailable?: (audioChunk: Array<Int16Array>) => void;
};
```
