"View As Group" with the API to look at missing patches of those computers

Maybe I’m looking at this wrong, but… figured this is the right place to ask. Looking to automate patches needed by a multiple “computer groups”.

Manually, when I’ve done it. I just highlight the different groups, select “View as Group” and check what microsoft patches are missing and add those to a baseline. But not sure how “view” as a group for checking missing patches through API? I really can’t “check for all machines missing patches” as different groups are different customers and it would be way too many to include for a baseline.

Basically:
→ Get a list of computers from different “computer groups”
→ Query that “view as group” Microsoft patches needed and add them to a baseline that a human can schedule later.

Any thoughts on that “view as group” for api?

How are you selecting the computers to include in the view? By name? By some property?

Sure thing. Left side, expand ‘computers > computer groups >’ and highlight a few of them, then as the different computers in those groups show up on the right top paine… I “select all” and do a “view as group”. This way I can see only fixlets needed for ‘that group’ basically.

My goal is to do the API and “view as group” by keywords. Like do a “view as group” for all ‘prod’ or ‘testing’.