---
title: "Đặt lại toàn bộ từ khóa giám sát"
method: PUT
path: "/ir/{symbol}/keywords"
tags: ["IRAnalytics"]
---

# Đặt lại toàn bộ từ khóa giám sát

`PUT /ir/{symbol}/keywords`

## Request

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

## Path parameters

- `symbol` string, required

## Request body

- FireAntApiModelsIRIRKeywordSetRequest: Đặt lại toàn bộ từ khóa giám sát
  - `keywords` FireAntApiModelsIRIRKeywordChangeItem[]: Danh sách từ khóa
    - `keyword` string, required: Từ khóa
    - `matchType` integer: Cách khớp: 0 chứa, 1 chính xác, 2 biểu thức
    - `category` integer: Nhóm: 1 thương hiệu, 2 lãnh đạo, 3 sản phẩm, 4 tin đồn, 5 đối thủ
    - `severity` integer: Mức nghiêm trọng khi khớp (0..3)
    - `isActive` boolean: Đang bật

## Response `200`

OK

- FireAntApiModelsIRIRKeywordItem[]
  - `keywordId` integer: ID
  - `keyword` string: Từ khóa
  - `matchType` integer: Cách khớp: 0 chứa, 1 chính xác, 2 biểu thức
  - `category` integer: Nhóm: 1 thương hiệu, 2 lãnh đạo, 3 sản phẩm, 4 tin đồn, 5 đối thủ
  - `severity` integer: Mức nghiêm trọng khi khớp
  - `isActive` boolean: Đang bật
  - `createdBy` string: Người tạo
  - `createdDate` string, date-time: Ngày tạo

## Changes

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

[Operation history](https://skmtc.dev/fireant/apis/fireant-restful-api/changes/ir/:symbol/keywords/put.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)
