Skip to main content
POST
/
api
/
v1
/
marker
/
extraction
/
gen_schemas
Generate Extraction Schemas
curl --request POST \
  --url https://www.datalab.to/api/v1/marker/extraction/gen_schemas \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "checkpoint_id": "<string>"
}'
{
  "success": true,
  "error": "<string>",
  "request_id": "<string>",
  "request_check_url": "<string>",
  "versions": {}
}

Authorizations

X-API-Key
string
header
required

Cookies

access_token
string

Body

application/json
checkpoint_id
string
required

Response

Successful Response

request_id
string
required

The ID of the request. This ID can be used to check the status of the request.

request_check_url
string
required

The URL to check the status of the request and get results.

success
boolean
default:true

Whether the request was successful.

error
string | null

If the request was not successful, this will contain an error message.

versions

A dictionary of the versions of the libraries used in the request.