How to superscript text using API

Can’t find anything in the docs about superscripting range of text