/workspace/templates/layer_extent

The layer extent query method returns a bounding box that describes the extent of a range of geometries.

a body with ids can be supplied optionally to limit the geometries considered.