# EmailSearchSnippetsRequest

The EmailSearchSnippetsRequest type of the TypeScript SDK, which search.snippets take or answer.

```ts
type EmailSearchSnippetsRequest = {
  filter: EmailSearchFilter
  ids: string[]
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `filter` | [`EmailSearchFilter`](/docs/sdks/typescript/types/email-search-filter) |  |
| `ids` | `string[]` | Message ULIDs to excerpt — the `id` of each result row, at most 50 per call (each excerpt is a body read). An id the caller cannot see is omitted from the answer, never named. |

## Used by

| Method | What it does |
| --- | --- |
| [`search.snippets`](/docs/sdks/typescript/search/snippets) | Highlighted excerpts for search results |
