---
title: "Get Canonical Parallels"
method: GET
path: "/api/alignment/canonical/{text_id}"
tags: ["alignment"]
---

# Get Canonical Parallels

`GET /api/alignment/canonical/{text_id}`

## Request

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

Sutta-level SC parallels for a whole text.

Reads text_relations (source='suttacentral') — authoritative Akanuma-style
correspondences, no inference noise. For each parallel, also pulls the
first ~240 chars of the related text's content (Pāli from text_contents,
English from text_embeddings chunk 0) to preview in the panel.

## Path parameters

- `text_id` integer, required

## Response `200`

Successful Response

- CanonicalParallelsResponse
  - `text_id` integer, required
  - `source_cbeta_id` string, required
  - `source_title` string, required
  - `total` integer, required
  - `parallels` CanonicalParallel[], required
    - `related_text_id` integer, required
    - `related_cbeta_id` string, required
    - `related_title` string, required
    - `related_lang` string, required
    - `relation_type` string, required
    - `note` string, nullable
    - `pali_preview` string, nullable
    - `english_preview` 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)
