---
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

---

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