---
title: "Ticket analog of `POST /v1/chat/rooms/{roomId}/suggestions/{suggestionId}/feedback` — queues the current agent's approval (👍) or disapproval (👎) of one AI suggestion. `rating` is `up` | `down` | `none` (none withdraws)."
method: POST
path: "/v1/tickets/{id}/suggestions/{suggestionId}/feedback"
tags: ["Ticket"]
---

# Ticket analog of \`POST /v1/chat/rooms/{roomId}/suggestions/{suggestionId}/feedback\` — queues the current agent's approval (👍) or disapproval (👎) of one AI suggestion. \`rating\` is \`up\` | \`down\` | \`none\` (none withdraws).

`POST /v1/tickets/{id}/suggestions/{suggestionId}/feedback`

## Request

- Base URL: `https://api.infoset.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infoset.app/v1/tickets/{id}/suggestions/{suggestionId}/feedback`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/infoset/apis/infoset-rest-api/docs/v1/tickets/:id/suggestions/:suggestionId/feedback/post.ts> (a function with typed inputs; its response is checked against the schema)

ASYNCHRONOUS: see the chat endpoint's remarks. `202` means accepted for delivery,
not stored; the ownership check runs in the consumer, so there is no `404` here.

## Path parameters

- `id` integer, required
- `suggestionId` integer, required

## Request body

- SuggestionFeedbackRequestDto: An agent's verdict on one AI suggestion. `Rating` is `up`, `down`, or `none` to withdraw an earlier vote — a withdrawal is the same operation from the client's side, which keeps the card to a single call site. The voter is NOT in the body: it is the authenticated session's user. That matters more than usual here, because the consumer trusts the event's agentId and a topic carries no per-message authentication to check it against.
  - `rating` string, nullable

## Response `200`

OK

---

[API](https://skmtc.dev/infoset/apis/infoset-rest-api.md) - [All operations](https://skmtc.dev/infoset/apis/infoset-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/infoset/apis/infoset-rest-api/revisions/709c8123f593?raw)
