---
type: "firecrawl-provider"
description: "The Marks & Spencer Company Archive's public digital catalogue ('M&S Heritage', msheritage.access.preservica.com, a Preservica Universal Access tenant): keyword search of the catalogue with collection, format and reference-number filters, browsing of the collection hierarchy (Browse Collections root -> folders -> items) and the metadata of a single record (title, description, date, reference number, parent folder, breadcrumb, thumbnail). Anonymous and read-only; the asset viewer on mands.preservica.com needs a per-page-load token and is not fetched."
use_when: "The Marks & Spencer Company Archive's public digital catalogue ('M&S Heritage', msheritage.access.preservica.com, a Preservica Universal Access tenant): keyword search of the catalogue with collection, format and reference-number filters, browsing of the collection hierarchy (Browse Collections root -> folders -> items) and the metadata of a single record (title, description, date, reference number, parent folder, breadcrumb, thumbnail). Anonymous and read-only; the asset viewer on mands.preservica.com needs a per-page-load token and is not fetched."
categories: "Company"
capabilities: 3
credits_per_call: 5
---
# M&S Heritage digital archive (Preservica Universal Access) on Firecrawl Alexandria

The Marks & Spencer Company Archive's public digital catalogue ('M&S Heritage', msheritage.access.preservica.com, a Preservica Universal Access tenant): keyword search of the catalogue with collection, format and reference-number filters, browsing of the collection hierarchy (Browse Collections root -> folders -> items) and the metadata of a single record (title, description, date, reference number, parent folder, breadcrumb, thumbnail). Anonymous and read-only; the asset viewer on mands.preservica.com needs a per-page-load token and is not fetched.

