We define a generalization of Massey products for algebras over Koszul operad in characteristic zero, extending Massey’s and Allday’s Retah’s the associative Lie cases, respectively. establish connections with minimal models Dimitrova’s universal operadic cohomology class. compute Gerstenhaber algebra example hypercommutative related to Chevalley–Eilenberg complex Heisenberg algebra.