---
title: "Gets the document's metadata"
method: GET
path: "/{judgmentUri}/metadata"
tags: ["Reading"]
---

# Gets the document's metadata

`GET /{judgmentUri}/metadata`

## Request

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

Unless the client has `read_unpublished_documents` permission, then only metadata for published documents are accessible.

## Path parameters

- `judgmentUri` string, required

## Response `200`

OK

---

[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)
