add API to get status