Prism api automation