Beyond topology related tools
An overview of the Topology toolset—Data Management toolbox | ArcGIS Desktop
there are not specific methods/functions in arcpy the Arcpy Classes or Arcpy Functions
ArcGIS Pro Python reference—ArcGIS Pro | ArcGIS Desktop .
When do you want to fix the topology? when creating data, or bringing data in from elsewhere?
Ive already imported the data, created the topology and validated it. So after the initial validation, where dirty areas have been detected.
Regarding the "automatically clean" part of your question, there is no easy button for cleaning up topologies; and even if there was, it likely would generate questionable outcomes for most users. For any given topology error, there is commonly numerous different ways to clean it up.
On the ArcPy part of your question, you can access some topology geoprocessing tools (e.g., An overview of the Topology toolset—Data Management toolbox | ArcGIS Desktop ) using ArcPy, and you can use other geoprocessing tools (e.g., An overview of the Generalization toolset—Data Management toolbox | ArcGIS Desktop ) to clean up data sets; but not all of the topology functionality in ArcGIS Desktop is available through ArcPy.