The Tosefta (a supplement to the Mishnah) teaches that on Chanucah and Purim, we should mention "some of what happened" in the Amidah, during the "thanksgiving blessing". By this, the rabbis apparently meant a summary of the miraculous events of the festival.
By the eighth century, a text for this had developed with an introduction thanking God for redemption throughout the ages. The prayer begins Al Hanisim -"for the miracles, the redemption, and the victories, and liberation that you did for our ancestors in those days and today."
The miracle of the jug of oil does not feature in Al . The focus, instead, is on the military victory - against all odds and a triumph of good over evil - that God granted the Maccabis.