v1

latestOpenAPI 3.1.02026-07-26151126273.9 KB

Table Rec Result Check

Poll this endpoint to check status of Table Rec request and retrieve final results

get/api/v1/table_rec/{request_id}

Path parameters

request_idstring required

Cookies

wos-sessionstring
datalab_active_teamstring

Response

Successful Response

statusstring required

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

result_urlstring nullable

Signed URL for downloading the completed result JSON when direct result download is required.

expires_ininteger nullable

Number of seconds until result_url expires.

output_formatstring

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

jsonobject nullable

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

markdownstring nullable

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

htmlstring nullable

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

imagesobject nullable

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.

metadataobject nullable

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

successboolean nullable

Whether the conversion was successful.

errorstring nullable

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

page_countinteger nullable

The number of pages that were converted.

total_costinteger nullable

The total cost of the conversion.

cost_breakdownobject nullable

A dictionary of the cost breakdown of this request. Includes the list cost without discounts and final cost to clients after any discounts (e.g. for opting into model training).