---
title: "Get context of the record"
method: GET
path: "/records/context/{id}"
tags: ["Records"]
---

# Get context of the record

`GET /records/context/{id}`

## Request

- Base URL: `https://discovery.nationalarchives.gov.uk/API`
- URL: `https://discovery.nationalarchives.gov.uk/API/records/context/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/the-national-archives/apis/discovery/docs/records/context/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Value of {id} is case sensitive

## Path parameters

- `id` string, required

## Response `200`

OK

- InformationAssetIdentityViewModel[]
  - `AccessConditions` string: Access Conditions
  - `CatalogueId` integer: Catalogue Id
  - `CitableReference` string: Citable Reference
  - `ClosureCode` string: Closure Code
  - `ClosureStatus` string: Closure Status
  - `ClosureType` string: Closure Type
  - `CoveringDates` string: Covering Dates
  - `CoveringFromDate` integer: Covering From Date
  - `CoveringToDate` integer: Covering To Date
  - `ScopeContent` ScopeContentViewModel: Represents the scope content details of an information asset, including place names, description, ephemera, and schema.
    - `PlaceNames` string[]: Gets or sets the list of place names associated with the information asset.
    - `Description` string: Gets or sets the description of the information asset.
    - `Ephemera` string: Gets or sets the ephemera information related to the information asset.
    - `Schema` string: Gets or sets the schema information for the information asset.
  - `Digitised` boolean: Digitised
  - `HeldBy` XReferenceViewModel[]: Repositories
    - `XReferenceId` string: ID of referenced resource
    - `XReferenceCode` string: Resource code
    - `XReferenceName` string: Resource name
    - `XReferenceType` string: Resource type
    - `XReferenceURL` string: Resource URL
    - `XReferenceDescription` string: Resource description
    - `XReferenceSortWord` string: Resource sort word
  - `Id` string: Record ID
  - `IsParent` boolean: Is Parent
  - `CatalogueLevel` integer: Catalogue level
  - `ParentId` string: Parent Id
  - `RecordOpeningDate` string: Record Opening Date
  - `ReferencePart` string: Reference Part
  - `ReferenceParentId` string: Reference Parent Id
  - `SortKey` string: Sort Key
  - `Source` string: Source
  - `Title` string: Title

## Other responses

- `400`: Bad request
- `404`: Not found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/the-national-archives/apis/discovery.md) - [All operations](https://skmtc.dev/the-national-archives/apis/discovery/llms.txt) - [OpenAPI document](https://skmtc.dev/the-national-archives/apis/discovery/revisions/1e8c76e26ab1?raw)
