---
title: "Get Archon records collection"
method: GET
path: "/repository/collection"
tags: ["Repository"]
---

# Get Archon records collection

`GET /repository/collection`

Values of {batchStartRecordId} and {batchStartMark} are case sensitive

## Query parameters

- `batchStartRecordId` string
- `direction` 'NEXT' | 'PREV'
- `includeCursor` boolean
- `batchStartMark` string
- `limit` integer

## Response `200`

OK

- AssetCollectionViewModelRepositoryIdentityViewModel — Represents a collection of assets with pagination information.
  - `Assets` RepositoryIdentityViewModel[] — Gets or sets the list of assets in the collection.
    - `ArchonReference` string — ARCHON code
    - `Id` string — Repository ID
    - `IsParent` boolean — Has records
    - `SortKey` string — Sort key
    - `Title` string — Repository name
    - `Location` string[] — Location/address of the archive
  - `HasMoreAfterLast` boolean — Gets or sets a value indicating whether there are more assets after the last item in the collection.
  - `HasMoreBeforeFirst` boolean — Gets or sets a value indicating whether there are more assets before the first item in the collection.

## Other responses

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

---

[API](https://skmtc.net/the-national-archives/apis/discovery.md) · [All operations](https://skmtc.net/the-national-archives/apis/discovery/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/the-national-archives/discovery/revisions/1e8c76e26ab1/schema)
