Hello Jernej,
You can loop through all the dense clouds in the active chunk and export them:
chunk = Metashape.app.document.chunk
for cloud in chunk.dense_clouds:
chunk.exportPoints(path = "point_cloud_" + cloud.key + ".las", source_data = Metashape.DenseCloudData)