$getFilters will return all active filters.
$getFilters
This will return the current applied filters:
1client.command({2 name: "getFilters",3 code: `4 $getFilters5 `6});