# Selection

The Selection API lets you list, add, and remove entities from a selection.

 - [GET /api/selection/{selectionPool}/{definitionName}](https://api-docs.sitecore.com/ch/selection-api/selection/getselection.md): Retrieves selection items for a given selection pool. At least one of the following must be provided. If both are provided, the route parameter takes precedence: - `definitionName` (route parameter) -
 - [DELETE /api/selection/{selectionPool}/{definitionName}](https://api-docs.sitecore.com/ch/selection-api/selection/clearselection.md): Removes all the entities for a specific definition from the selection. It does not delete the selection pool itself and does not affect other definitions in the same pool or other sub-pools.
 - [POST /api/selection](https://api-docs.sitecore.com/ch/selection-api/selection/createselection.md): Creates a selection using one of the following modes: - **Mode 1** Direct Entity IDs - use this mode when you know the specific entity IDs to add. - **Mode 2** Query-Based Selection - use this mode to
 - [PATCH /api/selection](https://api-docs.sitecore.com/ch/selection-api/selection/updateselection.md): Add or remove entities from a selection. This request can contain multiple commands and is used both to add and to remove entities from a selection using the PATCH object.
