# Filtering & Sorting

# Filtering

Endpoints that return an enumeration of items and are marked with Paginated can usually be filtered by adding query parameters to the request body. The following query parameters are supported:

Parameter Description
search Search for items that contain the specified string in their name or description
filter An ordered dictionary that contains the fields to filter by as keys and the value to filter for as the value.

# Sorting

Endpoints that return an enumeration of items and are marked with Paginated can usually be sorted by adding query parameters to the request body. The following query parameters are supported:

Parameter Description
sort An ordered dictionary that contains the fields to order by as keys and the direction as the value

The direction can be either asc or desc.