Query Regarding Cloudflare Health Check API

I'm seeking assistance regarding the Cloudflare Health Check API. Specifically, I'm looking for a way to retrieve information on when the status of a health check last changed.

Link to API Call: https://developers.cloudflare.com/api/operations/health-checks-list-health-checks

Is there a timestamp provided in the response? I couldn't locate one.

In the dashboard under Traffic --> Health Check Analytics, it's possible to filter timestamps for a health check through the Event Log. This is precisely the information I need, specifically the timestamp of the last "Health Status Change" event log.

Does anyone know of a solution for this?

It seems that through Analytics GraphQL, one could likely access this data. However, it would be preferable to achieve this without using GraphQL. Does anyone have an example of how to query the data from the API call "health-checks-list-health-checks" along with the Event Log for "Health Status Change" solely through GraphQL?

Thank you in advance for any assistance or insights you can provide.

Best regards,
Stefan
Interact with Cloudflare's products and services via the Cloudflare API
Was this page helpful?