soc/api/v1/workloads/Get-WorkloadListOnNode.ps1

function Get-WorkloadListOnNode
{
    param(
        [Parameter(Mandatory)]
        [string] $NodeName
    )

    return Invoke-Api Get "/soc/api/v1/nodes/workloads/?nodeName=$NodeName&pageSize=9999"
}