---
title: "Get all hubs"
method: GET
path: "/datainsights/v1.1/hubs"
tags: ["Hub"]
---

# Get all hubs

`GET /datainsights/v1.1/hubs`

## Query parameters

- `offset` integer
- `limit` integer
- `sort` 'title,asc' | 'title,desc' | 'description,asc' | 'description,desc' | 'created_at,asc' | 'created_at,desc' | 'updated_at,asc' | 'updated_at,desc'
- `ids` integer[]
- `title` string
- `description` string

## Headers

- `X-PROPERTY-ID` integer, required

## Response `200`

OK

- Hubs
  - `offset` integer — The difference between start of the data and the start of the response data
  - `limit` integer — The maximum number of results in the response
  - `total` integer — The total number of records
  - `hubs` Hub[]
    - `id` integer, required — Hub Id
    - `title` string, required — Hub title
    - `description` string, nullable — Hub Description
    - `cards` Card[]
      - `id` integer, required — Card Id
      - `hub_id` integer, required — Hub id
      - `chart_id` integer, required — Chart id
    - `property_id` integer, required — Property id
    - `settings` CardPositioning[]
      - `i` string, required — A string corresponding to the component key
      - `x` number — X coordinate
      - `y` number — Y coordinate
      - `w` number — Width
      - `h` number — Height
      - `minW` number — Minimum width
      - `maxW` number — Maximum width
      - `minH` number — Minimum height
      - `maxH` number — Maximum height
      - `moved` boolean — Moved
      - `static` boolean — Static
      - `isDraggable` boolean — Is draggable
      - `isResizable` boolean — Is resizable
      - `resizeHandles` string[] — Resize handles
      - `isBounded` boolean — Is bounded
    - `created_at` string, date-time — Created at timestamp of the hub
    - `updated_at` string, date-time — Updated at timestamp of the hub
    - `created_by` User
      - `id` integer
      - `name` string
      - `email` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/cloudbeds/apis/cloudbeds-api.md) · [All operations](https://skmtc.net/cloudbeds/apis/cloudbeds-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudbeds/cloudbeds-api/revisions/2faa857793e8/schema)
