---
title: Saml2Entities
description: This endpoint allows querying SAML2 entities configured in the system regardless of whether they are hosted or remote
component: pingam
version: 8.1
page_id: pingam:entity-reference:sec-amster-entity-saml2entities
canonical_url: https://docs.pingidentity.com/pingam/8.1/entity-reference/sec-amster-entity-saml2entities.html
section_ids:
  sec-amster-entity-saml2entities-realm-ops: Realm Operations
  sec-amster-entity-saml2entities-realm-ops-query: query
---

# Saml2Entities

## Realm Operations

This endpoint allows querying SAML2 entities configured in the system regardless of whether they are hosted or remote

Resource path:

```
/realm-config/saml2
```

Resource version: `1.0`

### query

**Usage**

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

**Parameters**

* *\--filter*

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