Retrieving fluid mesh

Is there a way to retrieve a fluid mesh directly, or are addons expected to read the .obj cache files from disk?

Fluid simulation is just another modifier. For an add-on like an exporter or renderer you would get the evaluated mesh that includes all modifiers, no special treatment for fluid simulation.

Thanks, @brecht. Yup, looks like getting the evaluated version gives me the mesh.