---
title: "contentsearchTimeTerm"
url: "https://developer.migros.ch/apis/content-search-api-prod-v1/versions/91af33ef-c15b-4385-bee3-2bafb1c92034/schemas/contentsearchTimeTerm"
---

> Full API specification: https://developer.migros.ch/apis/content-search-api-prod-v1/versions/91af33ef-c15b-4385-bee3-2bafb1c92034.md

# contentsearchTimeTerm

TimeTerm filters a time field. Either min, max or both should be provided.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: ContentSearch API PROD
  version: v1.114.1
servers:
  - url: https://api.migros.ch
components:
  schemas:
    contentsearchTimeTerm:
      description: TimeTerm filters a time field. Either min, max or both should be
        provided.
      properties:
        field:
          description: Required. Name of the field that this term applies to, e.g.
            'updated_at'.
          type: string
        max:
          description: |-
            Optional. Max timestamp value that should be allowed for the field
            (exclusive).
          format: date-time
          type: string
        min:
          description: |-
            Optional. Min timestamp value that should be allowed for the field
            (inclusive).
          format: date-time
          type: string
      type: object
```
