International audienceThe modelling of the internal structures of super-Earths and sub-Neptunes gives a valuable insight into their formation history and possible atmospheres. We present a planet model where the interior is coupled with the atmosphere within a Bayesian retrieval scheme. We take into account water in all its possible phases, including steam and supercritical phases, which is necessary for systems with a wide range of stellar irradiations. Our interior-atmosphere model calculates the compositional and atmospheric parameters, such as Fe and water content, surface pressures, scale heights and albedos. We analyse the multiplanetary systems K2-138 and TRAPPIST-1. From their individual composition, we derive a global increasing tr...