---
title: "POST /assistants/{assistantId}/sessions/{sessionId}/recommendations/notify"
method: POST
path: "/assistants/{assistantId}/sessions/{sessionId}/recommendations/notify"
---

# POST /assistants/{assistantId}/sessions/{sessionId}/recommendations/notify

`POST /assistants/{assistantId}/sessions/{sessionId}/recommendations/notify`

Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html">GetRecommendations</a> and a <code>waitTimeSeconds</code> input for long-polling behavior and avoiding duplicate recommendations.

## Path parameters

- `assistantId` string, required
- `sessionId` string, required

## Request body

- object
  - `recommendationIds` String[], required — The identifiers of the recommendations.

## Response `200`

Success

- NotifyRecommendationsReceivedResponse
  - `errors` NotifyRecommendationsReceivedError[] — The identifiers of recommendations that are causing errors.
    - `message` string — A recommendation is causing an error.
    - `recommendationId` string — The identifier of the recommendation that is in error.
  - `recommendationIds` String[] — The identifiers of the recommendations.

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException
- `482` — ResourceNotFoundException

---

[API](https://skmtc.net/aws/apis/wisdom.md) · [All operations](https://skmtc.net/aws/apis/wisdom/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/wisdom/versions/4a596e60c7d1/schema)
