Animating through 1,438 Guggenheim Collection API Images yields the answer.
The flattest work (by aspect ratio of image) is James Rosenquist’s The Swimmer in the Econo-mist (painting 1), while the skinniest is Morris Louis’ #48.
Average Aspect Ratio of Artworks from Cameron Browning on Vimeo.