---
title: "One data product with its columns and reference table"
method: GET
path: "/v1/doc-gen/products/{id}"
tags: ["Document Generation"]
---

# One data product with its columns and reference table

`GET /v1/doc-gen/products/{id}`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/doc-gen/products/{id}`
- Auth: HTTP bearer

`recordCount` counts the rows the key's minting user may read under Sources IAM. `reference` describes the reference table the product's Spec binds to its rows and how a row finds its reference row; `null` when the Spec binds none.

## Path parameters

- `id` string, uuid, required

## Response `200`

The data product.

- DocGenProduct
  - `id` string, uuid
  - `name` string
  - `recordCount` integer
  - `columns` DocGenColumn[]
    - `field` string
    - `label` string
  - `previewColumns` string[]: Field names of the first text columns.
  - `href` string, nullable: The product's path in the web app.
  - `reference` object, nullable: The reference table the product's Spec binds to its rows.
    - `id` string, uuid
    - `name` string
    - `columns` DocGenColumn[]
      - `field` string
      - `label` string
    - `matchKey` object[]
      - `fieldKey` string
      - `refColumn` string

## Other responses

- `400`: The request is invalid.
- `404`: The requested resource was not found.

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/doc-gen/products/:id/get.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
