# Interface: RecommendationsGetOptions

Defined in: [types.ts:1036](https://github.com/alleyinteractive/allegro/blob/55f164387b71ee5734edbac6a84a466bfef02167/packages/allegro-platform/resources/js/sdk/types.ts#L1036)

Optional overrides for a recommendations request.

## Properties[​](#properties "Direct link to Properties")

| Property          | Type     | Description                                                               | Defined in                                                                                                                                                           |
| ----------------- | -------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| []()`device?`     | `string` | Reader's device id. Defaults to the SDK's own device cookie.              | [types.ts:1044](https://github.com/alleyinteractive/allegro/blob/55f164387b71ee5734edbac6a84a466bfef02167/packages/allegro-platform/resources/js/sdk/types.ts#L1044) |
| []()`limit?`      | `number` | How many articles to ask for. Defaults to 6 upstream; 24 is the maximum.  | [types.ts:1038](https://github.com/alleyinteractive/allegro/blob/55f164387b71ee5734edbac6a84a466bfef02167/packages/allegro-platform/resources/js/sdk/types.ts#L1038) |
| []()`maxAgeDays?` | `number` | Publish-recency cap in days. `0`, the default, means no cap.              | [types.ts:1042](https://github.com/alleyinteractive/allegro/blob/55f164387b71ee5734edbac6a84a466bfef02167/packages/allegro-platform/resources/js/sdk/types.ts#L1042) |
| []()`path?`       | `string` | Article to anchor on. Defaults to the current `window.location.pathname`. | [types.ts:1040](https://github.com/alleyinteractive/allegro/blob/55f164387b71ee5734edbac6a84a466bfef02167/packages/allegro-platform/resources/js/sdk/types.ts#L1040) |
