Skip to content

Numeric filters

Filters that compare a field to a numeric value, range, or array.

Filters by comparing a field to a numeric value.

PropertyTypeRequiredDescription
operatorComparisonOperators | EquivalenceOperatorsYesThe comparison operator to apply to the filter value.
valuenumberYesThe value to use for the filter operation.
{
"operator": "gt",
"value": 1000
}

Filters by comparing a field to a numeric range.

PropertyTypeRequiredDescription
operatorRangeOperatorsYesThe operator to apply to the filter value.
valueobjectYesThe value to use for the filter operation.
{
"operator": "between",
"value": {
"min": 1000,
"max": 10000
}
}

Filters by comparing a field to an array of numeric values.

PropertyTypeRequiredDescription
operatorArrayOperatorsYesThe operator to apply to the filter value.
valuenumber[]YesThe value to use for the filter operation.
{
"operator": "in",
"value": [
1000,
2000,
3000
]
}