> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # statsHistorySize > Number of seconds of metrics history to retain. ```ts get statsHistorySize(): number set statsHistorySize(value): void ``` Number of seconds of metrics history to retain. ## **Examples** ```ts console.log(client.preferences.statsHistorySize); ``` > Number of seconds of metrics history to retain.