Skip to main content
This guide helps you migrate from deprecated Datalab API endpoints to their current replacements.

Marker → Dedicated Endpoints

The /api/v1/marker endpoint is deprecated. Migrate to the new dedicated endpoints below.
The monolithic /api/v1/marker endpoint has been replaced with dedicated endpoints for each operation:

SDK upgrade

Update to the latest SDK for the new dedicated methods:
SDK users who only use client.convert() do not need to change code — it continues to work and now calls /api/v1/convert internally.

Document Conversion

Structured Extraction

Document Segmentation

Track Changes

Checkpoint reuse

The new endpoints support a checkpoint system to avoid re-parsing documents. Convert once, then extract or segment multiple times:

Workflows → Pipelines

The API removed the Workflows API (/api/v1/workflows), and SDK 0.15.0 removed the workflow methods and CLI commands. Use Pipelines instead.
Pipelines replace Workflows with a simpler API, per-step status tracking, versioning, and a visual editor in Forge. See Pipelines for a full walkthrough.

Custom Processors → Agent

The legacy custom processor endpoints and SDK methods are deprecated. They keep working until a removal date we will announce ahead of time. Move existing integrations to the agent endpoint.
Run custom processors through the agent endpoint. The response format is the same. run_custom_processor(), run_custom_pipeline() and the custom-pipeline command still work but are deprecated. So are the /api/v1/custom_processors management endpoints and their SDK methods, such as list_custom_processors(); they print a deprecation warning.
See Run a Published Processor for versions and results.

Table Recognition → Document Conversion

The standalone Table Recognition endpoint (/api/v1/table_rec) is deprecated. Use the Document Conversion endpoint with JSON output instead.

Before (deprecated)

After (current)

OCR → Document Conversion

The standalone OCR endpoint (/api/v1/ocr) is deprecated. Use the Document Conversion endpoint instead, which includes OCR as part of its processing pipeline. The OCR endpoint runs only in the US, so it returns 403 for EU data residency (processing_location=eu or an EU-residency team).

Before (deprecated)

After (current)

Next Steps

Document Conversion

Full guide to the current conversion API

Structured Extraction

Extract structured data using JSON schemas

Changelog

See all API changes and deprecations

SDK Reference

Use the SDK for the simplest migration path