add /training API