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

# resetContext

## Syntax

`resetContext()`

## Description

Resets the Context object to the default Context of the active Flow. This action removes all custom keys and values that were added during the conversation.

**Returns:** `void`

## Example

```js theme={null}
// Clear all current context data and reset to default context
resetContext();
```
