Over the top of my head this is the format: https://github.com/simulationcraft/simc/wiki/Equipment
Here’s a sample:
mage="NAME"
level=110
race=troll
region=REGION
server=SERVER
role=spell
professions=XXX=800/YYY=800
talents=1111111
spec=frost
artifact=53:0:0:0:0:783:1:784:4:785:4:786:4:787:4:788:4:789:4:790:4:791:4:792:4:793:1:794:1:795:1:796:1:797:1:798:1:1296:1:1373:1:1537:4:1538:1:1539:1:1540:24:1641:1
crucible=1739:1783:785/1739:1783:786/1739:1780:785
head=,id=147147,gem_id=151585,bonus_id=3563/1808/1527/3337
neck=,id=137536,enchant_id=5439,bonus_id=3536/1582/3337
shoulder=,id=138321,enchant_id=5929,bonus_id=3518/1502/3528
back=,id=138365,enchant_id=5436,bonus_id=3518/1502/3528
chest=,id=147149,bonus_id=3562/1517/3337
shirt=,id=138385
wrist=,id=138140,bonus_id=1811/3570
hands=,id=147146,gem_id=151585,bonus_id=3562/1808/1512/3337
waist=,id=146999,bonus_id=3562/1527/3337
legs=,id=147148,bonus_id=3562/1512/3337
feet=,id=151301,bonus_id=3418/1587/3337
finger1=,id=132410,enchant_id=5427,gem_id=151585,bonus_id=3459/3570
finger2=,id=147021,enchant_id=5430,bonus_id=3563/1522/3336
trinket1=,id=136750,bonus_id=3573/607/1597/3337
trinket2=,id=141482,bonus_id=3573/1527/3336
main_hand=,id=128862,gem_id=147095/147076/147095,bonus_id=731,relic_id=3562:1527:3337/3563:1512:3528/3562:1512:3336
In the log I got, you can get the ids from the log, gems, bonsu properties, relics, Netherlight Crucible enchants, name, ilvl etc. If you need further help I can hash it out with you and I’ll check the development pages if you need me to.
The format I printed above is from raidbots, the simc addon in game and simulationcraft. It is standard throughout all simulationcraft softwares/webapps/addons. You don’t even need some lines like Professions too. You can remove them as needed. Check your simc addon (download here: https://www.curseforge.com/wow/addons/simulationcraft).
I can also contact the class discords and get the exact ids/formats for the individual spec weapons so it is easy to code in for relics, artifact levels and netherlight enchants. All this information is already in the logs and I’d venture already in the same ids as simulationcraft uses, cause we just import what ids wow game uses in our web apps.