Skip to main content
GET
/
api
/
v1
/
table_rec
/
{request_id}
Table Rec Result Check
curl --request GET \
  --url https://www.datalab.to/api/v1/table_rec/{request_id} \
  --header 'X-API-Key: <api-key>'
{
  "status": "<string>",
  "output_format": "<string>",
  "json": {},
  "markdown": "<string>",
  "html": "<string>",
  "images": {},
  "metadata": {},
  "success": true,
  "error": "<string>",
  "page_count": 123,
  "total_cost": 123,
  "versions": {}
}

Authorizations

X-API-Key
string
header
required

Path Parameters

request_id
string
required

Cookies

access_token
string

Response

Successful Response

status
string
required

The status of the request. Should be 'complete' when the request is done.

output_format
string

The format of the output. 'markdown' or 'json'.

json
object | null

The JSON representation of the PDF if the output format is 'json'.

markdown
string | null

The markdown representation of the PDF if the output format is 'markdown'.

html
string | null

The HTML representation of the PDF if the output format is 'html'.

images
object | null

A dictionary of the images in the PDF, where the key is the filename for the image, and the value is the base64 encoded image. Images should be stored in the same directory as the PDF.

metadata
object | null

A dictionary of metadata about the PDF and the conversion process.

success
boolean | null

Whether the conversion was successful.

error
string | null

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

page_count
integer | null

The number of pages that were converted.

total_cost
integer | null

The total cost of the conversion.

versions

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