A nonabelian cocycle is, generally, a cocycle in nonabelian cohomology.
This means usually that it is modeled in either of the following two ways:
Notice that for , descent data in a setup of strict -categories still form a strict -category, while -anafunctors form weak -category.