Azure Connectors Node.js SDK
    Preparing search index...

    Interface DocumentParserInput

    Document Parser

    interface DocumentParserInput {
        async?: boolean;
        expiration?: number;
        inline?: boolean;
        outputFormat: string;
        password?: string;
        profiles?: string;
        templateId?: string;
        url: string;
    }
    Index
    async?: boolean

    Set async to true for long processes to run in the background, API will then return a jobId which you can use with "Job Check" to check the status of the process and retrieve the output while you can proceed with other tasks without waiting for this process to finish.

    expiration?: number

    Set the expiration time for the output link in minutes (default is 60 i.e 60 minutes or 1 hour), After this specified duration, any generated output file(s) will be automatically deleted from PDF.co temporary files storage. The maximum duration for link expiration varies based on your current subscription plan.

    inline?: boolean

    Set to true to return results inside the response. Otherwise, the endpoint will return a link to the output file generated

    outputFormat: string

    Default is JSON. You can override the default output format to CSV or XML to generate CSV or XML output accordingly.

    password?: string

    Password of PDF file

    profiles?: string

    Use this parameter to set additional configurations for fine-tuning and extra options. Explore PDF.co knowledgebase https://developer.pdf.co/api/profiles/index.html for profile examples,

    templateId?: string

    Set ID of document parser template to be used. View and manage your templates at https://app.pdf.co/document-parser

    url: string

    URL to the source file. Supports links from Google Drive, Dropbox, and PDF.co built-in files storage. To upload files via API, Check out the Files Upload section at https://developer.pdf.co/api/file-upload/index.html