---
title: "Get list of non-geography base variables for given dataset"
method: GET
path: "/population-types/{population-type}/dimensions"
---

# Get list of non-geography base variables for given dataset

`GET /population-types/{population-type}/dimensions`

## Request

- Base URL: `/v1` (relative, and the document’s source URL is not known)
- URL: `/v1/population-types/{population-type}/dimensions`
- Auth: none declared

## Path parameters

- `population-type` string, required

## Response `200`

A json list containing non-geography base variables for a dataset

- GetDimensionResponse: A list of dimensions
  - `count` integer: The number of dimensions returned
  - `items` Dimension[]
    - `dimension` object
      - `id` string
      - `label` string
      - `total_count` integer
  - `limit` integer: The number of dimensions requested
  - `offset` integer: The first row of dimensions to retrieve, starting at 0. Use this parameter as a pagination mechanism along with the limit parameter
  - `total_count` integer: The total number of dimensions

## Other responses

- `401`: The token provided is unauthorised to carry out this operation
- `404`: Dataset not found
- `500`: Failed to process the request due to an internal error
- `502`: Failed to process the request due to an error in a downstream server

---

[API](https://skmtc.dev/office-of-national-statistics/apis/population-types-api.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/population-types-api/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/population-types-api/revisions/f50432209eff?raw)
