Hello @liwmin,
I believe as of now, we don’t have api for Save As. You can just refer to the below post answered by max, if the other work around helps you.
“You should be able to do with describe dashboard definition and then use that to create a new analysis.”
Thank you,
Shravya