Skip to content

Date filters

Filters that compare a field to a date or date range.

Filters by comparing a field to a date value.

PropertyTypeRequiredDescription
operatorComparisonOperatorsYesThe operator to apply to the filter value.
valueisoDate | string | stringYesThe value to use for the filter operation.
{
"operator": "gt",
"value": "2021-01-01"
}

Filters by comparing a field to a range of date values.

PropertyTypeRequiredDescription
operatorRangeOperatorsYesThe operator to apply to the filter value.
valueobjectYesThe value to use for the filter operation.
{
"operator": "between",
"value": {
"min": "2021-01-01",
"max": "2021-01-02"
}
}