---
title: "List entities"
method: GET
path: "/api/security/entity_store/entities"
tags: ["Security entity store"]
---

# List entities

`GET /api/security/entity_store/entities`

**Spaces method and path for this operation:**

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/security/entity_store/entities</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

List entity records from the Entity Store with paging, sorting, and filtering. Supports two modes: page-based pagination (page/per_page) and cursor-based pagination (searchAfter). The two modes cannot be combined.<br/><br/>[Required authorization] Route required privileges: securitySolution.

## Query parameters

- `filter` string
- `size` integer
- `searchAfter` string
- `source` string[]
- `fields` string[]
- `sort_field` string
- `sort_order` 'asc' | 'desc'
- `page` integer
- `per_page` integer
- `filterQuery` string
- `entity_types` string[]

## Response `200`

Indicates a successful response.

## Other responses

- `400` — Bad request.

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
