> ## Documentation Index
> Fetch the complete documentation index at: https://www.algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a suggestion

> Retrieves a suggestion by its ID.

This is a **beta feature** according to [Algolia's Terms of Service ("Beta Services")](https://www.algolia.com/policies/terms/).

**Required ACL:** `search`

## Usage

```js JavaScript theme={"system"}
// Initialize the client
// Replace 'us' with your Algolia Application Region
const client = suggestedActionsClient('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY', 'us');

// Call the API
const response = await client.getSuggestion({ suggestionID: '76710f1b-8231-42e5-b0d1-f43aac618e15' });


// print the response
console.log(response);
```

> [card] [See the full API reference](https://www.algolia.com/doc/rest-api/suggested-actions/get-suggestion.md)
>
> For more details about input parameters
> and response fields.
