---
title: Monitor Groups
---

[Skip to content](#_top)

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

[Load Balancers](https://developers.cloudflare.com/api/go/resources/load_balancers)

Copy Markdown

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

---

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

# Monitor Groups

##### [List Monitor Groups](https://developers.cloudflare.com/api/go/resources/load_balancers/subresources/monitor_groups/methods/list)

client.LoadBalancers.MonitorGroups.List(ctx, query) (\*SinglePage\[[MonitorGroup](<https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)>)], error)

GET/accounts/{account\_id}/load\_balancers/monitor\_groups

##### [Monitor Group Details](https://developers.cloudflare.com/api/go/resources/load_balancers/subresources/monitor_groups/methods/get)

client.LoadBalancers.MonitorGroups.Get(ctx, monitorGroupID, query) (\*[MonitorGroup](<https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)>), error)

GET/accounts/{account\_id}/load\_balancers/monitor\_groups/{monitor\_group\_id}

##### [Create Monitor Group](https://developers.cloudflare.com/api/go/resources/load_balancers/subresources/monitor_groups/methods/create)

client.LoadBalancers.MonitorGroups.New(ctx, params) (\*[MonitorGroup](<https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)>), error)

POST/accounts/{account\_id}/load\_balancers/monitor\_groups

##### [Update Monitor Group](https://developers.cloudflare.com/api/go/resources/load_balancers/subresources/monitor_groups/methods/update)

client.LoadBalancers.MonitorGroups.Update(ctx, monitorGroupID, params) (\*[MonitorGroup](<https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)>), error)

PUT/accounts/{account\_id}/load\_balancers/monitor\_groups/{monitor\_group\_id}

##### [Patch Monitor Group](https://developers.cloudflare.com/api/go/resources/load_balancers/subresources/monitor_groups/methods/edit)

client.LoadBalancers.MonitorGroups.Edit(ctx, monitorGroupID, params) (\*[MonitorGroup](<https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)>), error)

PATCH/accounts/{account\_id}/load\_balancers/monitor\_groups/{monitor\_group\_id}

##### [Delete Monitor Group](https://developers.cloudflare.com/api/go/resources/load_balancers/subresources/monitor_groups/methods/delete)

client.LoadBalancers.MonitorGroups.Delete(ctx, monitorGroupID, body) (\*[MonitorGroup](<https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)>), error)

DELETE/accounts/{account\_id}/load\_balancers/monitor\_groups/{monitor\_group\_id}

##### ModelsExpand Collapse

<details>

<summary>

type MonitorGroup struct{…}

</summary>

ID string

The ID of the Monitor Group to use for checking the health of origins within this pool.

<a href="#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

Description string

A short description of the monitor group

<a href="#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

<details>

<summary>

Members \[]MonitorGroupMember

List of monitors in this group

</summary>

Enabled bool

Whether this monitor is enabled in the group

<a href="#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)%20%3E%20(property)%20members%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

MonitorID string

The ID of the Monitor to use for checking the health of origins within this pool.

<a href="#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)%20%3E%20(property)%20members%20%3E%20(items)%20%3E%20(property)%20monitor_id">Link to this property</a>

MonitoringOnly bool

Whether this monitor is used for monitoring only (does not affect pool health)

<a href="#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)%20%3E%20(property)%20members%20%3E%20(items)%20%3E%20(property)%20monitoring_only">Link to this property</a>

MustBeHealthy bool

Whether this monitor must be healthy for the pool to be considered healthy

<a href="#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)%20%3E%20(property)%20members%20%3E%20(items)%20%3E%20(property)%20must_be_healthy">Link to this property</a>

CreatedAt TimeOptional

The timestamp of when the monitor was added to the group

formatdate-time

<a href="#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)%20%3E%20(property)%20members%20%3E%20(items)%20%3E%20(property)%20created_at">Link to this property</a>

UpdatedAt TimeOptional

The timestamp of when the monitor group member was last updated

formatdate-time

<a href="#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)%20%3E%20(property)%20members%20%3E%20(items)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)%20%3E%20(property)%20members">Link to this property</a>

CreatedOn TimeOptional

The timestamp of when the monitor group was created

formatdate-time

<a href="#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

ModifiedOn TimeOptional

The timestamp of when the monitor group was last updated

formatdate-time

<a href="#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)%20%3E%20(property)%20modified_on">Link to this property</a>

</details>

[Link to this property](<#(resource)%20load_balancers.monitor_groups%20%3E%20(model)%20monitor_group%20%3E%20(schema)>)

#### Monitor GroupsReferences

##### [List Monitor Group References](https://developers.cloudflare.com/api/go/resources/load_balancers/subresources/monitor_groups/subresources/references/methods/get)

client.LoadBalancers.MonitorGroups.References.Get(ctx, monitorGroupID, query) (\*SinglePage\[[MonitorGroupReferenceGetResponse](<https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers.monitor_groups.references%20%3E%20(model)%20MonitorGroupReferenceGetResponse%20%3E%20(schema)>)], error)

GET/accounts/{account\_id}/load\_balancers/monitor\_groups/{monitor\_group\_id}/references