<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jyoti on Medium]]></title>
        <description><![CDATA[Stories by Jyoti on Medium]]></description>
        <link>https://medium.com/@jyotis04?source=rss-16de6f49bc43------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*1_Bfpuz4vxu1iedV</url>
            <title>Stories by Jyoti on Medium</title>
            <link>https://medium.com/@jyotis04?source=rss-16de6f49bc43------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 04:22:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jyotis04/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Architecture of Visual Document AI: Building Multi-Source RAG with Open-Source Docling…]]></title>
            <link>https://medium.com/@jyotis04/the-architecture-of-visual-document-ai-building-multi-source-rag-with-open-source-docling-95307167d967?source=rss-16de6f49bc43------2</link>
            <guid isPermaLink="false">https://medium.com/p/95307167d967</guid>
            <category><![CDATA[docling-pipelines]]></category>
            <category><![CDATA[unstructured-data]]></category>
            <category><![CDATA[vector-database]]></category>
            <category><![CDATA[docling]]></category>
            <category><![CDATA[agentic-rag]]></category>
            <dc:creator><![CDATA[Jyoti]]></dc:creator>
            <pubDate>Mon, 19 Oct 2026 10:51:16 GMT</pubDate>
            <atom:updated>2026-10-19T10:51:16.465Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Architecture of Visual Document AI: Building Multi-Source RAG with Open-Source Docling Pipelines</h3><p>Move beyond lossy text scrapers and brittle Python glue code. Discover how <a href="https://github.com/docling-project/docling-pipelines">Docling Pipelines</a> couples IBM’s state-of-the-art Docling layout engine with an interactive, PyArrow-powered visual canvas to turn unstructured multi-source documents into high-precision vector intelligence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vMRQibQ_0UjvE2CmyocbSw.png" /></figure><p><em>Figure 1: End-to-end architecture of Docling Pipelines from distributed multi-source ingestion to vector intelligence.</em></p><blockquote><strong>Pipeline at a glance:</strong><br>Distributed Sources (S3, SharePoint, Google Drive, Box, Local) → Ingest Source → Docling Extract → Quality &amp; PII Guards → Hybrid Chunker → Embeddings → VectorDB (OpenSearch / Milvus) → Downstream RAG Assistant</blockquote><h3>The Document AI Bottleneck in Production RAG</h3><p>In production Retrieval-Augmented Generation (RAG) systems, failures rarely originate in the vector database or LLM generation. <strong>They break at the document parsing layer.</strong></p><p>Real-world organizational knowledge does not exist in clean, linear markdown. It is trapped inside structurally complex, visually oriented artifacts:</p><ul><li><strong>Multi-column research briefs</strong> stored across Microsoft SharePoint</li><li><strong>Financial statements with merged-cell balance sheets</strong> archived in Amazon S3</li><li><strong>Slide decks with embedded architecture diagrams</strong> on Google Drive</li><li><strong>Scanned compliance agreements</strong> sitting on local storage volumes</li></ul><p>Standard document loaders treat these rich visual files as flat, unstructured strings of text. Naive scrapers strip coordinate bounding boxes, interleave two-column paragraphs into nonsense, and dismantle multi-row financial tables into fragmented sentences.</p><p>When a vector retriever serves these scrambled chunks to an LLM, the model hallucinates — <strong>not because the foundation model is weak, but because document structure was destroyed before vectorization ever began.</strong></p><h3>The “Scripting Tax” vs. Governed Pipelines</h3><p>Data engineering teams typically patch this with ad-hoc Python glue: juggling disparate cloud SDK loaders, handwritten regex for PII filtering, unbatched loops, and manual schema mappers.</p><p>These ad-hoc scripts:</p><ul><li>Lack runtime type safety and standardized memory transport.</li><li>Provide zero real-time execution visibility or document-level failure tracking.</li><li>Break catastrophically when a new document variation enters the bucket.</li></ul><p>To solve this foundational engineering bottleneck, we built <strong>Docling Pipelines</strong>: an open-source, visual-first document processing platform.</p><p>Combining IBM’s <strong>Docling</strong> layout analysis foundation model, an in-memory <strong>Apache Arrow (</strong><strong>pa.Table)</strong> columnar data engine, and an intuitive <strong>Carbon-based Visual Canvas</strong>, Docling Pipelines allows teams to visually design, govern, test, and monitor production-scale ingestion workflows from raw source to vector database.</p><h3>What You’ll Build</h3><p>In this walkthrough, we will assemble an end-to-end, multi-source ingestion DAG using the Docling Pipelines UI. The resulting pipeline will:</p><ol><li><strong>Unify Multi-Source Ingestion</strong>: Ingest seamlessly from Amazon S3, Microsoft SharePoint, OneDrive, Google Drive, Box, and local filesystems under unified inclusion filters.</li><li><strong>Preserve Layout with Docling</strong>: Parse complex layouts, reading orders, formulas, and nested tables using Docling’s foundation models and Vision-Language Models (VLMs).</li><li><strong>Enforce Quality &amp; Compliance</strong>: Redact sensitive PII (SSNs, IBANs, credit cards) and toxic content (HAP) directly in-flight.</li><li><strong>Context-Aware Hybrid Chunking</strong>: Leverage Docling’s Document AST to chunk along heading hierarchies while keeping tables intact as complete semantic units.</li><li><strong>Visually Map Vector Schemas</strong>: Vectorize via LiteLLM, watsonx, or Ollama, and visually bind PyArrow columns into OpenSearch or Milvus index collections.</li><li><strong>Monitor Live Execution &amp; Micro-Batching</strong>: Observe document throughput, node latency, and live streaming logs on the execution canvas.</li></ol><h3>The Visual Pipeline Canvas</h3><p>Data pipelines are Directed Acyclic Graphs (DAGs). Editing them strictly as disconnected JSON files or Python scripts makes data lineage and schema transitions opaque.</p><p>The Docling Pipelines Canvas (built on IBM Carbon Design and Elyra Canvas) turns pipeline engineering into an intuitive, visual experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eAcglec6l0DL22oNX0KfnA.png" /></figure><p><em>Figure 2: The Visual Canvas Editor in Docling Pipelines showing connected nodes across Ingest, Extract, Quality, Chunking, and VectorDB.</em></p><p>The left-hand palette provides <strong>21 built-in open-source operators</strong> categorized into:</p><ul><li><strong>Ingest</strong>: File system, Object Storage, and Enterprise SaaS connectors</li><li><strong>Extract</strong>: Docling layout, table extraction, and OCR engines</li><li><strong>Functional</strong>: Branching, merging, chunking, hashing, and embedding operators</li><li><strong>Quality</strong>: PII redaction, HAP filters, language detection, and document classifiers</li><li><strong>VectorDB</strong>: Native OpenSearch and Milvus indexing adapters</li><li><strong>Storage</strong>: Document set snapshots and dataset persistence</li></ul><h3>Context-Aware Node Suggestions</h3><p>Connecting nodes in complex DAGs shouldn’t be guesswork. When you drag an output port into open space, the canvas opens the <strong>Node Suggestion Modal</strong>. It inspects upstream schema contracts and recommends only compatible downstream operators — preventing you from mistakenly wiring raw Ingest tables directly into Embeddings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x5RlwddNIXKlyZOzlMR4Vw.png" /></figure><p><em>Figure 3: Context-aware node suggestion modal popping up directly from an operator port.</em></p><h3>Step-by-Step: Assembling the Workflow</h3><h3>1. Multi-Source Document Ingestion</h3><p>Double-clicking the <strong>Ingest Source</strong> operator opens its Properties Panel. Configure your storage provider and authentication directly in the UI without writing SDK boilerplate.</p><ul><li><strong>Supported Providers</strong>: Amazon S3 / MinIO, Microsoft SharePoint, OneDrive, Google Drive, Box, IBM Cloud Object Storage, and local filesystems.</li><li><strong>Unified Filtering</strong>: Define clean file pattern scopes (e.g., include_filter: &quot;pdf, docx, pptx, xlsx&quot;). The operator automatically handles recursive directory walking, hidden file exclusion, and credential refresh.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aXIiWGfRuVlcXa0JUzbnYg.png" /></figure><h3>2. Deep Layout Extraction with Docling</h3><p>At the heart of the pipeline is the <strong>Extract Operator</strong>, powered by IBM’s Docling document foundation engine. Instead of stripping layout into plaintext, Docling reconstructs the full visual geometry of every page:</p><ul><li><strong>Dual Runtime Modes</strong>: Run in-process with the local Docling Library (CPU, Apple Silicon MPS, or CUDA GPU) or offload heavy loads to a remote Docling Serve cluster.</li><li><strong>TableFormer Engine</strong>: Accurately recognizes and reconstructs merged-cell, multi-line, and borderless tables into clean Markdown and JSON.</li><li><strong>Multimodal VLM Presets</strong>: Integrate Vision-Language Models (Granite-Vision, MLX, Transformers, Ollama, watsonx) to generate descriptive captions for figures and architecture diagrams.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G0daNJsgDwNTsAlHndmmIQ.png" /></figure><h3>3. Governance &amp; Quality Guards in the DAG</h3><p>Enterprise compliance requires strict guarantees: sensitive Personally Identifiable Information (PII) and toxic content must <strong>never</strong> reach shared vector indexes.</p><p>Docling Pipelines treats data governance as a native stage of the DAG:</p><ul><li><strong>pii_and_hap</strong>: Detects and masks credit cards, phone numbers, SSNs, and profane language in-place.</li><li><strong>doc_quality</strong>: Evaluates signal-to-noise ratio and filters out corrupted or low-signal pages.</li><li><strong>ededup</strong>: Performs exact document deduplication to eliminate redundant embedding costs.</li><li><strong>lang_detect</strong>: Flags, routes, or filters documents based on detected language confidence.</li></ul><h3>4. Context-Preserving Hybrid Chunking</h3><p>Standard chunkers split text purely by arbitrary character or token limits (e.g., every 512 tokens). This cuts sentences in half, slices tables down the middle, and orphans sub-sections from their parent titles.</p><pre>❌ Naive Chunking:<br>[...Section 4.1] |--- CHUNK BOUNDARY ---| [SLA Table: Col 1 | Col 2...] (Context severed)</pre><pre>✅ Docling Hybrid Chunker:<br>[Document AST Path: &quot;Enterprise SLA &gt; Priority 1 Incidents&quot;]<br>[Full Markdown Table preserved intact: Target Resolution = 2 Hours]</pre><p>Docling’s <strong>Hybrid Chunker</strong> solves this using the layout AST:</p><ul><li><strong>Hierarchical Context Enrichment</strong>: Headings and parent section titles remain attached to downstream text chunks as searchable metadata.</li><li><strong>Atomic Table Preservation</strong>: Tables remain intact as coherent semantic units.</li><li><strong>Tokenizer Alignment</strong>: Works seamlessly with HuggingFace and sentence-transformer tokenizers (e.g., sentence-transformers/all-MiniLM-L6-v2) with configurable overlap.</li></ul><h3>5. VectorDB Schema Mapping Tearsheet</h3><p>Schema drift between pipeline outputs and vector collections is the #1 cause of deployment failure.</p><p>The <strong>VectorDB Feature Mapping Tearsheet</strong> inspects your upstream PyArrow table schema and provides an interactive visual mapper:</p><ul><li>Map dense vector columns to index knn_vector fields.</li><li>Map chunk text directly to searchable text fields.</li><li>Map lineage attributes (doc_id, page_number, source_url, section_title) to keyword and filterable fields.</li><li>Configure similarity distance metrics (Cosine, Euclidean L2, Dot Product) and index engines (Lucene, Faiss, NMSLIB).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wMIIMg33L4OL8LEDok7QgA.png" /></figure><p><em>Figure 4: Visual schema tearsheet mapping PyArrow columns directly to target OpenSearch index fields.</em></p><h3>Live Execution, Micro-Batching &amp; Observability</h3><p>Click <strong>Run</strong> in the canvas toolbar. Docling Pipelines compiles the DAG, initializes micro-batch scheduling, and switches to the <strong>Live Run Details Canvas</strong>.</p><ul><li><strong>Per-Node Document Accounting</strong>: Click any node during or after execution to see the exact count of inbound documents, outbound chunks, byte sizes, and per-stage latency.</li><li><strong>Resilient Error Isolation</strong>: If document 42 in a batch of 1,000 has a corrupt PDF stream, the entire pipeline doesn’t crash. The operator flags the failed document in the execution metadata, logs the stack trace, and seamlessly continues processing the remaining 999 documents.</li><li><strong>Real-Time Streaming Logs</strong>: An integrated log drawer gives you live operational traces without checking server terminals or external log sinks.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rpdTKEbNj5-qFWzUKLodYQ.png" /></figure><p><em>Figure 5: Live execution canvas showing node completion badges, latency metrics, and execution logs.</em></p><h3>Headless Execution: From Visual Canvas to Production Code</h3><p>Pipelines built visually in Docling Pipelines are never locked to the browser. Every canvas workflow exports to a clean, declarative <strong>Flow JSON</strong> that can be checked into git and executed headlessly.</p><p>Run it directly from the CLI in CI/CD or production containers:</p><pre># Validate your flow DAG without executing<br>docling-pipelines --flow-file production_rag_flow.json --validate</pre><pre># Run locally or in CI/CD<br>docling-pipelines --flow-file production_rag_flow.json</pre><p>Or trigger it programmatically within your existing Python microservice:</p><pre>from docpipe.lib.docpipe_flow_manager import DocpipeFlowManager</pre><pre>flow = DocpipeFlowManager(flow_file=&quot;production_rag_flow.json&quot;)<br>result = flow.execute()<br>print(f&quot;Ingestion complete. Status: {result.status}&quot;)<br></pre><h3>Why Docling Pipelines Changes the Equation</h3><p>Here is how visual, governed pipelines compare directly to traditional ad-hoc scripting:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NjtlLaX4r1xxlY7XaZBBbA.png" /></figure><h3>Conclusion &amp; Getting Started</h3><p>RAG applications succeed or fail based on the fidelity of the data feeding your vector store.</p><p>By combining the state-of-the-art document layout comprehension of <strong>Docling</strong> with the visual orchestration, Apache Arrow speed, and enterprise governance of <strong>Docling Pipelines</strong>, you eliminate the gap between messy enterprise document silos and high-precision AI retrieval.</p><h3>Quickstart</h3><p>Clone the repository and launch the platform locally:</p><pre># Clone the repository<br>git clone https://github.com/docling-project/docling-pipelines.git<br>cd docling-pipelines</pre><pre># Install dependencies and CLI<br>uv pip install -e &quot;.[dev]&quot;</pre><pre># Launch the visual canvas &amp; API<br>uvicorn docpipe.api.main:app --reload --host 0.0.0.0 --port 8000</pre><ul><li><strong>Star the project on GitHub:</strong> <a href="https://github.com/docling-project/docling-pipelines">github.com/docling-project/docling-pipelines</a></li><li><strong>Explore the documentation:</strong> Check out the complete operator catalog <a href="https://docling-project.github.io/docling-pipelines/operators/ingest/ingest_source_readme.html">here</a>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95307167d967" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Hands-On Guide to the Docling Pipelines REST API]]></title>
            <link>https://medium.com/@jyotis04/a-hands-on-guide-to-the-docling-pipelines-rest-api-ff165a45130d?source=rss-16de6f49bc43------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff165a45130d</guid>
            <category><![CDATA[vector-database]]></category>
            <category><![CDATA[agentic-rag]]></category>
            <category><![CDATA[unstructured-data]]></category>
            <category><![CDATA[data-pipeline]]></category>
            <category><![CDATA[docling]]></category>
            <dc:creator><![CDATA[Jyoti]]></dc:creator>
            <pubDate>Wed, 09 Sep 2026 11:28:02 GMT</pubDate>
            <atom:updated>2026-09-09T11:28:02.247Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Getting Started with the </strong><a href="https://github.com/IBM/docling-pipelines"><strong>Docling Pipelines</strong></a><strong> REST API</strong></p><p>Docling Pipelines ships with a FastAPI-based REST API server that exposes powerful document processing and pipeline configuration over HTTP. Whether you are building complex RAG pipelines, extracting structured data from rigid PDFs, or managing vector databases, this API allows client applications to programmatically author modular DAG pipelines, validate configurations, and trigger asynchronous executions.</p><p>In this hands-on guide, we will cover how to start the API server, spin up the required backing services (Ollama, OpenSearch), and walk through a complete end-to-end request lifecycle.</p><p>By <a href="https://github.com/IBM/docling-pipelines">Docling-pipelines</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AcbCSXoMCDBAHtuTYsnFsA.png" /></figure><h3>1. Prerequisites &amp; Environment Setup</h3><p>Before starting the API server and defining your pipeline, you need to ensure your backing services are up and running.</p><p><strong>Choose Your Setup Path</strong></p><ul><li><strong>Automated Script (</strong><a href="https://github.com/IBM/docling-pipelines/blob/main/QUICKSTART.md"><strong>Quickstart.md</strong></a><strong>):</strong> Want to skip manual installation? Check out <a href="https://github.com/IBM/docling-pipelines/blob/main/QUICKSTART.md">Quickstart.md</a> in the project repository to spin up Ollama, your vector database, and all required containers in a few minutes.</li><li><strong>AI Coding Agent:</strong> Prefer letting an AI agent (Cursor, Claude Code, Copilot) set up and verify this for you? Check out our companion guide: <a href="https://medium.com/@adityars_28497/build-modular-document-processing-flows-with-docling-pipelines-and-ibm-bob-8a215ed702f4"><strong>Build and Verify an AI-Ready Search Pipeline with Docling Pipelines and a Coding Agent</strong>.</a></li></ul><blockquote><strong><em>Architectural Tip: Choosing your Vector Store</em></strong><em> Managing vector databases is a critical architectural decision in RAG pipelines. </em><strong><em>OpenSearch</em></strong><em> is an excellent choice if you need hybrid search capabilities (combining traditional keyword search with dense vectors), whereas </em><strong><em>Milvus</em></strong><em> is ideal if you require highly scalable, purpose-built infrastructure for massive vector datasets.</em></blockquote><h3>2. Starting the REST API Server</h3><p>Now that your backing services are humming, it is time to bring up the Docling Pipelines API server.</p><p>Make sure your virtual environment is active and the package is installed:</p><pre>source .venv/bin/activate<br>docling-pipelines-api</pre><p>Alternatively, you can launch it directly using uvicorn if you need hot-reloading for development:</p><pre>uvicorn docpipe.api.main:app --reload --host 0.0.0.0 --port 8080</pre><p>Once running, the server immediately exposes the following endpoints:</p><ul><li><strong>Root / Health:</strong> <a href="http://localhost:8080/health">http://localhost:8080/health</a></li><li><strong>Interactive Swagger UI:</strong> <a href="http://localhost:8080/api/v1/docs">http://localhost:8080/api/v1/docs</a></li><li><strong>ReDoc Documentation:</strong> <a href="http://localhost:8080/api/v1/redoc">http://localhost:8080/api/v1/redoc</a></li><li><strong>OpenAPI Schema:</strong> <a href="http://localhost:8080/api/v1/openapi.json">http://localhost:8080/api/v1/openapi.json</a></li></ul><h3>Common Environment Variables</h3><p>You can customize the API server behavior by setting these environment variables before launch:</p><ul><li><strong>DS_LOG_LEVEL</strong> — (Default: INFO). Controls log verbosity. Valid options: DEBUG, INFO, WARNING, ERROR.</li><li><strong>DOCPIPE_STORAGE_BACKEND</strong> — (Default: duckdb). Metadata backend choice. Valid options: duckdb (local) or postgres.</li><li><strong>CORS_ORIGINS</strong> — (Default: http://localhost:3000). Allowed origins for web frontend integrations.</li><li><strong>OLLAMA_HOST</strong> — (Default: http://localhost:11434). The host URL for embedding and LLM operators if you are running Ollama on a different port or machine.</li></ul><h3>3. Exploring the REST API with Swagger UI</h3><p>Docling Pipelines hosts interactive OpenAPI documentation right out of the box. Navigate to <strong>http://localhost:8080/api/v1/docs</strong> in your browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8wnIOZ5t7NoU-L_OoMaI1w.png" /></figure><p>No authentication or login is required to access it locally. You can expand any endpoint, click the <strong>Try it out</strong> button, and fire off requests directly from the UI — making it incredibly easy to experiment with the payloads we will cover in the next section.</p><h3>4. End-to-End API Walkthrough</h3><p>Here is the complete sequence of requests to set up a project, discover building blocks, author a pipeline, validate it, trigger execution, and inspect logs:</p><pre>1. Create Project ──▶ 2. Discover Operators ──▶ 3. Validate Flow ──▶ 4. Create Flow ──▶ 5. Execute Run ──▶ 6. Fetch Logs ──▶ 7. Summary</pre><h3>Step 1: Create a Project Workspace</h3><p>Projects group your flows together and track aggregated execution statistics.</p><ul><li><strong>Endpoint:</strong> POST /api/v1/projects</li></ul><p><strong>Request Body</strong></p><pre>{<br>  &quot;name&quot;: &quot;Sample Docling Pipeline Project&quot;,<br>  &quot;description&quot;: &quot;Flows for processing invoice documents&quot;,<br>  &quot;tags&quot;: [&quot;finance&quot;, &quot;pdf&quot;, &quot;q3&quot;]<br>}</pre><p><strong>Field Details</strong></p><ul><li><strong>name</strong> <em>(string, required)</em> — Unique identifier for the project (1–255 characters).</li><li><strong>description</strong> <em>(string, optional)</em> — Brief description of the project&#39;s purpose.</li><li><strong>tags</strong> <em>(array of strings, optional)</em> — Categorization tags.</li></ul><p><strong>Response (</strong><strong>201 Created)</strong></p><pre>{<br>  &quot;project_id&quot;: &quot;84c718b2-5f36-4d2c-9a4f-561234bcde01&quot;,<br>  &quot;name&quot;: &quot;Sample Docling Pipeline Project&quot;,<br>  &quot;description&quot;: &quot;Flows for processing invoice documents&quot;,<br>  &quot;tags&quot;: [&quot;finance&quot;, &quot;pdf&quot;, &quot;q3&quot;],<br>  &quot;flow_count&quot;: 0,<br>  &quot;created_on&quot;: &quot;2026-09-07T10:00:00Z&quot;,<br>  &quot;modified_on&quot;: &quot;2026-09-07T10:00:00Z&quot;,<br>  &quot;href&quot;: &quot;/api/v1/projects/84c718b2-5f36-4d2c-9a4f-561234bcde01&quot;<br>}<br></pre><h3>Step 2: Discover Available Operators &amp; Models</h3><p>Before defining a pipeline, query the available operators, their schema requirements, and ready-to-serve inference models.</p><h4>A. The Operator Metadata API</h4><p>Returns a comprehensive schema of all 20+ built-in (and registered external) operators.</p><ul><li><strong>Endpoint:</strong> GET /api/v1/operators/metadata</li><li><strong>Query Parameters:</strong> internal_features=false <em>(default)</em></li></ul><p><strong>Example Response Snippet</strong></p><pre>{<br>  &quot;extract_operator&quot;: {<br>    &quot;label&quot;: &quot;Extract Operator&quot;,<br>    &quot;category&quot;: &quot;Extract&quot;,<br>    &quot;description&quot;: &quot;Extracts structured content from documents using Docling&quot;,<br>    &quot;features&quot;: {<br>      &quot;content&quot;: {<br>        &quot;name&quot;: &quot;Document Content&quot;,<br>        &quot;description&quot;: &quot;The markdown content extracted from the document&quot;,<br>        &quot;type&quot;: &quot;string&quot;,<br>        &quot;required&quot;: true<br>      },<br>      &quot;doc_id_hash&quot;: {<br>        &quot;name&quot;: &quot;Hash ID&quot;,<br>        &quot;description&quot;: &quot;Hash ID of the document row&quot;,<br>        &quot;type&quot;: &quot;string&quot;,<br>        &quot;required&quot;: true<br>      }<br>    },<br>    &quot;required_features&quot;: [],<br>    &quot;attributes&quot;: {<br>      &quot;text_extraction_mode&quot;: {<br>        &quot;type&quot;: &quot;string&quot;,<br>        &quot;description&quot;: &quot;Text extraction strategy (docling_library or docling_serve)&quot;,<br>        &quot;required&quot;: true,<br>        &quot;default&quot;: &quot;docling_library&quot;<br>      },<br>      &quot;entity_extraction_mode&quot;: {<br>        &quot;type&quot;: &quot;string&quot;,<br>        &quot;description&quot;: &quot;Entity extraction strategy (litellm, watsonx, docling, or none)&quot;,<br>        &quot;required&quot;: false,<br>        &quot;default&quot;: &quot;none&quot;<br>      }<br>    }<br>  },<br>  &quot;chunker&quot;: {<br>    &quot;label&quot;: &quot;Chunker Operator&quot;,<br>    &quot;category&quot;: &quot;Functional&quot;,<br>    &quot;description&quot;: &quot;Splits documents into smaller semantic or fixed-size passages&quot;,<br>    &quot;features&quot;: {<br>      &quot;content&quot;: { &quot;name&quot;: &quot;Chunk Content&quot;, &quot;type&quot;: &quot;string&quot;, &quot;required&quot;: true }<br>    },<br>    &quot;required_features&quot;: [&quot;content&quot;],<br>    &quot;attributes&quot;: {<br>      &quot;chunker_type&quot;: {<br>        &quot;type&quot;: &quot;string&quot;,<br>        &quot;description&quot;: &quot;Chunking strategy (fixed, semantic, or hybrid)&quot;,<br>        &quot;required&quot;: false,<br>        &quot;default&quot;: &quot;hybrid&quot;<br>      }<br>    }<br>  }<br>}</pre><blockquote><em>💡 </em><strong><em>Developer Takeaway:</em></strong><em> Checking </em><em>required_features ensures upstream nodes output the necessary data columns required by downstream nodes before submitting your payload.</em></blockquote><h4>B. The Providers API</h4><p>Query active provider endpoints in real time to prevent failures caused by missing local model weights or misspelled model names.</p><ul><li><strong>Endpoint:</strong> GET /api/v1/providers/{provider}/models</li><li><strong>Path Parameter:</strong> provider (ollama or watsonx)</li></ul><pre>curl -s http://localhost:8080/api/v1/providers/ollama/models | jq</pre><p><strong>Example Response</strong></p><pre>{<br>  &quot;provider&quot;: &quot;ollama&quot;,<br>  &quot;models&quot;: [<br>    {<br>      &quot;name&quot;: &quot;nomic-embed-text:latest&quot;,<br>      &quot;model&quot;: &quot;nomic-embed-text:latest&quot;,<br>      &quot;modified_at&quot;: &quot;2026-08-15T12:00:00Z&quot;,<br>      &quot;size&quot;: 274302450<br>    },<br>    {<br>      &quot;name&quot;: &quot;llama3:8b&quot;,<br>      &quot;model&quot;: &quot;llama3:8b&quot;,<br>      &quot;modified_at&quot;: &quot;2026-08-20T14:30:00Z&quot;,<br>      &quot;size&quot;: 4661224676<br>    }<br>  ]<br>}</pre><h3>Step 3: Validate the Flow Definition (Pre-flight Check)</h3><p>Test your DAG definition against the pre-flight validation endpoint to catch misconfigured parameters or broken dependencies before saving or running it.</p><ul><li><strong>Endpoint:</strong> POST /api/v1/validation/validate_flow</li></ul><p><strong>Request Body</strong></p><pre>{<br>  &quot;flow_name&quot;: &quot;complete-document-pipeline&quot;,<br>  &quot;global_config&quot;: {<br>    &quot;doc_column&quot;: &quot;content&quot;,<br>    &quot;disable_validation&quot;: true,<br>    &quot;force_ingest&quot;: true,<br>    &quot;storage&quot;: &quot;in-memory&quot;,<br>    &quot;execute_type&quot;: &quot;local&quot;<br>  },<br>  &quot;flow&quot;: [<br>    {<br>      &quot;type&quot;: &quot;ingest_source&quot;,<br>      &quot;name&quot;: &quot;ingest_source_filesystem&quot;,<br>      &quot;config&quot;: {<br>        &quot;provider&quot;: &quot;filesystem&quot;,<br>        &quot;connection_params&quot;: {<br>          &quot;paths&quot;: [&quot;./sample_documents&quot;]<br>        },<br>        &quot;include_filter&quot;: &quot;pdf,txt,docx&quot;<br>      }<br>    },<br>    {<br>      &quot;type&quot;: &quot;extract_operator&quot;,<br>      &quot;name&quot;: &quot;extract_with_docling&quot;,<br>      &quot;config&quot;: {<br>        &quot;text_extraction&quot;: {<br>          &quot;provider&quot;: &quot;docling_library&quot;,<br>          &quot;doc_column&quot;: &quot;content&quot;<br>        },<br>        &quot;entity_extraction&quot;: {<br>          &quot;provider&quot;: &quot;none&quot;<br>        }<br>      },<br>      &quot;depends_on&quot;: [&quot;ingest_source_filesystem&quot;]<br>    },<br>    {<br>      &quot;type&quot;: &quot;chunker&quot;,<br>      &quot;name&quot;: &quot;simple_chunker&quot;,<br>      &quot;config&quot;: {<br>        &quot;chunk_type&quot;: &quot;simple&quot;,<br>        &quot;chunk_size&quot;: 512,<br>        &quot;chunk_overlap&quot;: 50,<br>        &quot;retain_original_content&quot;: false<br>      },<br>      &quot;depends_on&quot;: [&quot;extract_with_docling&quot;]<br>    },<br>    {<br>      &quot;type&quot;: &quot;embeddings&quot;,<br>      &quot;name&quot;: &quot;ollama_embeddings&quot;,<br>      &quot;config&quot;: {<br>        &quot;provider&quot;: &quot;litellm&quot;,<br>        &quot;provider_config&quot;: {<br>          &quot;model_id&quot;: &quot;openai/nomic-embed-text&quot;,<br>          &quot;api_base&quot;: &quot;http://localhost:11434/v1&quot;,<br>          &quot;api_key&quot;: &quot;&lt;ollama-api-key&gt;&quot;<br>        },<br>        &quot;embeddings_column&quot;: &quot;embeddings&quot;,<br>        &quot;overlap_ratio&quot;: 0.1<br>      },<br>      &quot;depends_on&quot;: [&quot;simple_chunker&quot;]<br>    },<br>    {<br>      &quot;type&quot;: &quot;vectordb&quot;,<br>      &quot;name&quot;: &quot;opensearch_vector_store&quot;,<br>      &quot;config&quot;: {<br>        &quot;provider&quot;: &quot;opensearch&quot;,<br>        &quot;doc_id_column&quot;: &quot;doc_id_hash&quot;,<br>        &quot;embeddings_column&quot;: &quot;embeddings&quot;,<br>        &quot;vector_dimension&quot;: 768,<br>        &quot;create_index&quot;: true,<br>        &quot;provider_config&quot;: {<br>          &quot;index_name&quot;: &quot;sample-documents-index&quot;,<br>          &quot;host&quot;: &quot;localhost&quot;,<br>          &quot;port&quot;: 9200,<br>          &quot;username&quot;: &quot;${OPENSEARCH_USERNAME}&quot;,<br>          &quot;password&quot;: &quot;${OPENSEARCH_PASSWORD}&quot;,<br>          &quot;use_ssl&quot;: false,<br>          &quot;verify_certs&quot;: false,<br>          &quot;batch_size&quot;: 100,<br>          &quot;engine&quot;: &quot;faiss&quot;,<br>          &quot;algorithm&quot;: &quot;hnsw&quot;,<br>          &quot;space_type&quot;: &quot;l2&quot;<br>        },<br>        &quot;feature_mappings&quot;: [<br>          { &quot;feature_name&quot;: &quot;doc_id_hash&quot;,  &quot;mapped_column_name&quot;: &quot;pk&quot; },<br>          { &quot;feature_name&quot;: &quot;content&quot;,      &quot;mapped_column_name&quot;: &quot;text&quot; },<br>          { &quot;feature_name&quot;: &quot;name&quot;,         &quot;mapped_column_name&quot;: &quot;doc_name&quot; },<br>          { &quot;feature_name&quot;: &quot;path&quot;,         &quot;mapped_column_name&quot;: &quot;file_path&quot; },<br>          { &quot;feature_name&quot;: &quot;embeddings&quot;,   &quot;mapped_column_name&quot;: &quot;vector_embeddings&quot; },<br>          { &quot;feature_name&quot;: &quot;chunk_id&quot;,     &quot;mapped_column_name&quot;: &quot;chunk_id&quot; },<br>          { &quot;feature_name&quot;: &quot;chunk_index&quot;,  &quot;mapped_column_name&quot;: &quot;chunk_index&quot; }<br>        ]<br>      },<br>      &quot;depends_on&quot;: [&quot;ollama_embeddings&quot;]<br>    }<br>  ]<br>}</pre><p><strong>Response (</strong><strong>200 OK)</strong></p><pre>{<br>  &quot;is_valid&quot;: true,<br>  &quot;errors&quot;: [],<br>  &quot;warnings&quot;: [],<br>  &quot;node_count&quot;: 5<br>}</pre><h3>Step 4: Create and Register the Flow</h3><p>Once validated, submit the flow definition to create and store it in the API server.</p><ul><li><strong>Endpoint:</strong> POST /api/v1/flows</li><li><strong>Query Parameters:</strong> is_elyra=false <em>(default)</em></li></ul><p><strong>Request Body</strong></p><pre>{<br>  &quot;flow_name&quot;: &quot;complete-document-pipeline&quot;,<br>  &quot;description&quot;: &quot;Complete document processing pipeline: Ingest -&gt; Extract -&gt; Chunk -&gt; Embed -&gt; Store in OpenSearch&quot;,<br>  &quot;tags&quot;: [&quot;docling&quot;, &quot;embeddings&quot;, &quot;opensearch&quot;],<br> <br>  &quot;global_config&quot;: {<br>    &quot;doc_column&quot;: &quot;content&quot;,<br>    &quot;disable_validation&quot;: true,<br>    &quot;force_ingest&quot;: true,<br>    &quot;storage&quot;: &quot;in-memory&quot;,<br>    &quot;execute_type&quot;: &quot;local&quot;<br>  },<br>  &quot;flow&quot;: [<br>    {<br>      &quot;type&quot;: &quot;ingest_source&quot;,<br>      &quot;name&quot;: &quot;ingest_source_filesystem&quot;,<br>      &quot;config&quot;: {<br>        &quot;provider&quot;: &quot;filesystem&quot;,<br>        &quot;connection_params&quot;: { &quot;paths&quot;: [&quot;./sample_documents&quot;] },<br>        &quot;include_filter&quot;: &quot;pdf,txt,docx&quot;<br>      }<br>    },<br>    {<br>      &quot;type&quot;: &quot;extract_operator&quot;,<br>      &quot;name&quot;: &quot;extract_with_docling&quot;,<br>      &quot;config&quot;: {<br>        &quot;text_extraction&quot;: { &quot;provider&quot;: &quot;docling_library&quot;, &quot;doc_column&quot;: &quot;content&quot; },<br>        &quot;entity_extraction&quot;: { &quot;provider&quot;: &quot;none&quot; }<br>      },<br>      &quot;depends_on&quot;: [&quot;ingest_source_filesystem&quot;]<br>    },<br>    {<br>      &quot;type&quot;: &quot;chunker&quot;,<br>      &quot;name&quot;: &quot;simple_chunker&quot;,<br>      &quot;config&quot;: {<br>        &quot;chunk_type&quot;: &quot;simple&quot;,<br>        &quot;chunk_size&quot;: 512,<br>        &quot;chunk_overlap&quot;: 50,<br>        &quot;retain_original_content&quot;: false<br>      },<br>      &quot;depends_on&quot;: [&quot;extract_with_docling&quot;]<br>    },<br>    {<br>      &quot;type&quot;: &quot;embeddings&quot;,<br>      &quot;name&quot;: &quot;ollama_embeddings&quot;,<br>      &quot;config&quot;: {<br>        &quot;provider&quot;: &quot;litellm&quot;,<br>        &quot;provider_config&quot;: {<br>          &quot;model_id&quot;: &quot;openai/nomic-embed-text&quot;,<br>          &quot;api_base&quot;: &quot;http://localhost:11434/v1&quot;,<br>          &quot;api_key&quot;: &quot;&lt;ollama-api-key&gt;&quot;<br>        },<br>        &quot;embeddings_column&quot;: &quot;embeddings&quot;,<br>        &quot;overlap_ratio&quot;: 0.1<br>      },<br>      &quot;depends_on&quot;: [&quot;simple_chunker&quot;]<br>    },<br>    {<br>      &quot;type&quot;: &quot;vectordb&quot;,<br>      &quot;name&quot;: &quot;opensearch_vector_store&quot;,<br>      &quot;config&quot;: {<br>        &quot;provider&quot;: &quot;opensearch&quot;,<br>        &quot;doc_id_column&quot;: &quot;doc_id_hash&quot;,<br>        &quot;embeddings_column&quot;: &quot;embeddings&quot;,<br>        &quot;vector_dimension&quot;: 768,<br>        &quot;create_index&quot;: true,<br>        &quot;provider_config&quot;: {<br>          &quot;index_name&quot;: &quot;sample-documents-index&quot;,<br>          &quot;host&quot;: &quot;localhost&quot;,<br>          &quot;port&quot;: 9200,<br>          &quot;username&quot;: &quot;${OPENSEARCH_USERNAME}&quot;,<br>          &quot;password&quot;: &quot;${OPENSEARCH_PASSWORD}&quot;,<br>          &quot;use_ssl&quot;: false,<br>          &quot;verify_certs&quot;: false,<br>          &quot;batch_size&quot;: 100,<br>          &quot;engine&quot;: &quot;faiss&quot;,<br>          &quot;algorithm&quot;: &quot;hnsw&quot;,<br>          &quot;space_type&quot;: &quot;l2&quot;<br>        },<br>        &quot;feature_mappings&quot;: [<br>          { &quot;feature_name&quot;: &quot;doc_id_hash&quot;, &quot;mapped_column_name&quot;: &quot;pk&quot; },<br>          { &quot;feature_name&quot;: &quot;content&quot;, &quot;mapped_column_name&quot;: &quot;text&quot; },<br>          { &quot;feature_name&quot;: &quot;name&quot;, &quot;mapped_column_name&quot;: &quot;doc_name&quot; },<br>          { &quot;feature_name&quot;: &quot;path&quot;, &quot;mapped_column_name&quot;: &quot;file_path&quot; },<br>          { &quot;feature_name&quot;: &quot;embeddings&quot;, &quot;mapped_column_name&quot;: &quot;vector_embeddings&quot; },<br>          { &quot;feature_name&quot;: &quot;chunk_id&quot;, &quot;mapped_column_name&quot;: &quot;chunk_id&quot; },<br>          { &quot;feature_name&quot;: &quot;chunk_index&quot;, &quot;mapped_column_name&quot;: &quot;chunk_index&quot; }<br>        ]<br>      },<br>      &quot;depends_on&quot;: [&quot;ollama_embeddings&quot;]<br>    }<br>  ]<br>}</pre><p><strong>Key Parameters</strong></p><ul><li><strong>global_config.execute_type</strong>: Set to &quot;local&quot; for in-process execution.</li><li><strong>global_config.force_ingest</strong>: Re-ingest documents even if processed previously.</li></ul><p><strong>Response (</strong><strong>201 Created)</strong></p><pre>{<br>  &quot;flow_id&quot;: &quot;e2c31e42-7719-482a-a53d-2490b830d971&quot;,<br>  &quot;flow_name&quot;: &quot;complete-document-pipeline&quot;,<br>  &quot;description&quot;: &quot;Complete document processing pipeline: Ingest -&gt; Extract -&gt; Chunk -&gt; Embed -&gt; Store in OpenSearch&quot;,<br>  &quot;tags&quot;: [&quot;docling&quot;, &quot;embeddings&quot;, &quot;opensearch&quot;],<br>  &quot;global_config&quot;: {<br>    &quot;doc_column&quot;: &quot;content&quot;,<br>    &quot;disable_validation&quot;: true,<br>    &quot;force_ingest&quot;: true,<br>    &quot;storage&quot;: &quot;in-memory&quot;,<br>    &quot;execute_type&quot;: &quot;local&quot;<br>  },<br>  &quot;created_on&quot;: &quot;2026-09-07T10:05:00Z&quot;,<br>  &quot;modified_on&quot;: &quot;2026-09-07T10:05:00Z&quot;<br>}</pre><h3>Step 5: Execute the Flow</h3><p>Execution runs asynchronously. Triggering a job immediately returns a job_run_id.</p><ul><li><strong>Endpoint:</strong> POST /api/v1/job_runs</li></ul><p><strong>Request Body</strong></p><pre>{<br>  &quot;flow_id&quot;: &quot;e2c31e42-7719-482a-a53d-2490b830d971&quot;,<br>  &quot;flow_name&quot;: &quot;complete-document-pipeline&quot;<br>}</pre><p><strong>Response (</strong><strong>201 Created)</strong></p><pre>{<br>  &quot;job_run_id&quot;: &quot;99ecd646-bb8e-494a-a0c5-86b40c1d4f90&quot;,<br>  &quot;status&quot;: &quot;Starting&quot;,<br>  &quot;message&quot;: &quot;Job run created successfully&quot;<br>}</pre><h3>Step 6: Retrieve Status, Metrics, and Execution Logs</h3><p>Poll the job run endpoint to monitor progress. Setting include_logs=true appends step-by-step node execution logs to the output.</p><ul><li><strong>Endpoint:</strong> GET /api/v1/job_runs/99ecd646-bb8e-494a-a0c5-86b40c1d4f90?include_logs=true</li></ul><p><strong>Response (</strong><strong>200 OK)</strong></p><pre>{<br>  &quot;node_sequence&quot;: [<br>    &quot;ca564648-1715-45c3-be67-7c654344a99c&quot;,<br>    &quot;49f285b0-3afa-40eb-8111-3ec6a57c4904&quot;,<br>    &quot;447e0511-5125-4ffb-8396-edb972976080&quot;,<br>    &quot;2636f8b6-ef9a-4805-bda0-9fcaa853e16a&quot;,<br>    &quot;0c773955-f1c7-4b68-b157-38966382cb9c&quot;<br>  ],<br>  &quot;job_stats&quot;: {<br>    &quot;job_id&quot;: &quot;9be63026-c08c-49c1-ba12-600838f3b22f&quot;,<br>    &quot;job_run_id&quot;: &quot;13bd4219-7947-4977-bc69-1ae6628567d3&quot;,<br>    &quot;status&quot;: &quot;Completed&quot;,<br>    &quot;message&quot;: &quot;&quot;,<br>    &quot;start_time&quot;: 1788943163,<br>    &quot;end_time&quot;: 1788943166,<br>    &quot;duration&quot;: 3,<br>    &quot;heartbeat_timestamp&quot;: 0,<br>    &quot;total_docs&quot;: 2,<br>    &quot;processed_docs&quot;: 2,<br>    &quot;completed_docs&quot;: 2,<br>    &quot;failed_docs&quot;: 0,<br>    &quot;skipped_docs&quot;: 0,<br>    &quot;deleted_doc_count&quot;: 0,<br>    &quot;total_pages_processed&quot;: 2,<br>    &quot;page_type_stats&quot;: {<br>      &quot;txt&quot;: 2<br>    },<br>    &quot;execution_time&quot;: 0,<br>    &quot;orchestrator&quot;: &quot;Python&quot;,<br>    &quot;container_kind&quot;: null,<br>    &quot;container_id&quot;: &quot;&quot;,<br>    &quot;flow_id&quot;: &quot;unknown&quot;,<br>    &quot;user_id&quot;: null,<br>    &quot;account_id&quot;: null,<br>    &quot;user_entitlements&quot;: {},<br>    &quot;report_status&quot;: &quot;NOT_AVAILABLE&quot;,<br>    &quot;report_generation_started_at&quot;: null,<br>    &quot;report_generation_completed_at&quot;: null,<br>    &quot;node_stats&quot;: {<br>      &quot;ca564648-1715-45c3-be67-7c654344a99c&quot;: {<br>        &quot;id&quot;: &quot;ca564648-1715-45c3-be67-7c654344a99c&quot;,<br>        &quot;name&quot;: &quot;extract_with_docling&quot;,<br>        &quot;node_status&quot;: &quot;Completed&quot;,<br>        &quot;error&quot;: &quot;&quot;,<br>        &quot;start_time&quot;: 1788943163,<br>        &quot;end_time&quot;: 1788943163,<br>        &quot;time_taken&quot;: 0,<br>        &quot;col_names&quot;: [<br>          &quot;content&quot;,<br>          &quot;doc_id_hash&quot;,<br>          &quot;document_format&quot;,<br>          &quot;id&quot;,<br>          &quot;metadata&quot;,<br>          &quot;modified_time&quot;,<br>          &quot;name&quot;,<br>          &quot;pages_processed&quot;,<br>          &quot;path&quot;,<br>          &quot;source_id&quot;<br>        ],<br>        &quot;total_docs&quot;: 2,<br>        &quot;failed_docs&quot;: 0,<br>        &quot;skipped_docs&quot;: 0,<br>        &quot;docs_completed&quot;: 2,<br>        &quot;docs_completed_count&quot;: 2,<br>        &quot;node_metadata&quot;: {<br>          &quot;node_metadata&quot;: {<br>            &quot;failed_docs&quot;: [],<br>            &quot;processed_docs&quot;: 2,<br>            &quot;node_status&quot;: &quot;Completed&quot;,<br>            &quot;total_pages_converted&quot;: 2,<br>            &quot;page_type_stats&quot;: {<br>              &quot;txt&quot;: 2<br>            },<br>            &quot;failed_docs_count&quot;: 0,<br>            &quot;skipped_docs&quot;: [],<br>            &quot;documents_in_scope&quot;: 2,<br>            &quot;skipped_docs_count&quot;: 0,<br>            &quot;completed_docs_count&quot;: 2,<br>            &quot;Progress&quot;: &quot;1 of 1 batches (100.0%) | Completed: 1&quot;<br>          },<br>          &quot;id&quot;: &quot;ca564648-1715-45c3-be67-7c654344a99c&quot;,<br>          &quot;operator&quot;: &quot;extract_with_docling&quot;<br>        },<br>        &quot;batch_id&quot;: null,<br>        &quot;batch_num&quot;: null<br>      },<br>      &quot;49f285b0-3afa-40eb-8111-3ec6a57c4904&quot;: {<br>        &quot;id&quot;: &quot;49f285b0-3afa-40eb-8111-3ec6a57c4904&quot;,<br>        &quot;name&quot;: &quot;ingest_source_filesystem&quot;,<br>        &quot;node_status&quot;: &quot;Completed&quot;,<br>        &quot;error&quot;: &quot;&quot;,<br>        &quot;start_time&quot;: 1788943163,<br>        &quot;end_time&quot;: 1788943163,<br>        &quot;time_taken&quot;: 0,<br>        &quot;col_names&quot;: [<br>          &quot;id&quot;,<br>          &quot;name&quot;,<br>          &quot;document_format&quot;,<br>          &quot;metadata&quot;,<br>          &quot;source_id&quot;,<br>          &quot;path&quot;,<br>          &quot;modified_time&quot;<br>        ],<br>        &quot;total_docs&quot;: 2,<br>        &quot;failed_docs&quot;: 0,<br>        &quot;skipped_docs&quot;: 0,<br>        &quot;docs_completed&quot;: 2,<br>        &quot;docs_completed_count&quot;: 2,<br>        &quot;node_metadata&quot;: {<br>          &quot;id&quot;: &quot;49f285b0-3afa-40eb-8111-3ec6a57c4904&quot;,<br>          &quot;operator&quot;: &quot;ingest_source_filesystem&quot;,<br>          &quot;node_metadata&quot;: {<br>            &quot;documents_in_scope&quot;: 2,<br>            &quot;processed_docs&quot;: 2,<br>            &quot;failed_docs_count&quot;: 0,<br>            &quot;failed_docs&quot;: [],<br>            &quot;skipped_docs_count&quot;: 0,<br>            &quot;skipped_docs&quot;: [],<br>            &quot;node_status&quot;: &quot;Completed&quot;<br>          }<br>        },<br>        &quot;batch_id&quot;: null,<br>        &quot;batch_num&quot;: null<br>      },<br>      &quot;447e0511-5125-4ffb-8396-edb972976080&quot;: {<br>        &quot;id&quot;: &quot;447e0511-5125-4ffb-8396-edb972976080&quot;,<br>        &quot;name&quot;: &quot;simple_chunker&quot;,<br>        &quot;node_status&quot;: &quot;Completed&quot;,<br>        &quot;error&quot;: &quot;&quot;,<br>        &quot;start_time&quot;: 1788943163,<br>        &quot;end_time&quot;: 1788943164,<br>        &quot;time_taken&quot;: 1,<br>        &quot;col_names&quot;: [<br>          &quot;chunked_content&quot;,<br>          &quot;doc_id_hash&quot;,<br>          &quot;document_format&quot;,<br>          &quot;id&quot;,<br>          &quot;metadata&quot;,<br>          &quot;modified_time&quot;,<br>          &quot;name&quot;,<br>          &quot;pages_processed&quot;,<br>          &quot;path&quot;,<br>          &quot;source_id&quot;<br>        ],<br>        &quot;total_docs&quot;: 2,<br>        &quot;failed_docs&quot;: 0,<br>        &quot;skipped_docs&quot;: 0,<br>        &quot;docs_completed&quot;: 2,<br>        &quot;docs_completed_count&quot;: 2,<br>        &quot;node_metadata&quot;: {<br>          &quot;node_metadata&quot;: {<br>            &quot;failed_docs&quot;: [],<br>            &quot;total_chunks&quot;: 4,<br>            &quot;processed_docs&quot;: 2,<br>            &quot;node_status&quot;: &quot;Completed&quot;,<br>            &quot;failed_docs_count&quot;: 0,<br>            &quot;skipped_docs&quot;: [],<br>            &quot;documents_in_scope&quot;: 2,<br>            &quot;skipped_docs_count&quot;: 0,<br>            &quot;completed_docs_count&quot;: 2,<br>            &quot;Progress&quot;: &quot;1 of 1 batches (100.0%) | Completed: 1&quot;<br>          },<br>          &quot;id&quot;: &quot;447e0511-5125-4ffb-8396-edb972976080&quot;,<br>          &quot;operator&quot;: &quot;simple_chunker&quot;<br>        },<br>        &quot;batch_id&quot;: null,<br>        &quot;batch_num&quot;: null<br>      },<br>      &quot;2636f8b6-ef9a-4805-bda0-9fcaa853e16a&quot;: {<br>        &quot;id&quot;: &quot;2636f8b6-ef9a-4805-bda0-9fcaa853e16a&quot;,<br>        &quot;name&quot;: &quot;ollama_embeddings&quot;,<br>        &quot;node_status&quot;: &quot;Completed&quot;,<br>        &quot;error&quot;: &quot;&quot;,<br>        &quot;start_time&quot;: 1788943164,<br>        &quot;end_time&quot;: 1788943164,<br>        &quot;time_taken&quot;: 0,<br>        &quot;col_names&quot;: [<br>          &quot;chunked_content&quot;,<br>          &quot;doc_id_hash&quot;,<br>          &quot;document_format&quot;,<br>          &quot;embeddings&quot;,<br>          &quot;id&quot;,<br>          &quot;metadata&quot;,<br>          &quot;modified_time&quot;,<br>          &quot;name&quot;,<br>          &quot;pages_processed&quot;,<br>          &quot;path&quot;,<br>          &quot;source_id&quot;<br>        ],<br>        &quot;total_docs&quot;: 2,<br>        &quot;failed_docs&quot;: 0,<br>        &quot;skipped_docs&quot;: 0,<br>        &quot;docs_completed&quot;: 2,<br>        &quot;docs_completed_count&quot;: 2,<br>        &quot;node_metadata&quot;: {<br>          &quot;node_metadata&quot;: {<br>            &quot;failed_docs&quot;: [],<br>            &quot;processed_docs&quot;: 2,<br>            &quot;node_status&quot;: &quot;Completed&quot;,<br>            &quot;failed_docs_count&quot;: 0,<br>            &quot;skipped_docs&quot;: [],<br>            &quot;documents_in_scope&quot;: 2,<br>            &quot;skipped_docs_count&quot;: 0,<br>            &quot;completed_docs_count&quot;: 2,<br>            &quot;Progress&quot;: &quot;1 of 1 batches (100.0%) | Completed: 1&quot;<br>          },<br>          &quot;id&quot;: &quot;2636f8b6-ef9a-4805-bda0-9fcaa853e16a&quot;,<br>          &quot;operator&quot;: &quot;ollama_embeddings&quot;<br>        },<br>        &quot;batch_id&quot;: null,<br>        &quot;batch_num&quot;: null<br>      },<br>      &quot;0c773955-f1c7-4b68-b157-38966382cb9c&quot;: {<br>        &quot;id&quot;: &quot;0c773955-f1c7-4b68-b157-38966382cb9c&quot;,<br>        &quot;name&quot;: &quot;opensearch_vector_store&quot;,<br>        &quot;node_status&quot;: &quot;Completed&quot;,<br>        &quot;error&quot;: &quot;&quot;,<br>        &quot;start_time&quot;: 1788943164,<br>        &quot;end_time&quot;: 1788943165,<br>        &quot;time_taken&quot;: 1,<br>        &quot;col_names&quot;: [<br>          &quot;chunked_content&quot;,<br>          &quot;doc_id_hash&quot;,<br>          &quot;document_format&quot;,<br>          &quot;embeddings&quot;,<br>          &quot;id&quot;,<br>          &quot;metadata&quot;,<br>          &quot;modified_time&quot;,<br>          &quot;name&quot;,<br>          &quot;pages_processed&quot;,<br>          &quot;path&quot;,<br>          &quot;source_id&quot;<br>        ],<br>        &quot;total_docs&quot;: 2,<br>        &quot;failed_docs&quot;: 0,<br>        &quot;skipped_docs&quot;: 0,<br>        &quot;docs_completed&quot;: 2,<br>        &quot;docs_completed_count&quot;: 2,<br>        &quot;node_metadata&quot;: {<br>          &quot;node_metadata&quot;: {<br>            &quot;failed_docs&quot;: [],<br>            &quot;chunks_indexed_successfully&quot;: 4,<br>            &quot;processed_docs&quot;: 2,<br>            &quot;total_chunks_to_index&quot;: 4,<br>            &quot;node_status&quot;: &quot;Completed&quot;,<br>            &quot;chunks_failed_to_index&quot;: 0,<br>            &quot;number_of_batches&quot;: 1,<br>            &quot;failed_docs_count&quot;: 0,<br>            &quot;skipped_docs&quot;: [],<br>            &quot;documents_in_scope&quot;: 2,<br>            &quot;skipped_docs_count&quot;: 0,<br>            &quot;completed_docs_count&quot;: 2,<br>            &quot;Progress&quot;: &quot;1 of 1 batches (100.0%) | Completed: 1&quot;<br>          },<br>          &quot;id&quot;: &quot;0c773955-f1c7-4b68-b157-38966382cb9c&quot;,<br>          &quot;operator&quot;: &quot;opensearch_vector_store&quot;<br>        },<br>        &quot;batch_id&quot;: null,<br>        &quot;batch_num&quot;: null<br>      }<br>    },<br>    &quot;batch_node_stats&quot;: {<br>      &quot;2636f8b6-ef9a-4805-bda0-9fcaa853e16a&quot;: {<br>        &quot;d9467158-dc5a-422e-92f7-d389776f8e50&quot;: {<br>          &quot;id&quot;: &quot;2636f8b6-ef9a-4805-bda0-9fcaa853e16a&quot;,<br>          &quot;name&quot;: &quot;ollama_embeddings&quot;,<br>          &quot;node_status&quot;: &quot;Completed&quot;,<br>          &quot;error&quot;: &quot;&quot;,<br>          &quot;start_time&quot;: 1788943164,<br>          &quot;end_time&quot;: 1788943164,<br>          &quot;time_taken&quot;: 0,<br>          &quot;col_names&quot;: [<br>            &quot;id&quot;,<br>            &quot;name&quot;,<br>            &quot;document_format&quot;,<br>            &quot;metadata&quot;,<br>            &quot;source_id&quot;,<br>            &quot;path&quot;,<br>            &quot;modified_time&quot;,<br>            &quot;pages_processed&quot;,<br>            &quot;chunked_content&quot;,<br>            &quot;embeddings&quot;,<br>            &quot;doc_id_hash&quot;<br>          ],<br>          &quot;total_docs&quot;: 2,<br>          &quot;failed_docs&quot;: 0,<br>          &quot;skipped_docs&quot;: 0,<br>          &quot;docs_completed&quot;: 2,<br>          &quot;docs_completed_count&quot;: 2,<br>          &quot;node_metadata&quot;: {<br>            &quot;id&quot;: &quot;2636f8b6-ef9a-4805-bda0-9fcaa853e16a&quot;,<br>            &quot;operator&quot;: &quot;ollama_embeddings&quot;,<br>            &quot;node_metadata&quot;: {<br>              &quot;documents_in_scope&quot;: 2,<br>              &quot;processed_docs&quot;: 2,<br>              &quot;failed_docs_count&quot;: 0,<br>              &quot;failed_docs&quot;: [],<br>              &quot;skipped_docs_count&quot;: 0,<br>              &quot;skipped_docs&quot;: [],<br>              &quot;node_status&quot;: &quot;Completed&quot;<br>            }<br>          },<br>          &quot;batch_id&quot;: &quot;d9467158-dc5a-422e-92f7-d389776f8e50&quot;,<br>          &quot;batch_num&quot;: 0<br>        }<br>      },<br>      &quot;0c773955-f1c7-4b68-b157-38966382cb9c&quot;: {<br>        &quot;d9467158-dc5a-422e-92f7-d389776f8e50&quot;: {<br>          &quot;id&quot;: &quot;0c773955-f1c7-4b68-b157-38966382cb9c&quot;,<br>          &quot;name&quot;: &quot;opensearch_vector_store&quot;,<br>          &quot;node_status&quot;: &quot;Completed&quot;,<br>          &quot;error&quot;: &quot;&quot;,<br>          &quot;start_time&quot;: 1788943164,<br>          &quot;end_time&quot;: 1788943165,<br>          &quot;time_taken&quot;: 1,<br>          &quot;col_names&quot;: [<br>            &quot;id&quot;,<br>            &quot;name&quot;,<br>            &quot;document_format&quot;,<br>            &quot;metadata&quot;,<br>            &quot;source_id&quot;,<br>            &quot;path&quot;,<br>            &quot;modified_time&quot;,<br>            &quot;pages_processed&quot;,<br>            &quot;chunked_content&quot;,<br>            &quot;embeddings&quot;,<br>            &quot;doc_id_hash&quot;<br>          ],<br>          &quot;total_docs&quot;: 2,<br>          &quot;failed_docs&quot;: 0,<br>          &quot;skipped_docs&quot;: 0,<br>          &quot;docs_completed&quot;: 2,<br>          &quot;docs_completed_count&quot;: 2,<br>          &quot;node_metadata&quot;: {<br>            &quot;id&quot;: &quot;0c773955-f1c7-4b68-b157-38966382cb9c&quot;,<br>            &quot;operator&quot;: &quot;opensearch_vector_store&quot;,<br>            &quot;node_metadata&quot;: {<br>              &quot;documents_in_scope&quot;: 2,<br>              &quot;processed_docs&quot;: 2,<br>              &quot;failed_docs_count&quot;: 0,<br>              &quot;failed_docs&quot;: [],<br>              &quot;skipped_docs_count&quot;: 0,<br>              &quot;skipped_docs&quot;: [],<br>              &quot;node_status&quot;: &quot;Completed&quot;,<br>              &quot;number_of_batches&quot;: 1,<br>              &quot;total_chunks_to_index&quot;: 4,<br>              &quot;chunks_indexed_successfully&quot;: 4,<br>              &quot;chunks_failed_to_index&quot;: 0<br>            }<br>          },<br>          &quot;batch_id&quot;: &quot;d9467158-dc5a-422e-92f7-d389776f8e50&quot;,<br>          &quot;batch_num&quot;: 0<br>        }<br>      },<br>      &quot;447e0511-5125-4ffb-8396-edb972976080&quot;: {<br>        &quot;d9467158-dc5a-422e-92f7-d389776f8e50&quot;: {<br>          &quot;id&quot;: &quot;447e0511-5125-4ffb-8396-edb972976080&quot;,<br>          &quot;name&quot;: &quot;simple_chunker&quot;,<br>          &quot;node_status&quot;: &quot;Completed&quot;,<br>          &quot;error&quot;: &quot;&quot;,<br>          &quot;start_time&quot;: 1788943163,<br>          &quot;end_time&quot;: 1788943164,<br>          &quot;time_taken&quot;: 1,<br>          &quot;col_names&quot;: [<br>            &quot;id&quot;,<br>            &quot;name&quot;,<br>            &quot;document_format&quot;,<br>            &quot;metadata&quot;,<br>            &quot;source_id&quot;,<br>            &quot;path&quot;,<br>            &quot;modified_time&quot;,<br>            &quot;pages_processed&quot;,<br>            &quot;doc_id_hash&quot;,<br>            &quot;chunked_content&quot;<br>          ],<br>          &quot;total_docs&quot;: 2,<br>          &quot;failed_docs&quot;: 0,<br>          &quot;skipped_docs&quot;: 0,<br>          &quot;docs_completed&quot;: 2,<br>          &quot;docs_completed_count&quot;: 2,<br>          &quot;node_metadata&quot;: {<br>            &quot;id&quot;: &quot;447e0511-5125-4ffb-8396-edb972976080&quot;,<br>            &quot;operator&quot;: &quot;simple_chunker&quot;,<br>            &quot;node_metadata&quot;: {<br>              &quot;documents_in_scope&quot;: 2,<br>              &quot;processed_docs&quot;: 2,<br>              &quot;failed_docs_count&quot;: 0,<br>              &quot;failed_docs&quot;: [],<br>              &quot;skipped_docs_count&quot;: 0,<br>              &quot;skipped_docs&quot;: [],<br>              &quot;node_status&quot;: &quot;Completed&quot;,<br>              &quot;total_chunks&quot;: 4<br>            }<br>          },<br>          &quot;batch_id&quot;: &quot;d9467158-dc5a-422e-92f7-d389776f8e50&quot;,<br>          &quot;batch_num&quot;: 0<br>        }<br>      },<br>      &quot;ca564648-1715-45c3-be67-7c654344a99c&quot;: {<br>        &quot;d9467158-dc5a-422e-92f7-d389776f8e50&quot;: {<br>          &quot;id&quot;: &quot;ca564648-1715-45c3-be67-7c654344a99c&quot;,<br>          &quot;name&quot;: &quot;extract_with_docling&quot;,<br>          &quot;node_status&quot;: &quot;Completed&quot;,<br>          &quot;error&quot;: &quot;&quot;,<br>          &quot;start_time&quot;: 1788943163,<br>          &quot;end_time&quot;: 1788943163,<br>          &quot;time_taken&quot;: 0,<br>          &quot;col_names&quot;: [<br>            &quot;id&quot;,<br>            &quot;name&quot;,<br>            &quot;document_format&quot;,<br>            &quot;metadata&quot;,<br>            &quot;source_id&quot;,<br>            &quot;path&quot;,<br>            &quot;modified_time&quot;,<br>            &quot;content&quot;,<br>            &quot;pages_processed&quot;,<br>            &quot;doc_id_hash&quot;<br>          ],<br>          &quot;total_docs&quot;: 2,<br>          &quot;failed_docs&quot;: 0,<br>          &quot;skipped_docs&quot;: 0,<br>          &quot;docs_completed&quot;: 2,<br>          &quot;docs_completed_count&quot;: 2,<br>          &quot;node_metadata&quot;: {<br>            &quot;id&quot;: &quot;ca564648-1715-45c3-be67-7c654344a99c&quot;,<br>            &quot;operator&quot;: &quot;extract_with_docling&quot;,<br>            &quot;node_metadata&quot;: {<br>              &quot;documents_in_scope&quot;: 2,<br>              &quot;processed_docs&quot;: 2,<br>              &quot;failed_docs_count&quot;: 0,<br>              &quot;failed_docs&quot;: [],<br>              &quot;skipped_docs_count&quot;: 0,<br>              &quot;skipped_docs&quot;: [],<br>              &quot;node_status&quot;: &quot;Completed&quot;,<br>              &quot;page_type_stats&quot;: {<br>                &quot;txt&quot;: 2<br>              },<br>              &quot;total_pages_converted&quot;: 2<br>            }<br>          },<br>          &quot;batch_id&quot;: &quot;d9467158-dc5a-422e-92f7-d389776f8e50&quot;,<br>          &quot;batch_num&quot;: 0<br>        }<br>      }<br>    }<br>  },<br>  &quot;node_metadata&quot;: [<br>    {<br>      &quot;id&quot;: &quot;ca564648-1715-45c3-be67-7c654344a99c&quot;,<br>      &quot;operator&quot;: &quot;extract_with_docling&quot;,<br>      &quot;node_metadata&quot;: {<br>        &quot;failed_docs&quot;: [],<br>        &quot;processed_docs&quot;: 2,<br>        &quot;node_status&quot;: &quot;Completed&quot;,<br>        &quot;total_pages_converted&quot;: 2,<br>        &quot;page_type_stats&quot;: {<br>          &quot;txt&quot;: 2<br>        },<br>        &quot;failed_docs_count&quot;: 0,<br>        &quot;skipped_docs&quot;: [],<br>        &quot;documents_in_scope&quot;: 2,<br>        &quot;skipped_docs_count&quot;: 0,<br>        &quot;completed_docs_count&quot;: 2,<br>        &quot;Progress&quot;: &quot;1 of 1 batches (100.0%) | Completed: 1&quot;<br>      }<br>    },<br>    {<br>      &quot;id&quot;: &quot;49f285b0-3afa-40eb-8111-3ec6a57c4904&quot;,<br>      &quot;operator&quot;: &quot;ingest_source_filesystem&quot;,<br>      &quot;node_metadata&quot;: {<br>        &quot;documents_in_scope&quot;: 2,<br>        &quot;processed_docs&quot;: 2,<br>        &quot;failed_docs_count&quot;: 0,<br>        &quot;failed_docs&quot;: [],<br>        &quot;skipped_docs_count&quot;: 0,<br>        &quot;skipped_docs&quot;: [],<br>        &quot;node_status&quot;: &quot;Completed&quot;<br>      }<br>    },<br>    {<br>      &quot;id&quot;: &quot;447e0511-5125-4ffb-8396-edb972976080&quot;,<br>      &quot;operator&quot;: &quot;simple_chunker&quot;,<br>      &quot;node_metadata&quot;: {<br>        &quot;failed_docs&quot;: [],<br>        &quot;total_chunks&quot;: 4,<br>        &quot;processed_docs&quot;: 2,<br>        &quot;node_status&quot;: &quot;Completed&quot;,<br>        &quot;failed_docs_count&quot;: 0,<br>        &quot;skipped_docs&quot;: [],<br>        &quot;documents_in_scope&quot;: 2,<br>        &quot;skipped_docs_count&quot;: 0,<br>        &quot;completed_docs_count&quot;: 2,<br>        &quot;Progress&quot;: &quot;1 of 1 batches (100.0%) | Completed: 1&quot;<br>      }<br>    },<br>    {<br>      &quot;id&quot;: &quot;2636f8b6-ef9a-4805-bda0-9fcaa853e16a&quot;,<br>      &quot;operator&quot;: &quot;ollama_embeddings&quot;,<br>      &quot;node_metadata&quot;: {<br>        &quot;failed_docs&quot;: [],<br>        &quot;processed_docs&quot;: 2,<br>        &quot;node_status&quot;: &quot;Completed&quot;,<br>        &quot;failed_docs_count&quot;: 0,<br>        &quot;skipped_docs&quot;: [],<br>        &quot;documents_in_scope&quot;: 2,<br>        &quot;skipped_docs_count&quot;: 0,<br>        &quot;completed_docs_count&quot;: 2,<br>        &quot;Progress&quot;: &quot;1 of 1 batches (100.0%) | Completed: 1&quot;<br>      }<br>    },<br>    {<br>      &quot;id&quot;: &quot;0c773955-f1c7-4b68-b157-38966382cb9c&quot;,<br>      &quot;operator&quot;: &quot;opensearch_vector_store&quot;,<br>      &quot;node_metadata&quot;: {<br>        &quot;failed_docs&quot;: [],<br>        &quot;chunks_indexed_successfully&quot;: 4,<br>        &quot;processed_docs&quot;: 2,<br>        &quot;total_chunks_to_index&quot;: 4,<br>        &quot;node_status&quot;: &quot;Completed&quot;,<br>        &quot;chunks_failed_to_index&quot;: 0,<br>        &quot;number_of_batches&quot;: 1,<br>        &quot;failed_docs_count&quot;: 0,<br>        &quot;skipped_docs&quot;: [],<br>        &quot;documents_in_scope&quot;: 2,<br>        &quot;skipped_docs_count&quot;: 0,<br>        &quot;completed_docs_count&quot;: 2,<br>        &quot;Progress&quot;: &quot;1 of 1 batches (100.0%) | Completed: 1&quot;<br>      }<br>    }<br>  ]<br>}</pre><h3>Key Elements in the Response:</h3><ol><li><strong>job_stats</strong>: High-level counters (total_docs, processed_docs, completed_docs, duration).</li><li><strong>node_stats</strong>: Duration and status per operator step.</li><li><strong>Dynamic Log Keys</strong>: When include_logs=true, formatted logs for each node are included at the root level using the operator&#39;s name (ingest_source_filesystem, extract_with_docling, simple_chunker, ollama_embeddings, opensearch_vector_store).</li></ol><h3>Understanding Node Execution Metadata</h3><p>Each operator in a Docling pipeline emits telemetry under node_metadata upon execution, giving you granular visibility into document throughput, processing errors, and file conversions across every stage.<br><strong>Attribute Reference</strong></p><ul><li><strong>documents_in_scope</strong> <em>(integer)</em>: Total count of raw documents discovered and loaded by the ingest operator. Serves as your baseline input count before downstream filtering or failures.</li><li><strong>processed_docs</strong> <em>(integer)</em>: Number of documents successfully processed by this specific operator in the current run. In a healthy pipeline without errors, this matches documents_in_scope.</li><li><strong>failed_docs_count</strong> <em>(integer)</em>: Total number of documents that encountered errors during execution in this operator.</li><li><strong>failed_docs</strong> <em>(array of objects)</em>: Itemized list of failed documents. Each object includes:</li><li>id: Unique document identifier.</li><li>name: Original filename.</li><li>reason: Specific error message explaining the execution failure.</li><li>document_url: Direct URL to the source file (empty string for local filesystem sources).</li><li><strong>skipped_docs_count</strong> <em>(integer)</em>: Total number of documents intentionally bypassed by this operator (e.g., due to deduplication, branching logic, or incremental runs).</li><li><strong>skipped_docs</strong> <em>(array of objects)</em>: Itemized list of bypassed documents using the same schema as failed_docs (id, name, reason, document_url). The reason field explains why execution was skipped (e.g., &quot;Filtered by branch condition&quot;).</li><li><strong>page_type_stats</strong> <em>(dictionary, </em><em>extract_operator only)</em>: Mapping of file extensions to page counts parsed across the ingested batch (e.g., {&quot;pdf&quot;: 45, &quot;docx&quot;: 12, &quot;txt&quot;: 3}).</li><li><strong>total_pages_converted</strong> <em>(integer, </em><em>extract_operator only)</em>: Aggregate sum of all pages parsed across all document formats in the batch. Reflects native page counts for digital files and OCR page counts for scanned documents.</li></ul><h3>Step 7: View Project Flow Summary &amp; Run History</h3><p>You can query all flows linked to a project, along with an aggregated summary of recent runs:</p><ul><li><strong>Endpoint:</strong> GET /api/v1/projects/{project_id}/flows</li></ul><p><strong>Response (</strong><strong>200 OK)</strong></p><pre>{<br>  &quot;flows&quot;: [<br>    {<br>      &quot;flow_id&quot;: &quot;e2c31e42-7719-482a-a53d-2490b830d971&quot;,<br>      &quot;name&quot;: &quot;complete-document-pipeline&quot;,<br>      &quot;tags&quot;: [&quot;docling&quot;, &quot;embeddings&quot;, &quot;opensearch&quot;],<br>      &quot;created_on&quot;: &quot;2026-09-07T10:05:00Z&quot;,<br>      &quot;job_run_summary&quot;: {<br>        &quot;total_runs&quot;: 1,<br>        &quot;last_run_id&quot;: &quot;99ecd646-bb8e-494a-a0c5-86b40c1d4f90&quot;,<br>        &quot;last_run_status&quot;: &quot;Completed&quot;,<br>        &quot;last_run_start_time&quot;: 1788775200000,<br>        &quot;status_counts&quot;: { &quot;Completed&quot;: 1 }<br>      }<br>    }<br>  ],<br>  &quot;total_count&quot;: 1,<br>  &quot;offset&quot;: 0,<br>  &quot;limit&quot;: 100<br>}</pre><h3>Summary &amp; Next Steps</h3><p>The Docling Pipelines REST API provides a headless, production-ready interface for managing end-to-end document processing:</p><ul><li><strong>Schema Introspection:</strong> Utilize /operators/metadata and /providers/{provider}/models to discover field specifications and dynamic AI model tags programmatically.</li><li><strong>Pre-flight Validation:</strong> Always test DAG definitions against /validation/validate_flow to ensure proper parameter types and node connectivity before execution.</li><li><strong>Asynchronous Monitoring:</strong> Query job runs with include_logs=true for full step-by-step observability directly inside HTTP responses.</li></ul><h4>To start testing:</h4><ol><li>Start the services: Ollama + OpenSearch (or Milvus)</li><li>Start the server: docling-pipelines-api</li><li>Open Swagger UI: <a href="http://localhost:8080/api/v1/docs">http://localhost:8080/api/v1/docs</a></li><li>Follow this guide step by step — create a project, define your flow (linked to that project), validate it, execute it, and inspect the logs</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff165a45130d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>