---
title: "Get latest version"
method: GET
path: "/documents/{document_id}/last_version"
tags: ["documents"]
---

# Get latest version

`GET /documents/{document_id}/last_version`

Get the latest possible version for this document, optionally with constraints on the source or name

**Permission required:** review

## Query parameters

- `name` string
- `source` string
- `is_evaluated` boolean

## Other responses

- `403` — Permission insufficient

---

[API](https://skmtc.net/contractp/apis/contract-p.md) · [All operations](https://skmtc.net/contractp/apis/contract-p/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/contractp/contract-p/versions/8ce53ebd6bd3/schema)
