---
title: "문서 검색 유저 피드백"
method: POST
path: "/webapi/mrc/user_feedback"
tags: ["MRC"]
---

# 문서 검색 유저 피드백

`POST /webapi/mrc/user_feedback`

문서 검색 결과에 유저 피드백 제공.

## Headers

- `AGENT-EMAIL` string
- `USER-EMAIL` string
- `OWN-USER-ID` string

## Request body

- object
  - `answerHash` string, required — 쿼리에 대해 피드백을 주거나 취소하려는 문서 검색 결과의 ID입니다. 이는 문서 검색이 발생할 때마다 생성되며 쿼리와 답변 쌍에 바인딩됩니다. 위의 문서 API를 사용하여 검색할 수 있습니다.
  - `answer` string, required — 이 문서로부터 당신의 질문에 받은 답변.
  - `id` string, required — 답변이 추출된 문서의 ID입니다.
  - `positive` boolean, nullable — 값이 true일 때는 추출된 답변에 대해 긍정적인 피드백을 줍니다. 값이 false일 때는 부정적인 피드백을 줍니다. 값이 null일 때는 피드백을 취소합니다.
  - `query` string, required — 추출된 검색 결과에 대해 피드백을 주거나 취소하려는 쿼리.

## Response `200`

피드백이 성공적으로 제출되었습니다.

- object
  - `result` object
    - `userFeedback` object
      - `positiveCount` integer — 요청이 처리된 후 긍정적인 피드백의 총 수.
      - `negativeCount` integer — 요청 처리 후 부정적인 피드백의 총 수.

## Other responses

- `400` — Invalid request parameters.
- `401` — Authentication failed. The API-KEY header is missing or invalid.
- `403` — Access denied. The project is inactive or the request IP is not allowed.
- `500` — Internal server error.

---

[API](https://skmtc.dev/allganize/apis/alli-api-documentation.md) · [All operations](https://skmtc.dev/allganize/apis/alli-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/allganize/alli-api-documentation/revisions/c3e966e54dfc/schema)
