add facilities api definition