---
title: "Sample unit count."
method: GET
path: "/samples/count"
tags: ["samples"]
---

# Sample unit count.

`GET /samples/count`

## Request

- Base URL: `http://localhost:8125`
- URL: `http://localhost:8125/samples/count`
- Auth: HTTP basic

Sample unit count.

## Response `200`

Sample Summaries were retrieved successfully.

- object
  - `sampleUnitsTotal` integer

## Other responses

- `401`: Authentication information is missing or invalid.

---

[API](https://skmtc.dev/office-of-national-statistics/apis/ras-rm-sample-service.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/ras-rm-sample-service/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/ras-rm-sample-service/revisions/6236ad7256ad?raw)
