> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/cleanhistory.md).

# cleanHistory()

Clears the SDK’s stored API usage history.

```javascript
cleanHistory()
```

***

## Return Value

Clears the SDK’s stored API usage history.

## Example

```javascript
// example

sdk.cleanHistory();

```
