Optimize Pro has been deprecated. But you can check out Optimize Live:
API Reference for the Experiment kind.
API Reference for the Trial kind.