API Status

Hi there,

I’ve set up health checks in my applications, and the ones integrated with the Cloudflare API include a health check that verifies the response from https://api.cloudflare.com/client/v4/status for a success code.

However, for the past few months, this endpoint has been consistently returning a 400 (Bad Request) status code. Here’s the exact message from the health check:

Discover endpoint #0 is not responding with a code in the 200...299 range; the current status is BadRequest.

This issue is causing my applications to remain in a degraded state continuously.

My question is, what has happened to this endpoint, and how can I determine the health status of the Cloudflare API?

Thank you for your assistance.

Kind regards,
Antonio

I don’t know if the status endpoint was ever officially documented. You can use the /user/tokens/verify endpoint to check the health.