What is kanmi?
The word kanmi (甘味) means a sweet taste or sweet food. A kanmi-dokoro (甘味処) is a place that serves sweets, and the word is used especially for shops serving wagashi such as anmitsu and dango. Grouping them as kanmi is this site's way of making them easy to find, not a formal category.
Source (in Japanese): コトバンク 甘味 / コトバンク 甘味所(甘味処)
What these sweets share is that they are assembled in a bowl and eaten on the spot. Mitsumame is cubes of kanten (a seaweed jelly) with boiled red peas, gyuhi and fruit under sugar syrup, and anmitsu adds sweet bean paste. Shiruko and zenzai are sweet azuki with mochi or shiratama dumplings. Kakigori is finely shaved ice with syrup, and kintoki adds sweet azuki.
Source (in Japanese): コトバンク 蜜豆 / コトバンク 餡蜜 / コトバンク 寒天 / コトバンク 汁粉 / コトバンク かき氷(日本大百科全書)
From street stalls to teahouses
Shiruko and zenzai are the oldest. Zenzai mochi appears in a record from 1493, and by the end of the Edo period shiruko sellers carried portable stalls through Edo, Kyoto and Osaka at night. From the early Meiji era, shops selling shiruko opened in the cities.
Mitsumame began as a cheap snack, sold first at theater stalls and in the geisha districts; it seems to have started in the late Meiji era and spread in the Taisho era. Adding bean paste produced anmitsu, said to have been created in Ginza in the 1930s (accounts differ on who and when). Fruit, cream and anmitsu versions became favorites at shiruko shops and kanmi cafés.
Kakigori has the longest roots but became common last. Shaved ice with a sweet syrup appears in The Pillow Book around the year 1000 as one of the "elegant things" of the court, yet ice stayed a luxury until the Meiji era, when natural ice was shipped to the cities and the first kakigori shop is said to have opened in Yokohama in 1869. After the Second World War, tastes changed and old-style shiruko shops became rare, though some carry on as kanmi cafés.
Source (in Japanese): コトバンク 削氷 / コトバンク かき氷(日本大百科全書) / コトバンク 汁粉
Cold kanmi for summer, warm kanmi for winter
In haiku, mitsumame, anmitsu and kakigori (under names such as kōri-mizu and kezurihi) are all words for summer. Shiruko can be summer food too: chilled or iced, it becomes hiyashi shiruko or kōri shiruko.
Source (in Japanese): コトバンク 蜜豆 / コトバンク 餡蜜 / コトバンク 氷水 / コトバンク 削氷 / コトバンク 汁粉
In winter, warm bowls take over. Japan's Ministry of Agriculture lists zenzai as a December wagashi, and at the New Year kagami-biraki, held mainly on January 11, the kagami mochi offered over the holiday is broken into pieces and eaten in zōni or shiruko. In Okinawa, though, "zenzai" is a cold summer bowl of sweet beans under shaved ice.
Source (in Japanese): 農林水産省 にっぽん伝統食図鑑 菓子類 / コトバンク 鏡開き / 沖縄観光コンベンションビューロー おきなわ物語 沖縄で食べたい!ぜんざい&かき氷
Other well-known teahouse desserts
Mitsumame · Fruit mitsumame · Cream mitsumame (with ice cream) · Oshiruko (sweet red bean soup) · Hiyashi shiruko (chilled shiruko) · Awa zenzai (with millet mochi)