---
title: "List rows"
method: GET
path: "/api/v2/reference-tables/tables/{id}/rows/list"
tags: ["Reference Tables"]
---

# List rows

`GET /api/v2/reference-tables/tables/{id}/rows/list`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/reference-tables/tables/{id}/rows/list`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token`

List all rows in a reference table using cursor-based pagination. Pass the `page[continuation_token]` from the previous response to fetch the next page on the same consistent snapshot. Returns 400 for tables with more than 10,000,000 rows.

## Path parameters

- `id` string, required

## Query parameters

- `page[limit]` integer
- `page[continuation_token]` string

## Response `200`

OK

- ListRowsResponse: Paginated list of reference table rows.
  - `data` TableRowResourceData[], required: The rows.
    - `attributes` TableRowResourceDataAttributes: Column values for this row in the reference table.
      - `values` object: Key-value pairs representing the row data, where keys are field names from the schema.
    - `id` string: Row identifier, corresponding to the primary key value.
    - `type` 'row', required: Row resource type.
  - `links` ListRowsResponseLinks, required: Pagination links for the list rows response.
    - `first` string, required: Link to the first page of results.
    - `next` string: Link to the next page of results. Only present when more rows are available.
    - `self` string, required: Link to the current page of results.
  - `meta` ListRowsResponseMeta: Contains pagination details, including the continuation token for fetching additional rows.
    - `page` ListRowsResponseMetaPage: Contains the continuation token for navigating to the next page of rows.
      - `next_continuation_token` string: Opaque token to pass as the `page[continuation_token]` query parameter to fetch the next page of results. Only present when more rows are available.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
