The Mesopotamian pantheon is the whole filed company of the gods — thousands of names from the great creators to the hearth-spirits, gathered in lists the scribes kept like a state's registry: An, Enlil, Ea, Ninhursag at the head; the astral triad; the city-patrons; the demons at the bottom — one administration, Sumerian and Akkadian alike.
Domain
The total company of the gods, great and minor
First Attested
From the Fara god-lists (mid-third millennium) to An = Anum and beyond
Primary Texts
The god-lists; the hymns and epics; the laments' roll-calls
Related Deities
The four heads; the astral triad; the city-patrons; the thousands of named staff
Core Themes
The two peoples' one court: Sumerian and Akkadian gods one system by syncretism — Inanna/Ishtar one goddess, Nanna/Sin, Utu/Shamash; the pantheon a bilingual institution from the Akkadian age on.
The registry genre: god-lists as scholarship: from Fara's beginnings to the series An = Anum's thousand-odd entries, the scribes filed the gods in couples and triads, ranks and genealogies — the pantheon as a maintained database — the scribes filing the gods as carefully as the grain accounts, and for the same reason: the world's staff had to be paid correctly.
The seats shift: city-gods rise and fall with their cities (see patron deities); Marduk's and Nabu's Babylonian climb the classic case (see the hierarchy).
The divine couples: the lists pair gods with consorts — Enlil and Ninlil, Nanna and Ningal, Shamash and Aya — the pantheon a society of households, each great god a married house-owner as the city's elite were.
Evidence & Sources
The god-lists and the literary roll-calls are the pantheon's own documentation; the modern reference treatments (the "List of Mesopotamian deities" overview) file the same company.