---
title: "Get rows from draft table"
method: GET
path: "/cms/hubdb/2026-03/tables/{tableIdOrName}/rows/draft"
tags: ["Tables"]
---

# Get rows from draft table

`GET /cms/hubdb/2026-03/tables/{tableIdOrName}/rows/draft`

Returns rows in the draft version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters `column1__gt=5&sort=-column1`, API returns the rows with values for column `column1` greater than 5 and in the descending order of `column1` values. Refer to the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#filtering-and-sorting-table-rows) for detailed filtering and sorting options.

## Path parameters

- `tableIdOrName` string, required

## Query parameters

- `after` string
- `archived` boolean
- `limit` integer
- `offset` integer
- `properties` string[]
- `sort` string[]

## Response `200`

successful operation

- union
  - CmsHubdbRandomAccessCollectionResponseWithTotalHubDbTableRowV3
    - `paging` CmsHubdbBoundedPaging
      - `next` CmsHubdbBoundedNextPage
        - `link` string — A URL that can be used to retrieve the next set of results.
        - `offset` integer, required — The offset value indicating the starting point for the next set of results.
    - `results` CmsHubdbHubDbTableRowV3Wrapper[], required
    - `total` integer, required — The total number of rows available in the collection.
    - `type` 'RANDOM_ACCESS', required — Indicates the type of response, which is 'RANDOM_ACCESS' by default.
  - CmsHubdbStreamingCollectionResponseWithTotalHubDbTableRowV3
    - `paging` Paging
      - `next` NextPage — Specifies the paging information needed to retrieve the next set of results in a paginated API response
        - `after` string, required — A paging cursor token for retrieving subsequent pages.
        - `link` string — A URL that can be used to retrieve the next page results.
      - `prev` PreviousPage — specifies the paging information needed to retrieve the previous set of results in a paginated API response
        - `before` string, required — A string token used to identify the position before the current page in the pagination sequence.
        - `link` string — A URL string that provides a direct link to the previous page of results.
    - `results` CmsHubdbHubDbTableRowV3Wrapper[], required
    - `total` integer, required — The total number of rows available in the collection.
    - `type` 'STREAMING', required — Indicates the type of response, which is 'STREAMING' by default.

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/hubspot/apis/hubspot-api-specification.md) · [All operations](https://skmtc.net/hubspot/apis/hubspot-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/hubspot-api-specification/versions/f9c7181056c5/schema)
