---
title: "Get Kg Entity Mentions"
method: GET
path: "/api/kg/entities/{entity_id}/mentions"
tags: ["knowledge-graph"]
---

# Get Kg Entity Mentions

`GET /api/kg/entities/{entity_id}/mentions`

## Request

- Base URL: `https://fojin.app` (the document declares no server; this is the origin it was published from)
- URL: `https://fojin.app/api/kg/entities/{entity_id}/mentions`
- Auth: none declared

Return in-DB entities whose name appears in this entity's description.

Used by the UI to provide a "描述中提及" panel when the structured
kg_relations graph is sparse — common for DILA-imported persons whose
only context is free-text description.  Inferred, not stored.

返回该实体描述文本中提及的其它知识图谱实体，用于"描述中提及"面板，
在 kg_relations 没有结构化关系时仍能给出可点击的语义关联。

## Path parameters

- `entity_id` integer, required

## Query parameters

- `limit` integer

## Response `200`

Successful Response

- KGMentionsResponse
  - `mentions` KGMentionItem[], required
    - `id` integer, required
    - `name_zh` string, required
    - `entity_type` string, required
    - `snippet` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform.md) · [All operations](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform/revisions/969714238c61?raw)
