Get Gateway Event Script Status through Scripting

I’m working on developing some additional performance metrics for our Ignition servers, and I’d like to get the status of Gateway Event scripts and write them to tags so I can send them to a parent gateway over MQTT. I really just want to get the same information that is displayed in /status/sys.gateway-scripts, but I’ve looked all over and I can’t find where this is! I assume it must be getting stored somewhere in the internal database if you are displaying it on the status page, I’ve just had no luck finding it.