API C ClassTalents.GetActiveConfigID

Returns the configID used for your currently selected specialization. Not to be confused with a talent loadout's configID
 activeConfigID = C_ClassTalents.GetActiveConfigID()
==Returns==
:;activeConfigID:
 Death Knight
Deathbringer	Rider of the Apocalypse	San'layn
33 	32 	31
 Demon Hunter
Aldrachi Reaver	Fel-Scarred
35 	34
 Druid
Druid of the Claw	Elune's Chosen	Keeper of the Grove	Wildstalker
21 	24 	23 	22
 Evoker
Chronowarden	Flameshaper	Scalecommander
38 	37 	36
 Hunter
Dark Ranger	Pack Leader	Sentinel
44 	43 	42
 Mage
Frostfire	Spellslinger	Sunfury
41 	40 	39
 Monk
Conduit of the Celestials	Master of Harmony	Shado-pan
64 	66 	65
 Paladin
Herald of the Sun	Lightsmith	Templar
50 	49 	48
 Priest
Archon	Orcale	Voidweaver
19 	20 	18
 Rogue
Deathstalker	Fatebound	Trickster
53 	52 	51
 Shaman
Farseer	Stormbringer	Totemic
56 	55 	54
 Warlock
Diabolist	Hellcaller	Soul Harvester
59 	58 	57
 Warrior
Colossus	Mountain Thane	Slayer
62 	61 	60
==Details==
In the context of talent trees, there's a functional divide between loadout configs, and the "active config". Each spec has an "active config", which contains all your active talents, regardless of what loadout you might have selected. This simplifies retrieving information about a player's talent setup, and acts as a safeguard for whenever a player manages to get into a situation where they have no active loadout (e.g. by deleting their loadouts, or by switching to the starter build, and making changes).
Whenever you activate a talent loadout by calling , it will apply any required changes to your "active config", which is why the event payload holds the "active config" ID, rather than the loadout configID.