Supported SearchAfter query operators

The following operators are supported in SearchAfter queries.

Operator

Description

Example

Equals

Field values must match the specified value exactly.

RequestResponse
{
  "filter": {
      "type": "StringProperty",
      "property_name": "Title",
      "operator": "Equals",
      "value": "Healthful logo"
  }
  ...
}

LessThan

Field values must be smaller than the specified value.

RequestResponse
{
  "filter": {
      "type": "DateTimeProperty",
      "property_name": "created_on",
      "operator": "LessThan",
      "value": "2025-10-01"
  }
  ...
}

LessThanOrEquals

Field values must be smaller than or equal to the specified value.

RequestResponse
{
  "filter": {
      "type": "DateTimeProperty",
      "property_name": "created_on",
      "operator": "LessThanOrEquals ",
      "value": "2025-10-01"
  }
  ...
}

GreaterThan

Field values must be larger than the specified value.

RequestResponse
{
  "filter": {
      "type": "DateTimeProperty",
      "property_name": "created_on",
      "operator": "GreaterThan",
      "value": "2025-10-01"
  }
  ...
}

GreaterThanOrEquals

Field values must be greater or equal to the specified value.

RequestResponse
{
  "filter": {
      "type": "DateTimeProperty",
      "property_name": "created_on",
      "operator": "GreaterThanOrEquals",
      "value": "2025-10-01"
  }
  ...
}

StartsWith

Field values must start with the specified value.

RequestResponse
{
  "filter": {
      "type": "StringProperty",
      "property_name": "Title",
      "operator": "StartsWith",
      "value": "Lemon tree"
  }
  ...
}

EndsWith

Field values must end with the specified value.

RequestResponse
{
  "filter": {
      "type": "StringProperty",
      "property_name": "Title",
      "operator": "EndsWith",
      "value": "lemons"
  }
  ...
}

Contains

Field values must contain the specified value.

RequestResponse
{
  "filter": {
      "type": "StringProperty",
      "property_name": "Title",
      "operator": "Contains",
      "value": "lemonade"
  }
  ...
} 

DoesNotEqual

Field values must not equal the specified value.

RequestResponse
{
  "filter": {
      "type": "StringProperty",
      "property_name": "Title",
      "operator": "DoesNotEqual",
      "value": "healthful"
  }
  ...
}

Do you have some feedback for us?

If you have suggestions for improving this article,