---
updatedAt: 2026-03-01T18:44:24.000Z
---

# FilterParams

Describes filtering parameters that are wrapped in an array, URL-encoded, and passed in with GET requests using the `filterParams` query parameter.

Sample non-encoded parameter value, expanded:

[block:code]
{
  "codes": [
    {
      "code": "[\n    {\n        \"condition\": \"in\",\n        \"id\": 4,\n        \"type\": \"dimension\",\n        \"values\": [\n            \"GB\"\n        ]\n    },\n    {\n        \"condition\": \"gt\",\n        \"id\": 155,\n        \"type\": \"metric\",\n        \"values\": [\n            16\n        ]\n    }\n]",
      "language": "json"
    }
  ]
}
[/block]

#### FilterParams members

| Member         | Type        | Required | Description                                                                                                                                                                                                                                                                                                                                                      |
| :------------- | :---------- | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `FilterParams` |             |          |                                                                                                                                                                                                                                                                                                                                                                  |
| `condition`    | Enumeration |     ✓    | The condition specifier. For dimensions: `in`, `nin` (in or not in), `contains`, `ncontains` (does or doesn't contain), `starts`, `nstarts` (does or doesn't start with), `ends`, `nends` (does or doesn't end with). For metrics: `eq`, `neq` (equal or not), `gt` (greater than), `gte` (greater than or equal), `lt` (less than), `lte` (less than or equal). |
| `id`           | Integer     |     ✓    | Identifies each dimension or metric filtering entity.                                                                                                                                                                                                                                                                                                            |
| `type`         | Enumeration |     ✓    | Specifies whether the provided `id` parameter is a `dimension` or a `metric`.                                                                                                                                                                                                                                                                                    |
| `values`       | Array       |     ✓    | List of values used to filter the result. Values represent either inclusions or exclusions, depending on what the `condition` parameter specifies.                                                                                                                                                                                                               |

# Sibling pages

* [SortParams](https://techdocs.akamai.com/media-services-rpts/reference/sort-params.md)