@talonic/docs 0.21.54 → 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 +17 -9
- package/dist/seo.js +52 -1
- package/dist/tailwind-preset.d.cts +45 -0
- package/dist/tailwind-preset.d.ts +45 -0
- package/openapi.json +52 -1
- package/package.json +1 -1
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.
|
|
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
|
|
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[].
|
|
39383
|
-
{ name: "data[].
|
|
39384
|
-
{ name: "
|
|
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: '
|
|
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
|
@@ -506,6 +506,31 @@ var openapi_default = {
|
|
|
506
506
|
},
|
|
507
507
|
description: "Filter by document status."
|
|
508
508
|
},
|
|
509
|
+
{
|
|
510
|
+
name: "text_degraded",
|
|
511
|
+
in: "query",
|
|
512
|
+
schema: {
|
|
513
|
+
type: "string",
|
|
514
|
+
enum: [
|
|
515
|
+
"true",
|
|
516
|
+
"false"
|
|
517
|
+
]
|
|
518
|
+
},
|
|
519
|
+
description: "Only documents whose markdown is (true) or is not (false) flagged as a non-verbatim transcription."
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
name: "text_source",
|
|
523
|
+
in: "query",
|
|
524
|
+
schema: {
|
|
525
|
+
type: "string",
|
|
526
|
+
enum: [
|
|
527
|
+
"ocr",
|
|
528
|
+
"local_parser",
|
|
529
|
+
"vision_fallback"
|
|
530
|
+
]
|
|
531
|
+
},
|
|
532
|
+
description: "Filter by the converter that produced the markdown."
|
|
533
|
+
},
|
|
509
534
|
{
|
|
510
535
|
name: "after",
|
|
511
536
|
in: "query",
|
|
@@ -15352,7 +15377,7 @@ var openapi_default = {
|
|
|
15352
15377
|
"Data Products"
|
|
15353
15378
|
],
|
|
15354
15379
|
summary: "Get data product results",
|
|
15355
|
-
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",
|
|
15356
15381
|
operationId: "getDataProductResults",
|
|
15357
15382
|
security: [
|
|
15358
15383
|
{
|
|
@@ -33235,6 +33260,32 @@ var openapi_default = {
|
|
|
33235
33260
|
],
|
|
33236
33261
|
example: "en"
|
|
33237
33262
|
},
|
|
33263
|
+
text_source: {
|
|
33264
|
+
type: "string",
|
|
33265
|
+
enum: [
|
|
33266
|
+
"ocr",
|
|
33267
|
+
"local_parser",
|
|
33268
|
+
"vision_fallback"
|
|
33269
|
+
],
|
|
33270
|
+
description: "Which converter produced the document's markdown. Present only when recorded. `vision_fallback` = OCR failed and Claude transcribed the file.\n",
|
|
33271
|
+
example: "ocr"
|
|
33272
|
+
},
|
|
33273
|
+
text_degraded: {
|
|
33274
|
+
type: "boolean",
|
|
33275
|
+
description: "True when the markdown is NOT a verbatim transcription of the file (a summary, translation or truncated read after an OCR failure). Quotes and provenance from such text are never reported as verified. Present only when recorded.\n",
|
|
33276
|
+
example: false
|
|
33277
|
+
},
|
|
33278
|
+
text_degraded_reasons: {
|
|
33279
|
+
type: "array",
|
|
33280
|
+
items: {
|
|
33281
|
+
type: "string"
|
|
33282
|
+
},
|
|
33283
|
+
description: "Why the verbatim guard flagged the text. Present only when `text_degraded` is true.",
|
|
33284
|
+
example: [
|
|
33285
|
+
"summary_phrasing",
|
|
33286
|
+
"language_mismatch:en!=de"
|
|
33287
|
+
]
|
|
33288
|
+
},
|
|
33238
33289
|
status: {
|
|
33239
33290
|
type: "string",
|
|
33240
33291
|
example: "completed",
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tailwind CSS preset for @talonic/docs consumers.
|
|
3
|
+
* Adds the Void design system color tokens and font families
|
|
4
|
+
* so doc components render correctly in any host app.
|
|
5
|
+
*/
|
|
6
|
+
declare const voidDocsPreset: {
|
|
7
|
+
darkMode: "class";
|
|
8
|
+
theme: {
|
|
9
|
+
extend: {
|
|
10
|
+
colors: {
|
|
11
|
+
'void-bg': string;
|
|
12
|
+
'void-bg-elevated': string;
|
|
13
|
+
'void-surface': string;
|
|
14
|
+
'void-surface-2': string;
|
|
15
|
+
'void-surface-3': string;
|
|
16
|
+
'void-border': string;
|
|
17
|
+
'void-border-hover': string;
|
|
18
|
+
'void-text-primary': string;
|
|
19
|
+
'void-text-secondary': string;
|
|
20
|
+
'void-text-muted': string;
|
|
21
|
+
'void-text-tertiary': string;
|
|
22
|
+
'void-accent': string;
|
|
23
|
+
'void-accent-hover': string;
|
|
24
|
+
'void-accent-dim': string;
|
|
25
|
+
'void-accent-tint': string;
|
|
26
|
+
'void-danger': string;
|
|
27
|
+
'void-danger-solid': string;
|
|
28
|
+
'void-divider': string;
|
|
29
|
+
'void-warning': string;
|
|
30
|
+
'void-warning-dim': string;
|
|
31
|
+
'void-tier-1': string;
|
|
32
|
+
'void-tier-2': string;
|
|
33
|
+
'void-tier-3': string;
|
|
34
|
+
};
|
|
35
|
+
fontFamily: {
|
|
36
|
+
space: string[];
|
|
37
|
+
body: string[];
|
|
38
|
+
mono: string[];
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
plugins: never[];
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export { voidDocsPreset as default };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tailwind CSS preset for @talonic/docs consumers.
|
|
3
|
+
* Adds the Void design system color tokens and font families
|
|
4
|
+
* so doc components render correctly in any host app.
|
|
5
|
+
*/
|
|
6
|
+
declare const voidDocsPreset: {
|
|
7
|
+
darkMode: "class";
|
|
8
|
+
theme: {
|
|
9
|
+
extend: {
|
|
10
|
+
colors: {
|
|
11
|
+
'void-bg': string;
|
|
12
|
+
'void-bg-elevated': string;
|
|
13
|
+
'void-surface': string;
|
|
14
|
+
'void-surface-2': string;
|
|
15
|
+
'void-surface-3': string;
|
|
16
|
+
'void-border': string;
|
|
17
|
+
'void-border-hover': string;
|
|
18
|
+
'void-text-primary': string;
|
|
19
|
+
'void-text-secondary': string;
|
|
20
|
+
'void-text-muted': string;
|
|
21
|
+
'void-text-tertiary': string;
|
|
22
|
+
'void-accent': string;
|
|
23
|
+
'void-accent-hover': string;
|
|
24
|
+
'void-accent-dim': string;
|
|
25
|
+
'void-accent-tint': string;
|
|
26
|
+
'void-danger': string;
|
|
27
|
+
'void-danger-solid': string;
|
|
28
|
+
'void-divider': string;
|
|
29
|
+
'void-warning': string;
|
|
30
|
+
'void-warning-dim': string;
|
|
31
|
+
'void-tier-1': string;
|
|
32
|
+
'void-tier-2': string;
|
|
33
|
+
'void-tier-3': string;
|
|
34
|
+
};
|
|
35
|
+
fontFamily: {
|
|
36
|
+
space: string[];
|
|
37
|
+
body: string[];
|
|
38
|
+
mono: string[];
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
plugins: never[];
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export { voidDocsPreset as default };
|
package/openapi.json
CHANGED
|
@@ -501,6 +501,31 @@
|
|
|
501
501
|
},
|
|
502
502
|
"description": "Filter by document status."
|
|
503
503
|
},
|
|
504
|
+
{
|
|
505
|
+
"name": "text_degraded",
|
|
506
|
+
"in": "query",
|
|
507
|
+
"schema": {
|
|
508
|
+
"type": "string",
|
|
509
|
+
"enum": [
|
|
510
|
+
"true",
|
|
511
|
+
"false"
|
|
512
|
+
]
|
|
513
|
+
},
|
|
514
|
+
"description": "Only documents whose markdown is (true) or is not (false) flagged as a non-verbatim transcription."
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "text_source",
|
|
518
|
+
"in": "query",
|
|
519
|
+
"schema": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"enum": [
|
|
522
|
+
"ocr",
|
|
523
|
+
"local_parser",
|
|
524
|
+
"vision_fallback"
|
|
525
|
+
]
|
|
526
|
+
},
|
|
527
|
+
"description": "Filter by the converter that produced the markdown."
|
|
528
|
+
},
|
|
504
529
|
{
|
|
505
530
|
"name": "after",
|
|
506
531
|
"in": "query",
|
|
@@ -15332,7 +15357,7 @@
|
|
|
15332
15357
|
"Data Products"
|
|
15333
15358
|
],
|
|
15334
15359
|
"summary": "Get data product results",
|
|
15335
|
-
"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",
|
|
15336
15361
|
"operationId": "getDataProductResults",
|
|
15337
15362
|
"security": [
|
|
15338
15363
|
{
|
|
@@ -33215,6 +33240,32 @@
|
|
|
33215
33240
|
],
|
|
33216
33241
|
"example": "en"
|
|
33217
33242
|
},
|
|
33243
|
+
"text_source": {
|
|
33244
|
+
"type": "string",
|
|
33245
|
+
"enum": [
|
|
33246
|
+
"ocr",
|
|
33247
|
+
"local_parser",
|
|
33248
|
+
"vision_fallback"
|
|
33249
|
+
],
|
|
33250
|
+
"description": "Which converter produced the document's markdown. Present only when recorded. `vision_fallback` = OCR failed and Claude transcribed the file.\n",
|
|
33251
|
+
"example": "ocr"
|
|
33252
|
+
},
|
|
33253
|
+
"text_degraded": {
|
|
33254
|
+
"type": "boolean",
|
|
33255
|
+
"description": "True when the markdown is NOT a verbatim transcription of the file (a summary, translation or truncated read after an OCR failure). Quotes and provenance from such text are never reported as verified. Present only when recorded.\n",
|
|
33256
|
+
"example": false
|
|
33257
|
+
},
|
|
33258
|
+
"text_degraded_reasons": {
|
|
33259
|
+
"type": "array",
|
|
33260
|
+
"items": {
|
|
33261
|
+
"type": "string"
|
|
33262
|
+
},
|
|
33263
|
+
"description": "Why the verbatim guard flagged the text. Present only when `text_degraded` is true.",
|
|
33264
|
+
"example": [
|
|
33265
|
+
"summary_phrasing",
|
|
33266
|
+
"language_mismatch:en!=de"
|
|
33267
|
+
]
|
|
33268
|
+
},
|
|
33218
33269
|
"status": {
|
|
33219
33270
|
"type": "string",
|
|
33220
33271
|
"example": "completed",
|