---
title: "Get all Hubs"
method: GET
path: "/v1/data-acquisition/hubs"
tags: ["Hubs"]
---

# Get all Hubs

`GET /v1/data-acquisition/hubs`

**:warning: This is a new API which is still subject to change.**

Use this endpoint to get a list of Hubs.

## Query parameters

- `include` string[]

## Response `200`

Successful response with a list of all Hubs

- HubsResponse
  - `hubs` HubDto[], required
    - `id` string, required — The Hub's id.
    - `name` string, required — The Hub's name.
    - `orgSlug` string, required — The organization slug that the Hub belongs to.
    - `description` string — The Hub's description.
    - `httpProxyHost` string — The Hub's http parent proxy host, if set.
    - `httpProxyPort` number — The Hub's http parent proxy port, if set.
    - `httpProxyUsername` string — A legacy field from when Hub's parent proxy was configured in the cloud; no longer populated.
    - `httpsProxyHost` string — The Hub's https parent proxy host, if set.
    - `httpsProxyPort` number — The Hub's https parent proxy port, if set.
    - `httpsProxyUsername` string — A legacy field from when Hub's parent proxy was configured in the cloud; no longer populated.
    - `noProxy` string — The Hub's no proxy list, if set.
    - `l7ProxyForwardPort` number, required — The Hub's L7 proxy forward port, used by Agents automatically when using this Hub.
    - `l7ProxyReverseHttpPort` number, required — The Hub's L7 proxy reverse http port, configured explicitly on Agents.
    - `l7ProxyReverseHttpsPort` number, required — The Hub's L7 proxy reverse https port, configured explicitly on Agents.
    - `l7ProxySocatPort` number, required — The Hub's L7 proxy socat port. Not used externally, but configurable to avoid port conflicts.
    - `l7ProxyReverseMqttPort` number — The Hub's L7 proxy reverse mqtt port, if set, configured explicitly on IoT Agents.
    - `l7ProxySocatMqttPort` number — The Hub's L7 proxy socat mqtt port. Not used externally, but configurable to avoid port conflicts.
    - `l7ProxyLocalnets` string, required — The Hub's L7 proxy localnets, if set.
    - `l7ProxyDnsNameservers` string — The Hub's L7 proxy dns nameservers, if set explicitly. Otherwise, defaults to the host VM's.
    - `l7ProxyWhitelist` string — The Hub's L7 proxy whitelist, if set. If not set, all endpoints are allowed.
    - `l7ProxyMaximumMemoryMb` number, required — The Hub's L7 proxy maximum memory in MB, if set.
    - `enabled` boolean, required — Whether the Hub is enabled. When disabled, Hub Connectors are disabled but the SSM and ECS Agents continue to await commands.
    - `status` HubStatusDto
      - `health` object, required — The health status of the Hub.
        - `breakdown` object[]
          - `name` 'Availability' | 'CPU' | 'Disk' | 'Memory' | 'ProxyMemory' | 'ProxyMemoryMax' | 'ProxyAvailability'
          - `status` 'HEALTHY' | 'WARNING' | 'CRITICAL'
        - `status` 'HEALTHY' | 'WARNING' | 'CRITICAL' — The overall health status of the Hub. Rolls up to the most severe status in the breakdown.
      - `network` 'Online' | 'Offline' | 'Never Seen', required — The network status of the Hub.
      - `lastSeen` string, date-time, required — The last time the Hub was seen by the platform.
      - `metrics` object[], required
        - `cpuUsedSystem` object
          - `value` number
          - `unit` 'Percent'
        - `cpuUsedUser` object
          - `value` number
          - `unit` 'Percent'
        - `diskFree` object
          - `value` number
          - `unit` 'Bytes'
        - `diskUsed` object
          - `value` number
          - `unit` 'Percent'
        - `memoryUsed` object
          - `value` number
          - `unit` 'Bytes'
        - `memoryFree` object
          - `value` number
          - `unit` 'Bytes'
        - `memoryBuffered` object
          - `value` number
          - `unit` 'Bytes'
        - `memoryCached` object
          - `value` number
          - `unit` 'Bytes'
        - `memoryAvailable` object
          - `value` number
          - `unit` 'Bytes'
        - `memoryTotal` object
          - `value` number
          - `unit` 'Bytes'
        - `memoryUsedPercentOfReservation` object
          - `value` number
          - `unit` 'Percent'
        - `memoryMax` object
          - `value` number
          - `unit` 'Bytes'
      - `proxies` object, required — The status of the Hub's built-in Agent proxies.
        - `l7` object
          - `startedAt` string, date-time
          - `status` 'RUNNING' | 'STOPPED'
        - `l7ReverseNginx` object
          - `startedAt` string, date-time
          - `status` 'RUNNING' | 'STOPPED'
        - `l7ReverseSocat` object
          - `startedAt` string, date-time
          - `status` 'RUNNING' | 'STOPPED'
        - `metrics` object[]
          - `cpuUsed` object
            - `value` number
            - `unit` 'Percent'
          - `memoryUsed` object
            - `value` number
            - `unit` 'Bytes'
          - `memoryUsedPercentOfMax` object
            - `value` number
            - `unit` 'Percent'
          - `memoryUsedPercentOfReservation` object
            - `value` number
            - `unit` 'Percent'
          - `memoryMax` object
            - `value` number
            - `unit` 'Bytes'
    - `host` HubHostDto, required
      - `ipAddress` string, required — The Hub's IP address.
      - `hostName` string, required — The Hub's host name.
      - `platformName` string, required — The Hub's operating system name.
      - `platformVersion` string, required — The Hub's operating system version.
    - `updatedAt` string, date-time, required
    - `createdAt` string, date-time, required
    - `activationExpiresAt` string, date-time, required — The time at which the Hub's activation will expire. 24 hours after creation.
    - `ssmInstanceId` string — The Hub's AWS Systems Manager instance id, if the Hub has been installed.
    - `ecsContainerInstanceArn` string — The Hub's AWS ECS container instance ARN, if the Hub has been installed.

---

[API](https://skmtc.net/tetrascience/apis/tetra-data-lake.md) · [All operations](https://skmtc.net/tetrascience/apis/tetra-data-lake/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tetrascience/tetra-data-lake/revisions/0205e2bace53/schema)
