---
title: "List Work Witnesses"
method: GET
path: "/api/works/{slug}/witnesses"
tags: ["works"]
---

# List Work Witnesses

`GET /api/works/{slug}/witnesses`

## Request

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

List a work's witnesses, each enriched by joining BuddhistText.

Order: role='root' first, then by lang asc, then text_id. The title is the
best available for the witness language (see ``_witness_title``).

列出作品的见证本（root 优先、再按语言、再按 text_id），并 join 经文表富化标题。
404 if slug not found.

## Path parameters

- `slug` string, required

## Response `200`

Successful Response

- WorkWitnessResponse[]
  - `text_id` integer, required
  - `cbeta_id` string, nullable
  - `title` string, nullable
  - `lang` string, required
  - `canon` string, nullable
  - `role` string, required
  - `confidence` string, required
  - `has_content` boolean

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