---
search:
  tags:
    - Data
    - GET
seo:
  description: >-
    Returns a page of one table of one luna, in rowid order. Each… Reference for
    the GET /_luna/tenants/{tenant}/data/{type}/{table} endpoint in the Luna
    API.
sidebar:
  label: List the rows of a table
  badge: GET
title: List the rows of a table
type: openapi-operation
---
Returns a page of one table of one luna, in `rowid` order. Each luna has its own tables, so you name the luna with `key`. An index shows its `rows` table alone.

`GET /_luna/tenants/{tenant}/data/{type}/{table}`

**Responses**

- `200` — A page of rows.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{
  "columns": [
    {
      "name": "string",
      "type": "string",
      "nullable": true
    }
  ],
  "rows": [
    {
      "rowid": 0,
      "values": {}
    }
  ],
  "count": 0,
  "cursor": 0
}
```
