---
title: "List Text Entities"
method: GET
path: "/api/kg/texts/{text_id}/entities"
tags: ["knowledge-graph"]
---

# List Text Entities

`GET /api/kg/texts/{text_id}/entities`

## 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/texts/{text_id}/entities`
- Auth: none declared

List all knowledge graph entities linked to a specific text.

列出与指定经文关联的所有知识图谱实体。

## Path parameters

- `text_id` integer, required

## Response `200`

Successful Response

- KGEntityResponse[]
  - `id` integer, required
  - `entity_type` string, required
  - `name_zh` string, required
  - `name_sa` string, nullable
  - `name_pi` string, nullable
  - `name_bo` string, nullable
  - `name_en` string, nullable
  - `description` string, nullable
  - `properties` object, nullable
  - `text_id` integer, nullable
  - `external_ids` object, nullable
  - `relation_count` integer

## 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)
