WordPress Settings api data not sanitized if i use ajax

WordPress Settings api data not sanitized if i use ajax