v1

latestOpenAPI 3.1.02026-07-26151126273.9 KB

Create Document Result Check

Poll this endpoint to check status of a Create Document request and retrieve the generated document

get/api/v1/create-document/{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.

successboolean nullable

Whether the document creation was successful.

errorstring nullable

Error message if document creation failed.

output_formatstring nullable

Output format: 'docx'.

output_base64string nullable

Base64-encoded document (DOCX).

runtimenumber nullable

Processing time in seconds.

page_countinteger nullable

Number of pages in the document.

cost_breakdownobject nullable

A dictionary of the cost breakdown of this request.