# Find features by ids

| **Description** | Retrieve features from a vector layer by using feature ids.   |
| --------------- | ------------------------------------------------------------- |
| **Endpoint**    | `/path/{pathId}/vector/timestamp/{timestampId}/featuresByIds` |
| **Method**      | GET                                                           |

### Access Level Rules

| **Access Level** | view |
| ---------------- | ---- |

### Processing Units

| **Processing units** | 5 |
| -------------------- | - |

### Parameters

<table><thead><tr><th width="209">Name</th><th width="418">Description</th><th>Required</th><th>Default</th></tr></thead><tbody><tr><td><code>pathId</code></td><td>The id of the vector layer.</td><td>true</td><td></td></tr><tr><td><code>timestampId</code></td><td>The id of the timestamp to get features for.</td><td>true</td><td></td></tr><tr><td><code>featureIds</code></td><td>Array of ids of features to retrieve.</td><td>true</td><td></td></tr><tr><td><code>allowTrashed</code></td><td>Boolean whether trashed features should also be returned.</td><td>false</td><td>Default false.</td></tr><tr><td><code>returnType</code></td><td>A string with the type of information to return. Must be one of 'count', 'geometry', 'center', 'properties' or 'all'.</td><td>false</td><td>Default 'all'.</td></tr><tr><td><code>style</code></td><td>Either a style id or an object describing the desired style. <br>You can find allowed style objects here:<br><a href="https://docs.ellipsis-drive.com/developers/api-v3/path-vector/styles/add-style">https://docs.ellipsis-drive.com/developers/api-v3/path-vector/styles/add-style</a></td><td>true</td><td>Default null.</td></tr><tr><td><code>zipTheResponse</code></td><td>Boolean whether the result should be zipped during transfer. </td><td>false</td><td>Default false.</td></tr><tr><td><code>applyStyle</code></td><td>Boolean indicating whether to style the features or leave the styling to the client.</td><td>false</td><td>Default true.</td></tr></tbody></table>
