Data from Stack Overflow for Teams can be exported by any team admin via the Settings section within the team. You can find detailed information here.