---
title: ConditionTypes
description: Service for querying and reading the environment condition types stored in OpenAM. Environment condition types describe the JSON representation of environment conditions that you can use in policy definitions
component: pingam
version: 8.1
page_id: pingam:entity-reference:sec-amster-entity-conditiontypes
canonical_url: https://docs.pingidentity.com/pingam/8.1/entity-reference/sec-amster-entity-conditiontypes.html
section_ids:
  sec-amster-entity-conditiontypes-realm-ops: Realm Operations
  sec-amster-entity-conditiontypes-realm-ops-query: query
  sec-amster-entity-conditiontypes-realm-ops-read: read
---

# ConditionTypes

## Realm Operations

Service for querying and reading the environment condition types stored in OpenAM. Environment condition types describe the JSON representation of environment conditions that you can use in policy definitions

Resource path:

```
/conditiontypes
```

Resource version: `1.0`

### query

Query the list of environment condition types

**Usage**

```
am> query ConditionTypes --realm Realm --filter filter
```

**Parameters**

* *\--filter*

  A CREST formatted query filter, where "true" will query all. Fields that can be queried: \[\*]

### read

Read an individual environment condition type by providing the unique identifier title

**Usage**

```
am> read ConditionTypes --realm Realm --id id
```

**Parameters**

* *\--id*

  The unique identifier for the resource.
