diff --git a/src/fmu/sumo/explorer/objects/surface_collection.py b/src/fmu/sumo/explorer/objects/surface_collection.py index 9966a4b8..0230bd1b 100644 --- a/src/fmu/sumo/explorer/objects/surface_collection.py +++ b/src/fmu/sumo/explorer/objects/surface_collection.py @@ -133,7 +133,7 @@ def _aggregate(self, operation: str) -> xtgeo.RegularSurface: object_ids = list(map(lambda obj: obj["_id"], objects)) res = self._sumo.post( - "/aggregate", + "/surface/aggregate", json={"operation": [operation], "object_ids": object_ids}, ) @@ -151,7 +151,7 @@ async def _aggregate_async(self, operation: str) -> xtgeo.RegularSurface: object_ids = list(map(lambda obj: obj["_id"], objects)) res = await self._sumo.post_async( - "/aggregate", + "/surface/aggregate", json={"operation": [operation], "object_ids": object_ids}, )