Filtering
filter is a nested query object that acts as the WHERE clause of your request. This page covers its full syntax: simple field matches, operators, and and/or grouping — plus a default date window you should know about on the /events endpoint.
Simple filtering
Filter to resources whose first_name is mad:
&filter[first_name]=mad
Multi-field filtering
Multiple top-level filter fields are implicitly AND'd together. Filter to resources whose first_name is mad and whose last_name is max:
&filter[first_name]=mad&filter[last_name]=max
Relation filtering
Reach through a relationship with dot notation. Filter to resources whose league's season's program_id is 123 and whose league is active:
&filter[league.season.program_id]=123&filter[league.is_active]=true
This only affects which primary resources are returned — see Request Parameters for filterRelations if you also need to narrow what comes back inside a matching include.
Operators
Post-fix a filter field with __ (double underscore) and an operator to compare with something other than equality:
| Operator | Meaning |
|---|---|
__gt | Greater than |
__gte | Greater than or equal |
__lt | Less than |
__lte | Less than or equal |
__in | Matches any value in a list |
__notin | Matches none of the values in a list |
__isnull | Field is null |
__notnull | Field is not null |
__contains | String contains |
__starts | String starts with |
__ends | String ends with |
Filter events between two dates:
&filter[start_date__gte]=2026-03-01&filter[end_date__lte]=2026-03-10
Grouping with and / or
and / orBuild compound conditions with the and and or keywords, each followed by a numeric index for every condition in the group.
Filter to resources whose first_name is mad OR max:
&filter[or][0][first_name]=mad&filter[or][1][first_name]=max
Groups can nest — a composite and/or condition must start with a root group. Filter to resources whose first_name is mad and whose last_name is max OR michael:
&filter[and][0][first_name]=mad&filter[and][1][or][0][last_name]=max&filter[and][1][or][1][last_name]=michael
Building one up
Say you want events for program_id 123, starting on or after today, where the event type is either game or practice:
&filter[and][0][program_id]=123
&filter[and][1][start_date__gte]=2026-08-28
&filter[and][2][or][0][event_type]=game
&filter[and][2][or][1][event_type]=practice
Each piece — a relation-scoped field, a date operator, and an OR group — composes into one filter the same way it would stand alone.
The /events default date window
/events default date windowThe /events endpoint applies a default filter limiting results to a ±3 month window around the current date — but only when your request includes no start_date or end_date filter of its own. This protects the endpoint (and you) from an unbounded scan across every event Dash has ever recorded.
Adding any start or end date filter overrides the default automatically. To fetch events with no date bound at all, pass:
&filter[unconstrained]=true
Prefer narrowing over
unconstrained. Removing all date constraints can return a large volume of data and increases the risk of timeouts. Reach forfilter[unconstrained]=trueonly when you genuinely need an unbounded result set — narrowing with a date range first is almost always the better option.
See Request Parameters for filterRelations, which builds on this same filter syntax to also narrow an included relationship.
Updated 2 months ago

