---
title: "PUT /assistants/{assistantId}/feedback"
method: PUT
path: "/assistants/{assistantId}/feedback"
---

# PUT /assistants/{assistantId}/feedback

`PUT /assistants/{assistantId}/feedback`

Provides feedback against the specified assistant for the specified target. This API only supports generative targets.

## Path parameters

- `assistantId` string, required

## Request body

- object
  - `targetId` string, required — The identifier of the feedback target.
  - `targetType` 'RECOMMENDATION' | 'RESULT' | 'MESSAGE', required — The type of the feedback target.
  - `contentFeedback` object, required — Information about the feedback.
    - `generativeContentFeedbackData` object — Information about the feedback for a generative target type.
      - `relevance` 'HELPFUL' | 'NOT_HELPFUL', required — The relevance of the feedback.

## Response `200`

Success

- PutFeedbackResponse
  - `assistantId` string, required — The identifier of the Amazon Q in Connect assistant.
  - `assistantArn` string, required — The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
  - `targetId` string, required — The identifier of the feedback target.
  - `targetType` 'RECOMMENDATION' | 'RESULT' | 'MESSAGE', required — The type of the feedback target.
  - `contentFeedback` object, required — Information about the feedback provided.
    - `generativeContentFeedbackData` object — Information about the feedback for a generative target type.
      - `relevance` 'HELPFUL' | 'NOT_HELPFUL', required — The relevance of the feedback.

## Other responses

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

---

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