Briyah SDK - v2.0.6
    Preparing search index...

    Interface PdfPageMarkdown

    One page's conversion, successful or not.

    interface PdfPageMarkdown {
        agents: ConversionAgent[];
        attempts: number;
        error?: string;
        markdown: string;
        pageNum: number;
    }
    Index
    agents: ConversionAgent[]

    Every agent the page was attempted with, for cost accounting — one per attempt, because a failed attempt still spent tokens.

    attempts: number

    How many attempts it took (or were spent failing).

    error?: string

    Why the page could not be converted. Absent on success.

    markdown: string

    The page's Markdown, or empty when every attempt failed.

    pageNum: number

    1-based, as a reader counts pages.