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

# Get rows by id

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

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/reference-tables/tables/{id}/rows`
- 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`

Get reference table rows by their primary key values.

## Path parameters

- `id` string, required

## Query parameters

- `row_id` string[], required

## Response `200`

Some or all requested rows were found.

- TableRowResourceArray: List of rows from a reference table query.
  - `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.

## Other responses

- `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)
