Box Developer Documentation

Join BoxWorks 2024 to discover what's possible with content and AI!

Register now!

Metadata field filter (date range)

Specifies which date field on the template to filter the search results by, specifying a range of dates that can match.

string (date-time)
2016-08-01T00:00:00Z

Specifies the (inclusive) lower bound for the metadata field value. The value of a field must be greater than (gt) or equal to this value for the search query to match this template.

string (date-time)
2017-08-01T00:00:00Z

Specifies the (inclusive) upper bound for the metadata field value. The value of a field must be lower than (lt) or equal to this value for the search query to match this template.

Response Example

{
  "gt": "2016-08-01T00:00:00Z",
  "lt": "2017-08-01T00:00:00Z"
}