Failure detection API