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

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.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
