---
title: "Gán nhãn cảm xúc thủ công cho một nội dung. Vừa sửa được kết quả sai, vừa tạo dữ liệu chuẩn để đo độ chính xác của từ điển và mô hình."
method: POST
path: "/admin/ir/mentions/{mentionId}/sentiment"
tags: ["IRAdmin"]
---

# Gán nhãn cảm xúc thủ công cho một nội dung. Vừa sửa được kết quả sai, vừa tạo dữ liệu chuẩn để đo độ chính xác của từ điển và mô hình.

`POST /admin/ir/mentions/{mentionId}/sentiment`

## Request

- Base URL: `https://api.fireant.vn`
- URL: `https://api.fireant.vn/admin/ir/mentions/{mentionId}/sentiment`
- Auth: OAuth 2
  - Implicit: `https://accounts.fireant.vn/connect/authorize`
  - Scopes: `user-data-write`
- TypeScript: <https://skmtc.dev/fireant/apis/fireant-restful-api/docs/admin/ir/mentions/:mentionId/sentiment/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `mentionId` integer, required

## Request body

- FireAntApiModelsIRIRSentimentLabelRequest: Gán nhãn cảm xúc thủ công (quản trị FireAnt)
  - `sentiment` integer: Điểm cảm xúc từ -100 đến 100
  - `severity` integer: Mức nghiêm trọng (0..3)
  - `topicsJson` string: Chủ đề

## Response `200`

OK

- object

## Changes

- **2026-09-25** `a481789cd81c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fireant/apis/fireant-restful-api/changes/admin/ir/mentions/:mentionId/sentiment/post.md)

---

[API](https://skmtc.dev/fireant/apis/fireant-restful-api.md) - [All operations](https://skmtc.dev/fireant/apis/fireant-restful-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireant/apis/fireant-restful-api/revisions/c9b3aa855f95?raw)
