---
title: "Get a document version"
method: GET
path: "/api/projects/{projectId}/documents/{documentId}/versions/{versionId}"
tags: ["Document"]
---

# Get a document version

`GET /api/projects/{projectId}/documents/{documentId}/versions/{versionId}`

Retrieve a specific version of a document including its content.

## Path parameters

- `documentId` string, uuid, required
- `projectId` string, uuid, required
- `versionId` string, uuid, required

## Response `200`

Document version with content

- object — Document version with content
  - `id` string, uuid, required — Version unique identifier
  - `name` string, nullable — Version name
  - `parentId` string, uuid, nullable — Parent version ID for sub-versions
  - `status` string — Version status (draft or completed)
  - `content` unknown
  - `documentId` string, uuid — Associated document ID
  - `createdBy` object — User who created the version
    - `id` string, uuid, required — User unique identifier
    - `email` string, email — User email address
    - `firstName` string, nullable — User first name
    - `lastName` string, nullable — User last name
  - `createdAt` string — Version creation timestamp
  - `versions` unknown[] — Sub-versions (recursive structure)
    - unknown
  - `releases` object[] — Associated releases
    - `id` string, uuid, required — Release ID
    - `version` string — Release version string

---

[API](https://skmtc.dev/gorules/apis/gorules-agent-api.md) · [All operations](https://skmtc.dev/gorules/apis/gorules-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gorules/gorules-agent-api/revisions/52c0773fcd80/schema)
