---
title: "Specific properties"
slug: "specific-properties"
abstract: "How to query entities using named properties."
---
# Specific properties

In addition to the generic properties, it is also possible to query for specific named properties.

## Root taxonomy item

To query all entities that represent a root taxonomy item, use the `IsRootTaxonomyItem` property:

```http
GET http://<HOSTNAME>/api/entities/query?query=IsRootTaxonomyItem

```

To negate the `IsRootTaxonomyItem` property, use an exclamation mark:

```http
GET http://<HOSTNAME>/api/entities/query?query=!IsRootTaxonomyItem

```

## Definition ID

To query for all entities that have a certain definition ID, use the `Definition.id` property:

```http
GET http://<HOSTNAME>/api/entities/query?query=Definition.Id==22

```

> [!note]
> This property only supports **\==** and **!=** operators.

## Definition name

To query for all entities that have a certain definition name, use the `Definition.Name` property:

```http
GET http://<HOSTNAME>/api/entities/query?query=Definition.Name=='M.Asset'

```

> [!note]
> This property only supports **\==** and **!=** operators.

> [!tip]
> We recommend to limit queries by including one of the definition restrictions. It improves performance and avoids unexpected results (e.g. a request returns files but you only want assets).

## Locked by

To query for all assets locked by a certain user ID, use the `LockedBy` property:

```http
GET http://<HOSTNAME>/api/entities/query?query=Definition.Name=='M.Asset' AND LockedBy==3

```

> [!note]
> This property only supports **\==** and **!=** operators.

## Locked

To query for all locked assets, use the *Locked* property:

```http
GET http://<HOSTNAME>/api/entities/query?query=Definition.Name=='M.Asset' AND Locked

```

> [!note]
> This property does not support any operators, but can be negated.

## Created by

To query for all assets created by a certain user ID, use the `CreatedBy` property:

```http
GET http://<HOSTNAME>/api/entities/query?query=Definition.Name=='M.Asset' AND CreatedBy==3

```

> [!note]
> This property only supports **\==** and **!=** operators.

## Modified by

To query for all assets last modified by a certain user ID, use the `ModifiedBy` property:

```http
GET http://<HOSTNAME>/api/entities/query?query=Definition.Name=='M.Asset' AND ModifiedBy==3

```

> [!note]
> This property only supports **\==** and **!=** operators.