Chabad Library Text Processing API
    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

    ProcessedDocument

    Complete processed document with all sections, translations, and metadata

    {
        "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"
    }
    Built with