Is there an API reference for YafaRay?

Yes, you can find the most recent API documentation for Core and Blender Exporter here.