Chabad Library Text Processing API
  1. Texts
Chabad Library Text Processing API
  • System
    • Health Check
      GET
  • Search
    • Search Chabad Library
      GET
  • Texts
    • List All Texts
      GET
    • Get Text by Slug
      GET
  • Extraction
    • Test Chabad Library API
      GET
    • Extract Text from Document
      POST
  • Processing
    • Generate Document Outline
      POST
    • Process Complete Document
      POST
    • Translate Document Segment
      POST
  • Schemas
    • HealthResponse
    • ErrorResponse
    • SourceMetadata
    • OutlineSegment
    • DocumentOutline
    • TranslationData
    • Footnote
    • TranslatedSegment
    • EnrichedSegment
    • ProcessedDocument
    • SearchResult
    • SearchResultsResponse
    • WorkByIdResponse
    • NavSearchResult
    • TextListItem
    • NavSearchResultsResponse
    • PaginationInfo
    • PaginatedTextsResponse
  1. Texts

Get Text by Slug

GET
/api/texts/{slug}
Retrieve a complete processed document by its slug. The slug is a URL-safe identifier generated from the publication and work titles (e.g., 'likutei-sichos-vol-36-terumah-sicha-1'). Returns the full ProcessedDocument with all sections, translations, and footnotes. Chabad Library internal IDs are not exposed in the response.

Request

Path Params

Responses

馃煝200Success
application/json
Complete processed document
Body

馃煚400400
馃煚404404
馃敶500500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/texts/likutei-sichos-vol-36-terumah-sicha-1'
Response Response Example
200 - Example 1
{
    "source_metadata": {
        "publication_title": "诇拽讜讟讬 砖讬讞讜转",
        "work_title": "转专讜诪讛 - 砖讬讞讛 讗",
        "author_name": "讻\"拽 讗讚诪讜\"专"
    },
    "sections": [
        {
            "sequence_id": 0,
            "chapter_number": "string",
            "chapter_title": "string",
            "segment_title": "string",
            "summary": "string",
            "page_ref": "string",
            "start_phrase_hebrew": "string",
            "end_phrase_hebrew": "string",
            "original_hebrew_block": "string",
            "translation_data": [
                {
                    "hebrew_phrase_expanded": "string",
                    "english_translation": "string",
                    "sefaria_link": "string"
                }
            ],
            "footnotes": [
                {
                    "marker": "string",
                    "content": "string",
                    "translation": "string"
                }
            ]
        }
    ],
    "work_id": "string",
    "page_count": 0,
    "first_page_id": "string",
    "last_page_id": "string"
}
Modified at聽2025-12-03 11:51:17
Previous
List All Texts
Next
Test Chabad Library API
Built with