K2 Plugin API is in prototype stage and it's ready to play with it, but it's not recommended to use it to some production solutions, because most likely it will be changed in incompatible way based on feedback from early adopters
You can found some docs
here