---
title: History
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api/typescript)

[Zaraz](https://developers.cloudflare.com/api/typescript/resources/zaraz)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# History

##### [List Zaraz historical configuration records](https://developers.cloudflare.com/api/typescript/resources/zaraz/subresources/history/methods/list)

client.zaraz.history.list(HistoryListParams { zone\_id, limit, offset, 2 more } params, RequestOptionsoptions?): SinglePage<[HistoryListResponse](https://developers.cloudflare.com/api/typescript/resources/zaraz#%28resource%29%20zaraz.history%20%3E%20%28model%29%20history%5Flist%5Fresponse%20%3E%20%28schema%29) { id, createdAt, description, 2 more } \>

GET/zones/{zone\_id}/settings/zaraz/history

##### [Restore Zaraz historical configuration by ID](https://developers.cloudflare.com/api/typescript/resources/zaraz/subresources/history/methods/update)

client.zaraz.history.update(HistoryUpdateParams { zone\_id, body } params, RequestOptionsoptions?): [Configuration](https://developers.cloudflare.com/api/typescript/resources/zaraz#%28resource%29%20zaraz.config%20%3E%20%28model%29%20configuration%20%3E%20%28schema%29) { dataLayer, debugKey, settings, 7 more } 

PUT/zones/{zone\_id}/settings/zaraz/history

##### ModelsExpand Collapse 

HistoryListResponse { id, createdAt, description, 2 more } 

id: number

ID of the configuration.

createdAt: string

Date and time the configuration was created.

formatdate-time

description: string

Configuration description provided by the user who published this configuration.

updatedAt: string

Date and time the configuration was last updated.

formatdate-time

userId: string

Alpha-numeric ID of the account user who published the configuration.

#### HistoryConfigs

##### [Get Zaraz historical configurations by ID(s)](https://developers.cloudflare.com/api/typescript/resources/zaraz/subresources/history/subresources/configs/methods/get)

client.zaraz.history.configs.get(ConfigGetParams { zone\_id, ids } params, RequestOptionsoptions?): [ConfigGetResponse](https://developers.cloudflare.com/api/typescript/resources/zaraz#%28resource%29%20zaraz.history.configs%20%3E%20%28model%29%20config%5Fget%5Fresponse%20%3E%20%28schema%29) { id, config, createdAt, 2 more } 

GET/zones/{zone\_id}/settings/zaraz/history/configs

##### ModelsExpand Collapse 

ConfigGetResponse \= Record<string, item\>

Object where keys are numeric configuration IDs.

id: number

ID of the configuration.

config: [Configuration](https://developers.cloudflare.com/api/typescript/resources/zaraz#%28resource%29%20zaraz.config%20%3E%20%28model%29%20configuration%20%3E%20%28schema%29) { dataLayer, debugKey, settings, 7 more } 

Zaraz configuration.

createdAt: string

Date and time the configuration was created.

formatdate-time

updatedAt: string

Date and time the configuration was last updated.

formatdate-time

userId: string

Alpha-numeric ID of the account user who published the configuration.