Create health check
Create a new health check for a zone.Zone identifier
The hostname or IP address of the origin server to run health checks on
A short name to identify the health check. Only alphanumeric characters, hyphens, and underscores are allowed
The protocol to use for the health checkOptions:
HTTP | HTTPS | TCPA list of regions from which to run health checks. Null means Cloudflare will pick a default regionOptions:
WNAM, ENAM, WEU, EEU, NSAM, SSAM, OC, ME, NAF, SAF, IN, SEAS, NEAS, ALL_REGIONS (Business and Enterprise only)A human-readable description of the health check
The interval between each health check in seconds. Shorter intervals may give quicker notifications but will increase load on the origin
The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately
The timeout (in seconds) before marking the health check as failed
The number of consecutive fails required from a health check before changing the health to unhealthy
The number of consecutive successes required from a health check before changing the health to healthy
If suspended, no health checks are sent to the origin
Parameters specific to an HTTP or HTTPS health check
Parameters specific to TCP health check
Response fields
Health check identifier
The hostname or IP address of the origin server
Health check name
The current status of the origin server according to the health checkOptions:
unknown | healthy | unhealthy | suspendedThe current failure reason if status is unhealthy
The protocol used for the health check
Regions from which health checks are run
When the health check was created
When the health check was last modified
Interval between health checks in seconds
Number of retries before marking as unhealthy
Timeout in seconds
Consecutive fails required to mark as unhealthy
Consecutive successes required to mark as healthy
Whether health checks are suspended
HTTP/HTTPS health check configuration
TCP health check configuration
List health checks
List all configured health checks for a zone.Get health check
Retrieve a single configured health check.Update health check
Update all properties of a configured health check.Edit health check
Patch specific properties of a configured health check.Delete health check
Delete a health check.ID of the deleted health check