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

# AI feedback

> List the feedback your team has left on Ari replies and other Plain AI features.

When a user rates an [Ari](/docs/product/agents/ari) reply or another Plain AI feature with a thumbs up or down, Plain stores the vote and any comment. `aiFeedback` lists that feedback, newest first.

<Snippet file="graphql/sdk-note.mdx" />

The API is read-only. Feedback is submitted from the Plain app.

This operation requires the following permission:

* `aiFeatureFeedback:read`

## Get AI feedback

`details` depends on the `feature`, so select its fields with fragments:

* **`AI_AGENT`**: an Ari reply, with `threadId` and `timelineEntryId`
* **`THREAD_CATCHUP`**: a thread summary, with `threadId`
* **`THREAD_CLUSTERS`**: a cluster of related threads, with `clusterId`
* **`TONE_RULE`**: a [tone of voice](/docs/product/agents/tone-of-voice) rule, with `toneRuleId`
* **`KNOWLEDGE_GAP`**: a [knowledge gap](/docs/product/agents/knowledge-gaps), with `knowledgeGapId`

Every `details` type has a `sentiment`, a `reason`, and an optional `comment`.

Filter with `features`, `sentiments`, and a `createdAt` window. Feedback submitted before Plain captured sentiment has none, so `sentiments` excludes it.

<Snippet file="graphql/get-ai-feedback.mdx" />
