---
title: Site Info
---

[Skip to content](#_top)

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

[RUM](https://developers.cloudflare.com/api/python/resources/rum)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Site Info

##### [List Web Analytics sites](https://developers.cloudflare.com/api/python/resources/rum/subresources/site_info/methods/list)

rum.site\_info.list(SiteInfoListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[Site](<https://developers.cloudflare.com/api/python/resources/rum#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)>)]

GET/accounts/{account\_id}/rum/site\_info/list

##### [Get a Web Analytics site](https://developers.cloudflare.com/api/python/resources/rum/subresources/site_info/methods/get)

rum.site\_info.get(strsite\_id, SiteInfoGetParams\*\*kwargs) -> [Site](<https://developers.cloudflare.com/api/python/resources/rum#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)>)

GET/accounts/{account\_id}/rum/site\_info/{site\_id}

##### [Create a Web Analytics site](https://developers.cloudflare.com/api/python/resources/rum/subresources/site_info/methods/create)

rum.site\_info.create(SiteInfoCreateParams\*\*kwargs) -> [Site](<https://developers.cloudflare.com/api/python/resources/rum#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)>)

POST/accounts/{account\_id}/rum/site\_info

##### [Update a Web Analytics site](https://developers.cloudflare.com/api/python/resources/rum/subresources/site_info/methods/update)

rum.site\_info.update(strsite\_id, SiteInfoUpdateParams\*\*kwargs) -> [Site](<https://developers.cloudflare.com/api/python/resources/rum#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)>)

PUT/accounts/{account\_id}/rum/site\_info/{site\_id}

##### [Delete a Web Analytics site](https://developers.cloudflare.com/api/python/resources/rum/subresources/site_info/methods/delete)

rum.site\_info.delete(strsite\_id, SiteInfoDeleteParams\*\*kwargs) -> [SiteInfoDeleteResponse](<https://developers.cloudflare.com/api/python/resources/rum#(resource)%20rum.site_info%20%3E%20(model)%20site_info_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/rum/site\_info/{site\_id}

##### ModelsExpand Collapse

<details>

<summary>

class Site: …

</summary>

auto\_install: Optional\[bool]

If enabled, the JavaScript snippet is automatically injected for orange-clouded sites.

<a href="#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)%20%3E%20(property)%20auto_install">Link to this property</a>

created: Optional\[datetime]

formatdate-time

<a href="#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

<details>

<summary>

rules: Optional\[List\[<a href="https://developers.cloudflare.com/api/python/resources/rum#(resource)%20rum.rules%20%3E%20(model)%20rum_rule%20%3E%20(schema)">RUMRule</a>]]

A list of rules.

</summary>

id: Optional\[str]

The Web Analytics rule identifier.

<a href="#(resource)%20rum.rules%20%3E%20(model)%20rum_rule%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created: Optional\[datetime]

formatdate-time

<a href="#(resource)%20rum.rules%20%3E%20(model)%20rum_rule%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

host: Optional\[str]

The hostname the rule will be applied to.

<a href="#(resource)%20rum.rules%20%3E%20(model)%20rum_rule%20%3E%20(schema)%20%3E%20(property)%20host">Link to this property</a>

inclusive: Optional\[bool]

Whether the rule includes or excludes traffic from being measured.

<a href="#(resource)%20rum.rules%20%3E%20(model)%20rum_rule%20%3E%20(schema)%20%3E%20(property)%20inclusive">Link to this property</a>

is\_paused: Optional\[bool]

Whether the rule is paused or not.

<a href="#(resource)%20rum.rules%20%3E%20(model)%20rum_rule%20%3E%20(schema)%20%3E%20(property)%20is_paused">Link to this property</a>

paths: Optional\[List\[str]]

The paths the rule will be applied to.

<a href="#(resource)%20rum.rules%20%3E%20(model)%20rum_rule%20%3E%20(schema)%20%3E%20(property)%20paths">Link to this property</a>

priority: Optional\[float]

<a href="#(resource)%20rum.rules%20%3E%20(model)%20rum_rule%20%3E%20(schema)%20%3E%20(property)%20priority">Link to this property</a>

</details>

<a href="#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)%20%3E%20(property)%20rules">Link to this property</a>

<details>

<summary>

ruleset: Optional\[Ruleset]

</summary>

id: Optional\[str]

The Web Analytics ruleset identifier.

<a href="#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)%20%3E%20(property)%20ruleset%20%3E%20(property)%20id">Link to this property</a>

enabled: Optional\[bool]

Whether the ruleset is enabled.

<a href="#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)%20%3E%20(property)%20ruleset%20%3E%20(property)%20enabled">Link to this property</a>

zone\_name: Optional\[str]

<a href="#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)%20%3E%20(property)%20ruleset%20%3E%20(property)%20zone_name">Link to this property</a>

zone\_tag: Optional\[str]

The zone identifier.

<a href="#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)%20%3E%20(property)%20ruleset%20%3E%20(property)%20zone_tag">Link to this property</a>

</details>

<a href="#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)%20%3E%20(property)%20ruleset">Link to this property</a>

site\_tag: Optional\[str]

The Web Analytics site identifier.

<a href="#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)%20%3E%20(property)%20site_tag">Link to this property</a>

site\_token: Optional\[str]

The Web Analytics site token.

<a href="#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)%20%3E%20(property)%20site_token">Link to this property</a>

snippet: Optional\[str]

Encoded JavaScript snippet.

<a href="#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)%20%3E%20(property)%20snippet">Link to this property</a>

</details>

[Link to this property](<#(resource)%20rum.site_info%20%3E%20(model)%20site%20%3E%20(schema)>)

<details>

<summary>

class SiteInfoDeleteResponse: …

</summary>

site\_tag: Optional\[str]

The Web Analytics site identifier.

<a href="#(resource)%20rum.site_info%20%3E%20(model)%20site_info_delete_response%20%3E%20(schema)%20%3E%20(property)%20site_tag">Link to this property</a>

</details>

[Link to this property](<#(resource)%20rum.site_info%20%3E%20(model)%20site_info_delete_response%20%3E%20(schema)>)