Heartbeats API endpoint