Skip to main content

Cookie control banner

Necessary Cookies
These cookies are necessary for this website to function correctly. They are set when you perform certain actions on the site, such as creating an account, logging in, changing your privacy preferences or submitting a form. You can block these cookies in your browser, but this will stop parts of the site from working properly.
Functional Cookies
These cookies allow the website to provide extra functionality and more personalised experiences. They may be set by us or by third party providers whose services we have added to our pages. If you choose not to allow these cookies, these services may not work correctly.
Analytical Cookies
These cookies record anonymous data on how visitors use our website to help us monitor how well our website works. This data includes how many people have looked at specific pages, how long visitors stay on the site, and what devices they use. We use this data to identify changes that we could make to improve your experience and make our website more efficient.
Marketing Cookies
We set some cookies so you are shown more relevant marketing content. These include cookies from third-party advertising networks to show you different adverts on their services if you have previously visited our site. If you choose not to allow these cookies, you may experience less relevant advertising on other sites.
Browse Documentation

ZenQL search – data types

Created by r.saunders, last modified by r.bromley on 13 Feb 2022

ZenQL supports the following data types. These data types are represented in the JSON response of our resources and are documented here for reference.


Dates and time are stored as UTC for all our resources. However, you can provide ZenQL with a variety of date and time formats to make searches easier.

Date/time formats support by ZenQL
Format Example

yyyy-MM-ddTHH:mm:ss.sTZD (ISO standard)




yyyy-MM-dd HH:mm

1997-07-09 19:20

yyyy-MM-dd HH:mm:ss

1997-07-09 19:20:30



yyyy/MM/dd HH:mm

1997/07/09 19:20

yyyy/MM/dd HH:mm:ss

1997/07/09 19:20:30

Time Period

-5d, 4w 2d, see Relative time period

All of the above formats are also valid in single month and/or single day formats, for example, 1997-7-9 (yyyy-M-d) or 1997/7/9 (yyyy/M/d).

Dates and time periods do not need to be wrapped in quotes, for example:

sys.version.modified > 2020-03-01

sys.version.modified > 2020-03-01 12:00:00

sys.version.published > 5d


String searches are not case sensitive, for example:

sys.contentTypeId = plant is the same as sys.contentTypeId = Plant

Multi-word phrases should be wrapped in double quotes.

description ~ "your home"

If a field name or field value consists of a ZenQL keyword, then the field name or value must be wrapped in double quotes.


Integers or decimals do not need to be wrapped in double quotes.

height > 10.0 or height < 10


Boolean values are also expressed without double quotes.

displayOnHomepage = true or displayOnHomepage = false


ZenQL intrinsically understands a UUID of a resource and does not need to be wrapped in quotes. = 3695fac7-bbe4-4637-894a-8857bc662638