---
title: Endpoint Healthchecks
---

[Skip to content](#%5Ftop) 

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

[Diagnostics](https://developers.cloudflare.com/api/typescript/resources/diagnostics)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Endpoint Healthchecks

##### [List Endpoint Health Checks](https://developers.cloudflare.com/api/typescript/resources/diagnostics/subresources/endpoint-healthchecks/methods/list)

client.diagnostics.endpointHealthchecks.list(EndpointHealthcheckListParams { account\_id } params, RequestOptionsoptions?): [EndpointHealthcheckListResponse](https://developers.cloudflare.com/api/typescript/resources/diagnostics#%28resource%29%20diagnostics.endpoint-healthchecks%20%3E%20%28model%29%20endpoint%5Fhealthcheck%5Flist%5Fresponse%20%3E%20%28schema%29) { check\_type, endpoint, id, name } 

GET/accounts/{account\_id}/diagnostics/endpoint-healthchecks

##### [Endpoint Health Check](https://developers.cloudflare.com/api/typescript/resources/diagnostics/subresources/endpoint-healthchecks/methods/create)

client.diagnostics.endpointHealthchecks.create(EndpointHealthcheckCreateParams { account\_id, check\_type, endpoint, name } params, RequestOptionsoptions?): [EndpointHealthcheckCreateResponse](https://developers.cloudflare.com/api/typescript/resources/diagnostics#%28resource%29%20diagnostics.endpoint-healthchecks%20%3E%20%28model%29%20endpoint%5Fhealthcheck%5Fcreate%5Fresponse%20%3E%20%28schema%29) { check\_type, endpoint, id, name } 

POST/accounts/{account\_id}/diagnostics/endpoint-healthchecks

##### [Get Endpoint Health Check](https://developers.cloudflare.com/api/typescript/resources/diagnostics/subresources/endpoint-healthchecks/methods/get)

client.diagnostics.endpointHealthchecks.get(stringid, EndpointHealthcheckGetParams { account\_id } params, RequestOptionsoptions?): [EndpointHealthcheckGetResponse](https://developers.cloudflare.com/api/typescript/resources/diagnostics#%28resource%29%20diagnostics.endpoint-healthchecks%20%3E%20%28model%29%20endpoint%5Fhealthcheck%5Fget%5Fresponse%20%3E%20%28schema%29) { check\_type, endpoint, id, name } 

GET/accounts/{account\_id}/diagnostics/endpoint-healthchecks/{id}

##### [Delete Endpoint Health Check](https://developers.cloudflare.com/api/typescript/resources/diagnostics/subresources/endpoint-healthchecks/methods/delete)

client.diagnostics.endpointHealthchecks.delete(stringid, EndpointHealthcheckDeleteParams { account\_id } params, RequestOptionsoptions?): [EndpointHealthcheckDeleteResponse](https://developers.cloudflare.com/api/typescript/resources/diagnostics#%28resource%29%20diagnostics.endpoint-healthchecks%20%3E%20%28model%29%20endpoint%5Fhealthcheck%5Fdelete%5Fresponse%20%3E%20%28schema%29) { errors, messages, success } 

DELETE/accounts/{account\_id}/diagnostics/endpoint-healthchecks/{id}

##### [Update Endpoint Health Check](https://developers.cloudflare.com/api/typescript/resources/diagnostics/subresources/endpoint-healthchecks/methods/update)

client.diagnostics.endpointHealthchecks.update(stringid, EndpointHealthcheckUpdateParams { account\_id, check\_type, endpoint, name } params, RequestOptionsoptions?): [EndpointHealthcheckUpdateResponse](https://developers.cloudflare.com/api/typescript/resources/diagnostics#%28resource%29%20diagnostics.endpoint-healthchecks%20%3E%20%28model%29%20endpoint%5Fhealthcheck%5Fupdate%5Fresponse%20%3E%20%28schema%29) { check\_type, endpoint, id, name } 

PUT/accounts/{account\_id}/diagnostics/endpoint-healthchecks/{id}

##### ModelsExpand Collapse 

EndpointHealthcheck { check\_type, endpoint, name } 

check\_type: "icmp"

type of check to perform

endpoint: string

the IP address of the host to perform checks against

name?: string

Optional name associated with this check

EndpointHealthcheckListResponse { check\_type, endpoint, id, name } 

check\_type: "icmp"

type of check to perform

endpoint: string

the IP address of the host to perform checks against

id?: string

UUID.

maxLength36

name?: string

Optional name associated with this check

EndpointHealthcheckCreateResponse { check\_type, endpoint, id, name } 

check\_type: "icmp"

type of check to perform

endpoint: string

the IP address of the host to perform checks against

id?: string

UUID.

maxLength36

name?: string

Optional name associated with this check

EndpointHealthcheckGetResponse { check\_type, endpoint, id, name } 

check\_type: "icmp"

type of check to perform

endpoint: string

the IP address of the host to perform checks against

id?: string

UUID.

maxLength36

name?: string

Optional name associated with this check

EndpointHealthcheckDeleteResponse { errors, messages, success } 

errors: Array<Error\>

code: number

minimum1000

message: string

documentation\_url?: string

source?: Source { pointer } 

pointer?: string

messages: Array<Message\>

code: number

minimum1000

message: string

documentation\_url?: string

source?: Source { pointer } 

pointer?: string

success: true

Whether the API call was successful.

EndpointHealthcheckUpdateResponse { check\_type, endpoint, id, name } 

check\_type: "icmp"

type of check to perform

endpoint: string

the IP address of the host to perform checks against

id?: string

UUID.

maxLength36

name?: string

Optional name associated with this check