---
title: "Query lock status for a document"
method: GET
path: "/{judgmentUri}/lock"
tags: ["Writing"]
---

# Query lock status for a document

`GET /{judgmentUri}/lock`

## Request

- Base URL: `https://api.caselaw.nationalarchives.gov.uk/v1`
- URL: `https://api.caselaw.nationalarchives.gov.uk/v1/{judgmentUri}/lock`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/the-national-archives/apis/case-law-privileged-api/docs/:judgmentUri/lock/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `judgmentUri` string, required

## Response `204`

Lock state included in header

---

[API](https://skmtc.dev/the-national-archives/apis/case-law-privileged-api.md) - [All operations](https://skmtc.dev/the-national-archives/apis/case-law-privileged-api/llms.txt) - [OpenAPI document](https://skmtc.dev/the-national-archives/apis/case-law-privileged-api/revisions/78e91c464b05?raw)
