@talonic/docs 0.21.55 → 0.21.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/content.js CHANGED
@@ -39344,8 +39344,8 @@ var sections65 = [
39344
39344
  seoTitle: "Get Data Product Result Rows as JSON via API \u2014 Talonic Docs",
39345
39345
  description: "Retrieve the result rows of a data product as JSON. Each row maps schema field names to extracted values and links back to its source run and document.",
39346
39346
  content: [
39347
- { type: "paragraph", text: "Retrieve the **result rows** for a data product as JSON. The endpoint reads the stored results of every run listed in the product's `run_ids` and returns one row per processed document, newest first. Each row carries the `run_id` and `document_id` it came from plus a `values` map of schema field names to extracted values, so every data point is traceable to its source." },
39348
- { type: "paragraph", text: "This is the programmatic read path for downstream integration: poll it after your runs complete, or fetch on demand when a consumer needs the current dataset. The response is a flat page \u2014 pass `limit` to bound the page size. For a complete snapshot of a large product in a single request, prefer the CSV export endpoints (`links.export_plain` and `links.export_audit` on the product), which stream the whole dataset as a file." },
39347
+ { type: "paragraph", text: "Retrieve the **result rows** for a data product as JSON. For a run-backed product the endpoint reads the stored results of every run listed in the product's `run_ids` and returns one row per processed document, newest first. For a pipeline-backed product it reads the pipeline's record set \u2014 the same rows, values and review holdback the CSV exports serve \u2014 in record order. Each row carries the `run_id` (or `pipeline_id`) and `document_id` it came from plus a `values` map of schema field names to extracted values, so every data point is traceable to its source." },
39348
+ { type: "paragraph", text: "This is the programmatic read path for downstream integration: poll it after your runs complete, or fetch on demand when a consumer needs the current dataset. The response is one page \u2014 pass `limit` to bound the page size and follow `pagination.next_cursor` while `pagination.has_more` is true. For a complete snapshot of a large product in a single request, prefer the CSV export endpoints (`links.export_plain` and `links.export_audit` on the product), which stream the whole dataset as a file." },
39349
39349
  { type: "paragraph", text: "Rows are visibility-filtered through Sources IAM: if access rules hide a document from the user who minted your API key, that document's row is omitted from the response entirely. Internal diagnostic fields \u2014 keys prefixed with `__`, such as assembly diagnostics \u2014 are never part of `values`; they are excluded from the product grid, CSV exports, and delivery payloads alike." },
39350
39350
  {
39351
39351
  type: "endpoint",
@@ -39365,7 +39365,8 @@ var sections65 = [
39365
39365
  type: "param-table",
39366
39366
  title: "Query parameters",
39367
39367
  params: [
39368
- { name: "limit", type: "integer", default: "20", description: "Maximum number of rows to return (1-100)." }
39368
+ { name: "limit", type: "integer", default: "20", description: "Maximum number of rows to return (1-100)." },
39369
+ { name: "cursor", type: "string", description: "Opaque cursor from a previous response's `pagination.next_cursor`; returns the rows after it." }
39369
39370
  ]
39370
39371
  }
39371
39372
  ]
@@ -39377,11 +39378,17 @@ var sections65 = [
39377
39378
  params: [
39378
39379
  { name: "data", type: "array", description: "Array of result row objects, newest first." },
39379
39380
  { name: "data[].id", type: "string", description: "Result row UUID." },
39380
- { name: "data[].run_id", type: "string", description: "UUID of the run that produced this row." },
39381
+ { name: "data[].run_id", type: "string", description: "UUID of the run that produced this row. `null` for a pipeline-backed product." },
39382
+ { name: "data[].pipeline_id", type: "string", description: "Pipeline-backed products only: UUID of the pipeline whose record set the row belongs to." },
39381
39383
  { name: "data[].document_id", type: "string", description: "Source document UUID." },
39382
- { name: "data[].values", type: "object", description: "Map of schema field names to extracted values." },
39383
- { name: "data[].created_at", type: "string", description: "ISO 8601 timestamp when the row was produced." },
39384
- { name: "total", type: "integer", description: "Number of rows in this response." }
39384
+ { name: "data[].document_filename", type: "string", description: "Pipeline-backed products only: filename of the source document, as in the CSV `document_name` column." },
39385
+ { name: "data[].values", type: "object", description: 'Map of schema field names to cell objects. Each cell carries `value` plus its confidence and provenance; on a pipeline-backed product a cell still held in the review queue arrives as `value: null` with `status: "pending_review"` \u2014 the held value never leaves the API, matching the empty cell in the CSV export.' },
39386
+ { name: "data[].created_at", type: "string", description: "ISO 8601 timestamp when the row was produced. `null` for a pipeline-backed product." },
39387
+ { name: "total", type: "integer", description: "Number of rows in this response." },
39388
+ { name: "pagination.total", type: "integer", description: "Total number of rows visible to your key across all pages." },
39389
+ { name: "pagination.limit", type: "integer", description: "The page size applied." },
39390
+ { name: "pagination.has_more", type: "boolean", description: "Whether rows remain after this page." },
39391
+ { name: "pagination.next_cursor", type: "string", description: "Cursor for the next page, or `null` on the last page." }
39385
39392
  ]
39386
39393
  },
39387
39394
  {
@@ -39410,10 +39417,11 @@ var sections65 = [
39410
39417
  "created_at": "2026-06-01T14:25:00.000Z"
39411
39418
  }
39412
39419
  ],
39413
- "total": 1
39420
+ "total": 1,
39421
+ "pagination": { "total": 1, "limit": 10, "has_more": false, "next_cursor": null }
39414
39422
  }`
39415
39423
  },
39416
- { type: "callout", variant: "info", text: 'This endpoint serves run-backed products. A product with an empty `run_ids` array \u2014 for example one backed by a pipeline rather than runs \u2014 returns `{ "data": [], "total": 0 }` here; read pipeline output through the pipeline results endpoints instead.' },
39424
+ { type: "callout", variant: "info", text: 'JSON and CSV agree. A pipeline-backed product (empty `run_ids`, non-null `pipeline_id`) serves the same records here as `export/plain`, with the same review holdback: a held cell is empty in the CSV and `value: null, status: "pending_review"` in JSON. An empty `data` array therefore means the product currently has no records \u2014 a run-backed product with an empty `run_ids` array, or a pipeline whose record set is empty.' },
39417
39425
  { type: "paragraph", text: "When a product assembles several runs, rows from all of them interleave in one newest-first stream, and the `run_id` on each row tells you which run produced it. Duplicate documents across runs are not merged on this surface \u2014 a document processed by two linked runs yields two rows \u2014 so deduplicate on `document_id` client-side when your consumer expects one row per document." },
39418
39426
  { type: "heading", level: 2, id: "get-data-product-results-errors", text: "Errors" },
39419
39427
  {
package/dist/seo.js CHANGED
@@ -15377,7 +15377,7 @@ var openapi_default = {
15377
15377
  "Data Products"
15378
15378
  ],
15379
15379
  summary: "Get data product results",
15380
- description: "Returns paginated results for a data product.",
15380
+ description: "Returns paginated results for a data product. A run-backed product serves the stored rows of its linked runs, newest first. A pipeline-backed product serves its pipeline's record set \u2014 the same records and values as `export/plain`, in record order \u2014 with cells still held in the review queue delivered as `value: null`, `status: pending_review`; the held value never leaves the API.\n",
15381
15381
  operationId: "getDataProductResults",
15382
15382
  security: [
15383
15383
  {
package/openapi.json CHANGED
@@ -15357,7 +15357,7 @@
15357
15357
  "Data Products"
15358
15358
  ],
15359
15359
  "summary": "Get data product results",
15360
- "description": "Returns paginated results for a data product.",
15360
+ "description": "Returns paginated results for a data product. A run-backed product serves the stored rows of its linked runs, newest first. A pipeline-backed product serves its pipeline's record set — the same records and values as `export/plain`, in record order — with cells still held in the review queue delivered as `value: null`, `status: pending_review`; the held value never leaves the API.\n",
15361
15361
  "operationId": "getDataProductResults",
15362
15362
  "security": [
15363
15363
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talonic/docs",
3
- "version": "0.21.55",
3
+ "version": "0.21.56",
4
4
  "description": "Talonic documentation components — API Reference & Platform Guide",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,