---
title: "Operators"
slug: "operators"
abstract: "List of operators supported in the REST API and how to use them to query by multiple factors or to negate factors."
---
# Operators

The following operators are supported in the REST API:

- **\==** equal
- **!=** not equal
- **gt** greater than
- **gte** greater than or equal
- **lt** less than
- **lte** less than or equal

## Factors

Use the logical operators **OR**, or **AND** to query by multiple factors simultaneously as follows:

```http
GET http://<HOSTNAME>/api/entities/query?query=String('Title')=='title' AND Bool('IsDraft')

```

Additionally, you can group factors to express explicit logical precedence as follows:

```http
GET http://<HOSTNAME>/api/entities/query?query=(Definition.Name == "M.Asset" AND FullText == "a") OR Definition.Name == 'M.File'

```

## Negating

In addition to operators, you can negate factors by preceding them with **!**. For example, to negate the **FinalLifeCycleStatusToAsset** condition, use **!** and parentheses:

```http
GET http://<HOSTNAME>/api/entities/query?query=Definition.Name=='M.Asset' AND !(Parent('FinalLifeCycleStatusToAsset').id == 542)

```