Docling · Example Payload

Docling Serve Convert Source Async Example

DocumentsParsingPDFOCRLayoutTablesRAGLLMOpen-SourceIBM ResearchLF AI and DataMCPKnowledge GraphGenerative AI

Docling Serve Convert Source Async Example is an example object payload from Docling, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

submitpollresult

Example Payload

Raw ↑
{
  "submit": {
    "request": {
      "method": "POST",
      "url": "http://localhost:5001/v1/convert/source/async",
      "headers": {"Content-Type": "application/json"},
      "body": {
        "http_sources": [
          {"url": "https://arxiv.org/pdf/2206.01062"}
        ],
        "options": {
          "from_formats": ["pdf"],
          "to_formats": ["json", "md"],
          "do_ocr": true,
          "ocr_engine": "easyocr",
          "ocr_lang": ["en"],
          "pipeline": "vlm",
          "vlm_model": "granite_docling"
        }
      }
    },
    "response": {
      "status": 200,
      "body": {
        "task_id": "5d6a3a3e-1f4a-4f24-ae5a-3a3b8e9f1c2d",
        "task_status": "pending",
        "task_position": 2,
        "created_at": "2026-05-25T18:30:00Z"
      }
    }
  },
  "poll": {
    "request": {
      "method": "GET",
      "url": "http://localhost:5001/v1/status/poll/5d6a3a3e-1f4a-4f24-ae5a-3a3b8e9f1c2d"
    },
    "response": {
      "status": 200,
      "body": {
        "task_id": "5d6a3a3e-1f4a-4f24-ae5a-3a3b8e9f1c2d",
        "task_status": "started",
        "task_position": 0,
        "started_at": "2026-05-25T18:30:14Z"
      }
    }
  },
  "result": {
    "request": {
      "method": "GET",
      "url": "http://localhost:5001/v1/result/5d6a3a3e-1f4a-4f24-ae5a-3a3b8e9f1c2d"
    },
    "response": {
      "status": 200,
      "body": {
        "document": {
          "filename": "2206.01062.pdf",
          "md_content": "# Layout Parser Paper\n...",
          "json_content": {"schema_name": "DoclingDocument", "version": "1.4.0"}
        },
        "status": "success",
        "processing_time": 47.2
      }
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/docling-serve-convert-source-async-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.