How can I retrieve the parameters of the sphere it was created using Python?
you can not, once the constuction history is gone its gone. This doesent mean you cant do a guess but theres no way to be sure.
Dont double post, mel and python have indentical constraints so th aswer would be the same.