Our recommendation would be a minimum of 500mm for maintenance purposes.
For garden rooms that are over 15m², we will require a 1m gap between the garden room and any solid obstacle to avoid Building Regulations kicking in!