Box Developer Documentation

Metadata field filter (date range)

This resource is used by enpoints in the version 2024.0. For more details, see Box API versioning.

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"
}