add monitor into api