---
title: "Create Document Result Check"
method: GET
path: "/api/v1/create-document/{request_id}"
---

# Create Document Result Check

`GET /api/v1/create-document/{request_id}`

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

## Path parameters

- `request_id` string, required

## Cookies

- `wos-session` string
- `datalab_active_team` string

## Response `200`

Successful Response

- CreateDocumentFinalResponse — Response model for create document endpoint.
  - `status` string, required — The status of the request. Should be 'complete' when the request is done.
  - `result_url` string, nullable — Signed URL for downloading the completed result JSON when direct result download is required.
  - `expires_in` integer, nullable — Number of seconds until result_url expires.
  - `success` boolean, nullable — Whether the document creation was successful.
  - `error` string, nullable — Error message if document creation failed.
  - `output_format` string, nullable — Output format: 'docx'.
  - `output_base64` string, nullable — Base64-encoded document (DOCX).
  - `runtime` number, nullable — Processing time in seconds.
  - `page_count` integer, nullable — Number of pages in the document.
  - `cost_breakdown` object, nullable — A dictionary of the cost breakdown of this request.
  - `versions` union — A dictionary of the versions of the libraries used in the request.
    - object
    - string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/datalab/apis/datalab-api.md) · [All operations](https://skmtc.net/datalab/apis/datalab-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datalab/datalab-api/versions/aa9f8ee18efb/schema)
