POST
/
api
/
v1
/
marker
Marker
curl --request POST \
  --url https://www.datalab.to/api/v1/marker \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>' \
  --form 'file_url=<string>' \
  --form max_pages=123 \
  --form 'page_range=<string>' \
  --form 'langs=<string>' \
  --form force_ocr=false \
  --form format_lines=false \
  --form paginate=false \
  --form strip_existing_ocr=false \
  --form disable_image_extraction=false \
  --form disable_ocr_math=false \
  --form use_llm=false \
  --form 'output_format=<string>' \
  --form skip_cache=false \
  --form save_checkpoint=false \
  --form 'block_correction_prompt=<string>' \
  --form 'page_schema=<string>' \
  --form 'additional_config=<string>' \
  --form file=@example-file
{
  "success": true,
  "error": "<string>",
  "request_id": "<string>",
  "request_check_url": "<string>",
  "versions": {}
}

Authorizations

X-API-Key
string
header
required

Cookies

access_token
string

Body

multipart/form-data

Response

Successful Response

The response is of type object.