Multi-armed bandit API