---
title: "Get archive details by archive record ID"
method: GET
path: "/repository/v1/details/{id}"
tags: ["Repository"]
---

# Get archive details by archive record ID

`GET /repository/v1/details/{id}`

## Request

- Base URL: `https://discovery.nationalarchives.gov.uk/API`
- URL: `https://discovery.nationalarchives.gov.uk/API/repository/v1/details/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/the-national-archives/apis/discovery/docs/repository/v1/details/: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

- RepositoryViewModel: Represents a repository, including its identification, contact details, access information, registry records, network names, repository type, catalogue URL, accessions, and associated NRA data.
  - `Id` string: Gets or sets the unique identifier for the repository.
  - `ArchonReference` string: Gets or sets the Archon reference for the repository.
  - `Title` string: Gets or sets the title of the repository.
  - `SortKey` string: Gets or sets the sort key for ordering repositories.
  - `ContactDetails` ContactDetailsViewModel: Represents the contact details for a repository, including address, email, telephone, and related information.
    - `AddressCountry` string: Gets or sets the country of the address.
    - `AddressLine1` string: Gets or sets the first line of the address.
    - `AddressTown` string: Gets or sets the town or city of the address.
    - `CorrespondenceAddress` string: Gets or sets the correspondence address.
    - `Email` string: Gets or sets the email address.
    - `Fax` string: Gets or sets the fax number.
    - `MapUrl` string: Gets or sets the URL for the map location.
    - `PostCode` string: Gets or sets the postal code.
    - `Telephone` string: Gets or sets the telephone number.
    - `Url` string: Gets or sets the website URL.
  - `AccessInformation` AccessInformationViewModel: Represents access information for a repository, including appointment requirements, comments, disabled access, fees, holidays, identification requirements, introduction, opening hours, research services, and ticket information.
    - `Appointment` string: Gets or sets information about whether an appointment is required for access.
    - `Carn` string: Gets or sets information about the CARN (County Archive Research Network) ticket or scheme.
    - `Comments` string: Gets or sets additional comments regarding access.
    - `DisabledAccess` string: Gets or sets information about disabled access.
    - `FeeText` string: Gets or sets information about any fees required for access.
    - `Holidays` string: Gets or sets information about holidays or closures.
    - `IdRequired` string: Gets or sets information about identification required for access.
    - `Introduction` string: Gets or sets the introduction or overview of access arrangements.
    - `OpeningHours` string: Gets or sets the opening hours for the repository.
    - `ResearchService` string: Gets or sets information about research services available.
    - `TicketText` string: Gets or sets information about ticket requirements for access.
  - `RegistryRecords` RegistryRecordViewModel[]: Gets or sets the list of registry records associated with the repository.
    - `NRAID` integer: Gets or sets the NRA (National Register of Archives) ID associated with the registry record.
    - `RecordTitle` string: Gets or sets the title of the registry record.
    - `ROCollectionRef` string: Gets or sets the collection reference for the record office.
    - `OtherReference` string: Gets or sets any other reference associated with the registry record.
    - `ISADGReference` string: Gets or sets the ISAD(G) reference for the registry record.
    - `SortWord` string: Gets or sets the sort word used for ordering the registry record.
    - `ROAccessionNo` string: Gets or sets the accession number for the record office.
    - `NRADetails` string: Gets or sets the details from the National Register of Archives (NRA).
    - `RecordType` 'Catalogue' | 'ScannedList': Gets or sets the type of the registry record.
    - `RegistryLinks` string[]: Gets or sets the list of registry links associated with the record.
  - `NetworkNames` NetworkRecordViewModel[]: Gets or sets the list of network names associated with the repository.
    - `NetworkName` string: Gets or sets the name of the network.
    - `NetworkURL` string: Gets or sets the URL of the network.
  - `RepositoryType` string: Gets or sets the type of the repository.
  - `CatalogueUrl` string: Gets or sets the catalogue URL for the repository.
  - `Accessions` AccessionViewModel[]: Gets or sets the list of accessions for the repository.
    - `Year` string: Gets or sets the year of the accession.
    - `Url` string: Gets or sets the URL associated with the accession.
  - `People` NraDataViewModel[]: Gets or sets the list of people associated with the repository.
    - `Id` string
    - `Name` string
    - `Description` string
    - `SortPhrase` string
  - `Businesses` NraDataViewModel[]: Gets or sets the list of businesses associated with the repository.
    - `Id` string
    - `Name` string
    - `Description` string
    - `SortPhrase` string
  - `Organisations` NraDataViewModel[]: Gets or sets the list of organisations associated with the repository.
    - `Id` string
    - `Name` string
    - `Description` string
    - `SortPhrase` string
  - `Families` NraDataViewModel[]: Gets or sets the list of families associated with the repository.
    - `Id` string
    - `Name` string
    - `Description` string
    - `SortPhrase` string
  - `Other` NraDataViewModel[]: Gets or sets the list of other entities associated with the repository.
    - `Id` string
    - `Name` string
    - `Description` string
    - `SortPhrase` string
  - `IsParent` boolean: Gets or sets a value indicating whether the repository is a parent repository.

## Other responses

- `204`: No content (Record not found)
- `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)
