Skip to main content
Our cloud-hosted API documentation can be found here. With caveats and exceptions detailed below, the container image shares the same API.

Supported endpoints

The container currently supports:
  • /api/v1/convert (and the legacy alias /api/v1/marker) — document conversion to markdown, HTML, JSON, or chunks. Uses both the Marker and Chandra models.
  • /api/v1/ocr documented here.
  • /api/v1/extract — structured extraction via JSON schema. Supports fast and turbo extraction modes. Requires the Chandra model with the Lift model enabled; balanced mode is not available on-prem.
  • /api/v1/usage documented here — provides usage analytics and performance metrics for your on-prem deployment.

Chandra-specific parameters

The following parameters are available on /api/v1/convert when running a Chandra-mode container (v1.5.0+): Example — strip page headers and footers from output:
exclude_block_types is available on Chandra-mode containers (v1.5.0+) only. Marker-mode containers do not support this parameter.

Authentication

API authentication is not supported in the container. We assume customers will be running our image on their own infrastructure in private networks. You may send the X-API-Key header detailed here, but it will be ignored and any value works.

PDFs and images are supported, document conversion not yet supported

Datalab’s API supports many file types. The container currently supports PDFs and image file types. Other file types are not yet supported, but will be supported in an upcoming release.

Feature Parity

On-premises containers do not require API key authentication. Implement access control at the network or reverse proxy level.

Next Steps

Usage Analytics

Monitor request volumes, performance metrics, and system status.

Running the Container

Get the on-prem container up and running in minutes.

Cloud API Reference

Full REST API reference that the on-prem container mirrors.

On-Prem Overview

Compare open-source and paid on-prem options.