According to the platform's privacy policy, Twitter (X) retains log data of your account for up to 18 months.