is there a REST API for this .. so that one can easily write an automated check for this?