Adding data condition for status API.