---
title: History
---

[Skip to content](#_top)

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

[Zaraz](https://developers.cloudflare.com/api/python/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/python/resources/zaraz/subresources/history/methods/list)

zaraz.history.list(HistoryListParams\*\*kwargs) -> SyncSinglePage\[[HistoryListResponse](<https://developers.cloudflare.com/api/python/resources/zaraz#(resource)%20zaraz.history%20%3E%20(model)%20history_list_response%20%3E%20(schema)>)]

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

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

zaraz.history.update(HistoryUpdateParams\*\*kwargs) -> [Configuration](<https://developers.cloudflare.com/api/python/resources/zaraz#(resource)%20zaraz.config%20%3E%20(model)%20configuration%20%3E%20(schema)>)

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

##### ModelsExpand Collapse

<details>

<summary>

class HistoryListResponse: …

</summary>

id: int

ID of the configuration.

<a href="#(resource)%20zaraz.history%20%3E%20(model)%20history_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: datetime

Date and time the configuration was created.

formatdate-time

<a href="#(resource)%20zaraz.history%20%3E%20(model)%20history_list_response%20%3E%20(schema)%20%3E%20(property)%20createdAt">Link to this property</a>

description: str

Configuration description provided by the user who published this configuration.

<a href="#(resource)%20zaraz.history%20%3E%20(model)%20history_list_response%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

updated\_at: datetime

Date and time the configuration was last updated.

formatdate-time

<a href="#(resource)%20zaraz.history%20%3E%20(model)%20history_list_response%20%3E%20(schema)%20%3E%20(property)%20updatedAt">Link to this property</a>

user\_id: str

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

<a href="#(resource)%20zaraz.history%20%3E%20(model)%20history_list_response%20%3E%20(schema)%20%3E%20(property)%20userId">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zaraz.history%20%3E%20(model)%20history_list_response%20%3E%20(schema)>)

#### HistoryConfigs

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

zaraz.history.configs.get(ConfigGetParams\*\*kwargs) -> [ConfigGetResponse](<https://developers.cloudflare.com/api/python/resources/zaraz#(resource)%20zaraz.history.configs%20%3E%20(model)%20config_get_response%20%3E%20(schema)>)

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

##### ModelsExpand Collapse

<details>

<summary>

Dict\[str, ConfigGetResponseItem]

Object where keys are numeric configuration IDs.

</summary>

id: int

ID of the configuration.

<a href="#(resource)%20zaraz.history.configs%20%3E%20(model)%20config_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

config: <a href="https://developers.cloudflare.com/api/python/resources/zaraz#(resource)%20zaraz.config%20%3E%20(model)%20configuration%20%3E%20(schema)">Configuration</a>

Zaraz configuration.

<a href="#(resource)%20zaraz.history.configs%20%3E%20(model)%20config_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20config">Link to this property</a>

created\_at: datetime

Date and time the configuration was created.

formatdate-time

<a href="#(resource)%20zaraz.history.configs%20%3E%20(model)%20config_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20createdAt">Link to this property</a>

updated\_at: datetime

Date and time the configuration was last updated.

formatdate-time

<a href="#(resource)%20zaraz.history.configs%20%3E%20(model)%20config_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20updatedAt">Link to this property</a>

user\_id: str

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

<a href="#(resource)%20zaraz.history.configs%20%3E%20(model)%20config_get_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20userId">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zaraz.history.configs%20%3E%20(model)%20config_get_response%20%3E%20(schema)>)