---
title: "Filtering Service Objects"
description: ""
url: "https://docs.itrsgroup.com/docs/opsview/6.11.7/rest-api/status/api-status-filtering-service-objects/index.html"
---
There are common filtering parameters that can be used for filtering of service objects.

URL parameters:

- `hostgroupid` — includes this host group in list and all hosts and services below. Can be repeated.
-`hostgroupname` — includes this host group in list and all hosts and services below. Can be repeated. If a host group name is duplicated, all host groups will be considered.
- `hostname` — filter hosts by this host name. Can be repeated. Can include the % parameter for wildcard matching - use %25 in the URL so it doesn't get escaped. The parameter `host` is considered the same, but `hostname` will be used in preference.
- `hostid` — filter hosts by this host id. Can be repeated.
- `servicename` — filter services by this service check name. Can be repeated. Can include the % character for wildcard matching - use %25 in the URL so it doesn't get escaped. The parameter `servicecheck` is considered the same, but `servicename` will be used in preference.
- `serviceid` — filter services by this service id. Can be repeated.
- `hs` — filter services that match this format: `hostname::servicename`. Must match exactly. Can be repeated.
- `keyword` — filter services by keyword. Can be repeated.
- `monitoredby` — filter by name of the monitored by server. Can be repeated.
- `has_perfdata` — if set, will filter services that have performance data.
- `can_change` — if set, will only list services that the user can either change or set downtime for.
- `htid` — host template ID. Can be repeated.
- `bsid` — business service ID. Can be repeated.
- `bcid` — business component ID. Can be repeated.

