---
title: "Get Hub Variables"
method: GET
path: "/v1/hub/{hub_id}/variables"
tags: ["Hub"]
---

# Get Hub Variables

`GET /v1/hub/{hub_id}/variables`

Retrieve all variables associated with a specified hub

## Path parameters

- `hub_id` string, uuid, required

## Response `200`

Successfully retrieved variables for the hub

- object
  - `metadata` object
  - `data` object[]
    - `name` string
    - `publicId` string, uuid
    - `cells` object[]
      - `id` string
      - `value` string
      - `column` object
        - `name` string
        - `publicId` string, uuid

## Other responses

- `403` — Not authorized to access this hub's variables
- `404` — Hub not found

## Changes

- **2025-07-05** `9c58c1c1e7e8` — 1 info
  - endpoint added
- **2025-07-05** `69960ee36427` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/morta-technology/apis/morta-api-reference/changes/v1/hub/:hub_id/variables/get.md)

---

[API](https://skmtc.dev/morta-technology/apis/morta-api-reference.md) · [All operations](https://skmtc.dev/morta-technology/apis/morta-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morta-technology/morta-api-reference/revisions/9c58c1c1e7e8/schema)