- Categories: Company
- Category index: [Company category](https://firecrawl.dev/alexandria/agents/categories/company)
- Provider key: `msheritage-access-preservica-com`
- Access: Firecrawl credits
- Cost: 5 credits per call

## More

- [Human guide](https://firecrawl.dev/app/alexandria/msheritage-access-preservica-com)
- [OpenAPI spec](https://firecrawl.dev/alexandria/agents/providers/msheritage-access-preservica-com/openapi.json)

## Capabilities

- [Get record](https://firecrawl.dev/alexandria/agents/providers/msheritage-access-preservica-com/archive-records/get_record): The catalogue page of one M&S Heritage record by Preservica id (IO_<uuid> item or SO_<uuid> folder) or pasted record URL: title, object type (Item or Folder), parent folder ('In Folder'), breadcrumb, description, labelled metadata entries (e.g. Date, Reference Number), thumbnail URL, the record's page URL and, for items with a viewable asset, the viewer entity reference on mands.preservica.com. The asset viewer and the asset bytes need a token the site issues per page load and are not fetched. Unknown ids answer not_found (the site's 404 page).
- [List folder](https://firecrawl.dev/alexandria/agents/providers/msheritage-access-preservica-com/archive-records/list_folder): One page of the children of a folder (structural object) in the M&S Heritage collection hierarchy, from the folder's HTML page (/uncategorized/SO_<uuid>/?pg=N; 50 children per page), or the 21 top-level collections of the Browse Collections root (/archive) when folder_id is omitted. Returns the folder's own header metadata (title, object type, parent, breadcrumb, description, metadata entries such as Date and Reference Number; null for the root) and each child's id, kind (item or folder), title, description, date, page URL and thumbnail URL.
- [Search records](https://firecrawl.dev/alexandria/agents/providers/msheritage-access-preservica-com/archive-records/search_records): Keyword search of the M&S Heritage catalogue through the site's own AJAX search (admin-ajax.php, action pres_search_paged_posts). One page of up to 50 results (items and folders) with the Preservica id, title, description, date, page URL and thumbnail URL of each hit, plus the collection and file-format facets of the result set (terms with a non-zero count only). Optional narrowing by folder (folder_id, the search runs inside that folder's hierarchy), top-level collection (collection_id, a facet term), preservation file format (format, a facet term such as pdf or jpeg) and archival reference number (reference_number, the site's Refno field filter, a loose match). Sort by relevance (default) or title. `page_count` is the number of result pages the site links to; the total hit count is not part of the JSON answer.

## 1. Choose this provider when

The Marks & Spencer Company Archive's public digital catalogue ('M&S Heritage', msheritage.access.preservica.com, a Preservica Universal Access tenant): keyword search of the catalogue with collection, format and reference-number filters, browsing of the collection hierarchy (Browse Collections root -> folders -> items) and the metadata of a single record (title, description, date, reference number, parent folder, breadcrumb, thumbnail). Anonymous and read-only; the asset viewer on mands.preservica.com needs a per-page-load token and is not fetched.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "msheritage-access-preservica-com",
  "capability": "archive-records/get_record",
  "options": {
    "record_id": "IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3"
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `record_id` (string, required): IO_<uuid> or SO_<uuid>, or a pasted page URL (/uncategorized/<id>/ or /index.php?name=<id>). Example: `<record_id>`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "msheritage-access-preservica-com",
    capability: "archive-records/get_record",
    options: {
      record_id: "IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3",
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "msheritage-access-preservica-com",
  "capability": "archive-records/get_record",
  "options": {
    "record_id": "IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3"
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "msheritage-access-preservica-com",
    "capability": "archive-records/get_record",
    "options": {
      "record_id": "IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3"
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'msheritage-access-preservica-com/archive-records/get_record' \
  --options '{"record_id":"IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3"}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "msheritage-access-preservica-com",
  "capability": "archive-records/get_record",
  "options": {
    "record_id": "IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3"
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "msheritage-access-preservica-com",
  "capability": "archive-records/get_record",
  "options": {
    "record_id": "IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3"
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "breadcrumb": [
    {
      "id": null,
      "title": "Browse Collections",
      "url": "https://msheritage.access.preservica.com/archive"
    },
    {
      "id": null,
      "title": ". . .",
      "url": null
    },
    {
      "id": "SO_006556b3-51fc-476f-90f1-071cc8645c93",
      "title": "3 - Annual Reviews",
      "url": "https://msheritage.access.preservica.com/index.php?name=SO_006556b3-51fc-476f-90f1-071cc8645c93"
    },
    {
      "id": null,
      "title": "2 - Annual Review and Summary Financial Statement 2000",
      "url": null
    }
  ],
  "description": "Digital copy available.",
  "id": "IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3",
  "kind": "item",
  "metadata": [
    {
      "label": "Date",
      "value": "2000"
    },
    {
      "label": "Reference Number",
      "value": "CR/D/3/2"
    }
  ],
  "object_type": "Item",
  "observed_at_ms": 1791616926981,
  "parent": {
    "id": "SO_006556b3-51fc-476f-90f1-071cc8645c93",
    "title": "3 - Annual Reviews",
    "url": "https://msheritage.access.preservica.com/index.php?name=SO_006556b3-51fc-476f-90f1-071cc8645c93"
  },
  "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3?fallback-thumbnail=1",
  "title": "2 - Annual Review and Summary Financial Statement 2000",
  "url": "https://msheritage.access.preservica.com/uncategorized/IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3/",
  "viewer_entity_ref": "95dc1d87-0197-4168-a58f-3f9ec11ffbe3"
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Get record

- Capability: `archive-records/get_record`
- Description: The catalogue page of one M&S Heritage record by Preservica id (IO_<uuid> item or SO_<uuid> folder) or pasted record URL: title, object type (Item or Folder), parent folder ('In Folder'), breadcrumb, description, labelled metadata entries (e.g. Date, Reference Number), thumbnail URL, the record's page URL and, for items with a viewable asset, the viewer entity reference on mands.preservica.com. The asset viewer and the asset bytes need a token the site issues per page load and are not fetched. Unknown ids answer not_found (the site's 404 page).
- Instructions: You have an id from search_records or list_folder and need the record's full header metadata, its reference number or its place in the hierarchy.
- Cost: 5 credits per call
- Capability file: [Get record](https://firecrawl.dev/alexandria/agents/providers/msheritage-access-preservica-com/archive-records/get_record)

Accepted options:
- `record_id` (string, required): IO_<uuid> or SO_<uuid>, or a pasted page URL (/uncategorized/<id>/ or /index.php?name=<id>). Example: `<record_id>`

Response schema example:
```json
{
  "breadcrumb": [
    {
      "id": null,
      "title": "Browse Collections",
      "url": "https://msheritage.access.preservica.com/archive"
    },
    {
      "id": null,
      "title": ". . .",
      "url": null
    },
    {
      "id": "SO_006556b3-51fc-476f-90f1-071cc8645c93",
      "title": "3 - Annual Reviews",
      "url": "https://msheritage.access.preservica.com/index.php?name=SO_006556b3-51fc-476f-90f1-071cc8645c93"
    },
    {
      "id": null,
      "title": "2 - Annual Review and Summary Financial Statement 2000",
      "url": null
    }
  ],
  "description": "Digital copy available.",
  "id": "IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3",
  "kind": "item",
  "metadata": [
    {
      "label": "Date",
      "value": "2000"
    },
    {
      "label": "Reference Number",
      "value": "CR/D/3/2"
    }
  ],
  "object_type": "Item",
  "observed_at_ms": 1791616926981,
  "parent": {
    "id": "SO_006556b3-51fc-476f-90f1-071cc8645c93",
    "title": "3 - Annual Reviews",
    "url": "https://msheritage.access.preservica.com/index.php?name=SO_006556b3-51fc-476f-90f1-071cc8645c93"
  },
  "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3?fallback-thumbnail=1",
  "title": "2 - Annual Review and Summary Financial Statement 2000",
  "url": "https://msheritage.access.preservica.com/uncategorized/IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3/",
  "viewer_entity_ref": "95dc1d87-0197-4168-a58f-3f9ec11ffbe3"
}
```

### List folder

- Capability: `archive-records/list_folder`
- Description: One page of the children of a folder (structural object) in the M&S Heritage collection hierarchy, from the folder's HTML page (/uncategorized/SO_<uuid>/?pg=N; 50 children per page), or the 21 top-level collections of the Browse Collections root (/archive) when folder_id is omitted. Returns the folder's own header metadata (title, object type, parent, breadcrumb, description, metadata entries such as Date and Reference Number; null for the root) and each child's id, kind (item or folder), title, description, date, page URL and thumbnail URL.
- Instructions: Enumerate the archive top-down (root -> collection -> sub-folders -> items) or list what sits inside a folder found by search_records or get_record; take child ids to get_record (items) or back to list_folder (folders).
- Cost: 5 credits per call
- Capability file: [List folder](https://firecrawl.dev/alexandria/agents/providers/msheritage-access-preservica-com/archive-records/list_folder)

Accepted options:
- `folder_id` (string): SO_<uuid> structural object id, or a pasted folder page URL (/uncategorized/SO_<uuid>/ or /index.php?name=SO_<uuid>), or 'root' for the Browse Collections root. Omit for the root. Example: `<folder_id>`
- `page` (number): 1-based page of children (50 per page). A page past the last one answers not_found. The root has a single page. Example: `1`

Response schema example:
```json
{
  "children": [
    {
      "date": null,
      "description": null,
      "id": "SO_34750ca3-d296-4a28-a4b5-a18e3eab20c2",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_34750ca3-d296-4a28-a4b5-a18e3eab20c2?fallback-thumbnail=1",
      "title": "Collection Items",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_34750ca3-d296-4a28-a4b5-a18e3eab20c2/"
    },
    {
      "date": "1894-2017",
      "description": "From the cash books of Michael Marks and Tom Spencer to the most recent Annual Report, CR Company Records contains papers and reports which document company strategies, objectives and results.",
      "id": "SO_4eb5814b-4dbb-43b7-980d-881e55906fbc",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_4eb5814b-4dbb-43b7-980d-881e55906fbc?fallback-thumbnail=1",
      "title": "Corporate Records",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_4eb5814b-4dbb-43b7-980d-881e55906fbc/"
    },
    {
      "date": "1932-2002",
      "description": "Digitised copies of M&S customer magazines",
      "id": "SO_3a4d6cb5-6693-4eb4-9266-dda9cffe9ee1",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_3a4d6cb5-6693-4eb4-9266-dda9cffe9ee1?fallback-thumbnail=1",
      "title": "Customer Magazines",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_3a4d6cb5-6693-4eb4-9266-dda9cffe9ee1/"
    },
    {
      "date": "various",
      "description": "Includes records created as DVDs for external and internal audiences as well as digitised versions of archival material held on film.",
      "id": "SO_b3d4f5a4-68e3-4995-ba1d-4f1db3efc991",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_b3d4f5a4-68e3-4995-ba1d-4f1db3efc991?fallback-thumbnail=1",
      "title": "DVDs",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_b3d4f5a4-68e3-4995-ba1d-4f1db3efc991/"
    },
    {
      "date": "1917-1999",
      "description": "This section is composed of records created during the working life of some key Marks & Spencer employees. Included are research papers, correspondence, reports, notes, minutes of meetings, extracts from books and journals, and photographs. It includes the papers of the following individuals:\nFlora Solomon\nHarry Sacher\nBrian Godbold\nRobert Colvill\nNathan Goldenberg\nNorman Laski\nMrs M Suggars\nIsmar Glasman\nMargaret Nash\nCharlie Wilkinson\nPhilip Symes\nSybil Barnes\nBob (Robert Franklin)\nCycling Sam Worton\nEric Estorick",
      "id": "SO_6250c0f8-b80d-4754-950d-b8153f36dbc1",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_6250c0f8-b80d-4754-950d-b8153f36dbc1?fallback-thumbnail=1",
      "title": "Employee Papers",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_6250c0f8-b80d-4754-950d-b8153f36dbc1/"
    },
    {
      "date": null,
      "description": null,
      "id": "SO_2354a419-9f54-4c80-8939-284b9be3b26e",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_2354a419-9f54-4c80-8939-284b9be3b26e?fallback-thumbnail=1",
      "title": "Family Papers",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_2354a419-9f54-4c80-8939-284b9be3b26e/"
    },
    {
      "date": "various",
      "description": "This series contains papers relating to the workings of the business, and contains subseries arranged by M&S department. From marketing material and staff communications to property ledgers and legal papers, use this series to explore the history of M&S from behind the scenes.",
      "id": "SO_2e33604b-4b5d-4c0b-a72c-11dc38b347d6",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_2e33604b-4b5d-4c0b-a72c-11dc38b347d6?fallback-thumbnail=1",
      "title": "Head Office",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_2e33604b-4b5d-4c0b-a72c-11dc38b347d6/"
    },
    {
      "date": null,
      "description": null,
      "id": "SO_dd75ccc4-8341-4fc7-90e2-6aaa57190b89",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_dd75ccc4-8341-4fc7-90e2-6aaa57190b89?fallback-thumbnail=1",
      "title": "P1/1",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_dd75ccc4-8341-4fc7-90e2-6aaa57190b89/"
    },
    {
      "date": null,
      "description": null,
      "id": "SO_7c5f1458-0fad-47c8-b916-748b409f9063",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_7c5f1458-0fad-47c8-b916-748b409f9063?fallback-thumbnail=1",
      "title": "P1/1",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_7c5f1458-0fad-47c8-b916-748b409f9063/"
    },
    {
      "date": null,
      "description": null,
      "id": "SO_45c77c14-d0b2-407c-bfa6-8168bb2534f3",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_45c77c14-d0b2-407c-bfa6-8168bb2534f3?fallback-thumbnail=1",
      "title": "P1/1",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_45c77c14-d0b2-407c-bfa6-8168bb2534f3/"
    },
    {
      "date": null,
      "description": null,
      "id": "SO_80bb7df7-f711-4437-80f6-90b4b983ed7e",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_80bb7df7-f711-4437-80f6-90b4b983ed7e?fallback-thumbnail=1",
      "title": "P1/1",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_80bb7df7-f711-4437-80f6-90b4b983ed7e/"
    },
    {
      "date": null,
      "description": null,
      "id": "SO_3e0e1ebf-a19d-4f71-98b3-db187af9d5c2",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_3e0e1ebf-a19d-4f71-98b3-db187af9d5c2?fallback-thumbnail=1",
      "title": "P1/1",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_3e0e1ebf-a19d-4f71-98b3-db187af9d5c2/"
    },
    {
      "date": null,
      "description": null,
      "id": "SO_a527be26-7f0e-40b4-b505-3a90612689bf",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_a527be26-7f0e-40b4-b505-3a90612689bf?fallback-thumbnail=1",
      "title": "Photographs of Marks & Spencer stores and Head Office buildings",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_a527be26-7f0e-40b4-b505-3a90612689bf/"
    },
    {
      "date": "1930s-present",
      "description": "Print and pattern swatches from the garment collection",
      "id": "SO_89bc9fa4-e86f-4327-b0c0-efc0480f5877",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_89bc9fa4-e86f-4327-b0c0-efc0480f5877?fallback-thumbnail=1",
      "title": "Prints and Patterns",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_89bc9fa4-e86f-4327-b0c0-efc0480f5877/"
    },
    {
      "date": null,
      "description": null,
      "id": "SO_87e0db11-9e6b-451c-927b-5442659b6b1c",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_87e0db11-9e6b-451c-927b-5442659b6b1c?fallback-thumbnail=1",
      "title": "Product Catalogues",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_87e0db11-9e6b-451c-927b-5442659b6b1c/"
    },
    {
      "date": "1880s-present",
      "description": "Images of M&S products and packaging, organised by subject. Includes photos of products held in the archive collection as well as scans from magazines and marketing material.",
      "id": "SO_87286ff4-43d6-467d-8294-afb71b7774bc",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_87286ff4-43d6-467d-8294-afb71b7774bc?fallback-thumbnail=1",
      "title": "Products and Packaging Images",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_87286ff4-43d6-467d-8294-afb71b7774bc/"
    },
    {
      "date": "1927-present",
      "description": "Magazines and Bulletins produced for M&S colleagues",
      "id": "SO_82e5314d-48d7-4fb9-bbf4-cf0878a6fc35",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_82e5314d-48d7-4fb9-bbf4-cf0878a6fc35?fallback-thumbnail=1",
      "title": "Staff Magazines",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_82e5314d-48d7-4fb9-bbf4-cf0878a6fc35/"
    },
    {
      "date": "see individual images for dates",
      "description": "Archive photographs of M&S stores",
      "id": "SO_42d905a3-57dc-40b2-8817-cc29f0a5a9ad",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_42d905a3-57dc-40b2-8817-cc29f0a5a9ad?fallback-thumbnail=1",
      "title": "Store Photographs",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_42d905a3-57dc-40b2-8817-cc29f0a5a9ad/"
    },
    {
      "date": "1880s-present",
      "description": "Image-led timelines created by the Archive Team",
      "id": "SO_b19f4f22-235c-4a0f-8cfa-3210fc1a9dc1",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_b19f4f22-235c-4a0f-8cfa-3210fc1a9dc1?fallback-thumbnail=1",
      "title": "Timelines",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_b19f4f22-235c-4a0f-8cfa-3210fc1a9dc1/"
    },
    {
      "date": "various",
      "description": "Digitised VHS videos",
      "id": "SO_3244a6be-5942-4c6d-b235-8c631cdfaa8c",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_3244a6be-5942-4c6d-b235-8c631cdfaa8c?fallback-thumbnail=1",
      "title": "VHS",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_3244a6be-5942-4c6d-b235-8c631cdfaa8c/"
    },
    {
      "date": "1960s-1970s",
      "description": "Digitised cinema and TV adverts for food, clothing and store developments.",
      "id": "SO_46758fe3-76dc-4d56-b6a2-4b6c1b51182a",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_46758fe3-76dc-4d56-b6a2-4b6c1b51182a?fallback-thumbnail=1",
      "title": "Vintage Cinema and TV Adverts",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_46758fe3-76dc-4d56-b6a2-4b6c1b51182a/"
    }
  ],
  "count": 21,
  "folder": null,
  "observed_at_ms": 1791616922082,
  "page": 1,
  "page_count": 1
}
```

### Search records

- Capability: `archive-records/search_records`
- Description: Keyword search of the M&S Heritage catalogue through the site's own AJAX search (admin-ajax.php, action pres_search_paged_posts). One page of up to 50 results (items and folders) with the Preservica id, title, description, date, page URL and thumbnail URL of each hit, plus the collection and file-format facets of the result set (terms with a non-zero count only). Optional narrowing by folder (folder_id, the search runs inside that folder's hierarchy), top-level collection (collection_id, a facet term), preservation file format (format, a facet term such as pdf or jpeg) and archival reference number (reference_number, the site's Refno field filter, a loose match). Sort by relevance (default) or title. `page_count` is the number of result pages the site links to; the total hit count is not part of the JSON answer.
- Instructions: Find archive records (magazines, photographs, reports, adverts, catalogues) by keyword, or list everything of one file format or reference number; take the returned `id` to get_record or, for folders, to list_folder.
- Cost: 5 credits per call
- Capability file: [Search records](https://firecrawl.dev/alexandria/agents/providers/msheritage-access-preservica-com/archive-records/search_records)

Accepted options:
- `collection_id` (string): Restrict to one top-level collection: a term of the `xip.top_level_so` facet (a uuid, with or without the SO_ prefix), e.g. 82e5314d-48d7-4fb9-bbf4-cf0878a6fc35 for Staff Magazines. Example: `xip.top_level_so`
- `folder_id` (string): Scope the search to one folder's hierarchy: an SO_<uuid> structural object id (from list_folder or a result item of kind folder), or a pasted folder page URL. Example: `<folder_id>`
- `format` (string): Restrict to one preservation file format: a term of the `xip.format_group_r_Preservation` facet, e.g. pdf, jpeg, mpeg-video. Example: `xip.format_group_r_Preservation`
- `page` (number): 1-based result page (50 hits per page). A page past the last one answers not_found. Example: `1`
- `query` (string): Keyword(s), as typed into the site's search box. May be empty when a filter (collection_id, format, reference_number or folder_id) is given. Example: `<query>`
- `reference_number` (string): Archival reference number (Refno) filter, e.g. CR/D/3/2 or HO/3/2/2/2. The site matches loosely (parent and sibling references can appear); compare `metadata` Reference Number from get_record when exactness matters. Example: `<reference_number>`
- `sort` (string): Result order: the site's relevance ranking, or title ascending / descending. Example: `relevance`

Response schema example:
```json
{
  "count": 6,
  "facets": [
    {
      "name": "xip.top_level_so",
      "terms": [
        {
          "count": 6,
          "label": "CR - Corporate Records",
          "term": "4eb5814b-4dbb-43b7-980d-881e55906fbc"
        }
      ]
    },
    {
      "name": "xip.format_group_r_Preservation",
      "terms": [
        {
          "count": 5,
          "label": "pdf",
          "term": "pdf"
        }
      ]
    }
  ],
  "folder_id": "SO_006556b3-51fc-476f-90f1-071cc8645c93",
  "items": [
    {
      "date": "2000",
      "description": "Digital copy available.",
      "id": "IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3",
      "kind": "item",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3?fallback-thumbnail=1",
      "title": "Annual Review and Summary Financial Statement 2000",
      "url": "https://msheritage.access.preservica.com/uncategorized/IO_95dc1d87-0197-4168-a58f-3f9ec11ffbe3/"
    },
    {
      "date": "1999",
      "description": "Digital copy available",
      "id": "IO_fd6cf930-f3ee-4005-b59b-bed63e55eae7",
      "kind": "item",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/IO_fd6cf930-f3ee-4005-b59b-bed63e55eae7?fallback-thumbnail=1",
      "title": "Annual Review and Summary Financial Statement 1999",
      "url": "https://msheritage.access.preservica.com/uncategorized/IO_fd6cf930-f3ee-4005-b59b-bed63e55eae7/"
    },
    {
      "date": "2002",
      "description": "Digital copy available.",
      "id": "IO_e0575c16-5c66-4e59-ac99-f5d5c7d25828",
      "kind": "item",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/IO_e0575c16-5c66-4e59-ac99-f5d5c7d25828?fallback-thumbnail=1",
      "title": "Annual Review and Summary Financial Statements 2002 \"Things are Looking Up!\"",
      "url": "https://msheritage.access.preservica.com/uncategorized/IO_e0575c16-5c66-4e59-ac99-f5d5c7d25828/"
    },
    {
      "date": "2003",
      "description": "Digital copy available",
      "id": "IO_a3209a68-0a0d-4c62-adc3-669b4ef721b8",
      "kind": "item",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/IO_a3209a68-0a0d-4c62-adc3-669b4ef721b8?fallback-thumbnail=1",
      "title": "Annual Review and Summary Financial Statement 2003",
      "url": "https://msheritage.access.preservica.com/uncategorized/IO_a3209a68-0a0d-4c62-adc3-669b4ef721b8/"
    },
    {
      "date": "2004",
      "description": "Digital copy available.",
      "id": "IO_d3778b55-f7e1-4904-9491-a5c16179d300",
      "kind": "item",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/IO_d3778b55-f7e1-4904-9491-a5c16179d300?fallback-thumbnail=1",
      "title": "Annual Review and Summary Financial Statement 2004",
      "url": "https://msheritage.access.preservica.com/uncategorized/IO_d3778b55-f7e1-4904-9491-a5c16179d300/"
    },
    {
      "date": "1999-2013",
      "description": "Annual Reviews and Summary Financial Statements, some of which contain Chairmen's and Chief Executive's statements.",
      "id": "SO_006556b3-51fc-476f-90f1-071cc8645c93",
      "kind": "folder",
      "thumbnail_url": "https://msheritage.access.preservica.com/download/thumbnail/SO_006556b3-51fc-476f-90f1-071cc8645c93?fallback-thumbnail=1",
      "title": "Annual Reviews",
      "url": "https://msheritage.access.preservica.com/uncategorized/SO_006556b3-51fc-476f-90f1-071cc8645c93/"
    }
  ],
  "observed_at_ms": 1791616910846,
  "page": 1,
  "page_count": 1,
  "query": "annual",
  "sort": "relevance"
}
```
