---
search:
  tags:
    - Data
    - GET
seo:
  description: >-
    Returns a page of the lunas of one type, by their keys. With search, the…
    Reference for the GET /_luna/tenants/{tenant}/lunas/{type} endpoint in the
    Luna API.
sidebar:
  label: List the lunas of a type
  badge: GET
title: List the lunas of a type
type: openapi-operation
---
Returns a page of the lunas of one type, by their keys. With `search`, the page holds only the lunas whose key contains the text in any field. A search reads for a few seconds at most, so a page can come back short with a `cursor` to carry on from.

`GET /_luna/tenants/{tenant}/lunas/{type}`

**Responses**

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

Response example, 200:

```json
{
  "keys": [
    {}
  ],
  "cursor": {}
}
```
