@talonic/docs 0.21.1 → 0.21.3

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/openapi.json CHANGED
@@ -70,8 +70,8 @@
70
70
  "description": "Queue of validation records requiring human review; supports single- and batch-action approvals/rejections."
71
71
  },
72
72
  {
73
- "name": "Quality",
74
- "description": "Ground truth datasets and benchmark runs for measuring extraction accuracy."
73
+ "name": "Benchmarks",
74
+ "description": "Ground-truth datasets and benchmark runs measuring extraction accuracy."
75
75
  },
76
76
  {
77
77
  "name": "Batches",
@@ -125,10 +125,6 @@
125
125
  "name": "Telemetry",
126
126
  "description": "Aggregate structuring metrics — capture hit rate, synthesize rate, strategy distribution, and tier funnel breakdowns per schema or run."
127
127
  },
128
- {
129
- "name": "Validation",
130
- "description": "Ground-truth dataset management and validation runs for measuring extraction accuracy."
131
- },
132
128
  {
133
129
  "name": "Credits",
134
130
  "description": "Credit balance, usage history, daily breakdown, and per-request usage log."
@@ -5114,7 +5110,7 @@
5114
5110
  "operationId": "listGroundTruthDatasets",
5115
5111
  "summary": "List ground truth datasets",
5116
5112
  "tags": [
5117
- "Quality"
5113
+ "Benchmarks"
5118
5114
  ],
5119
5115
  "parameters": [
5120
5116
  {
@@ -5176,7 +5172,7 @@
5176
5172
  "operationId": "createGroundTruthDataset",
5177
5173
  "summary": "Create a ground truth dataset",
5178
5174
  "tags": [
5179
- "Quality"
5175
+ "Benchmarks"
5180
5176
  ],
5181
5177
  "requestBody": {
5182
5178
  "required": true,
@@ -5227,7 +5223,7 @@
5227
5223
  "summary": "Get a ground truth dataset",
5228
5224
  "description": "Returns the dataset together with its sample entries (curated known-correct values).",
5229
5225
  "tags": [
5230
- "Quality"
5226
+ "Benchmarks"
5231
5227
  ],
5232
5228
  "parameters": [
5233
5229
  {
@@ -5262,7 +5258,7 @@
5262
5258
  "operationId": "listBenchmarkRuns",
5263
5259
  "summary": "List benchmark runs",
5264
5260
  "tags": [
5265
- "Quality"
5261
+ "Benchmarks"
5266
5262
  ],
5267
5263
  "parameters": [
5268
5264
  {
@@ -5327,7 +5323,7 @@
5327
5323
  "summary": "Get a benchmark run",
5328
5324
  "description": "Returns the benchmark run together with its per-document results.",
5329
5325
  "tags": [
5330
- "Quality"
5326
+ "Benchmarks"
5331
5327
  ],
5332
5328
  "parameters": [
5333
5329
  {
@@ -8709,7 +8705,7 @@
8709
8705
  "summary": "List ground-truth datasets",
8710
8706
  "description": "Returns all ground-truth datasets for the customer.",
8711
8707
  "tags": [
8712
- "Validation"
8708
+ "Benchmarks"
8713
8709
  ],
8714
8710
  "parameters": [
8715
8711
  {
@@ -8762,7 +8758,7 @@
8762
8758
  "operationId": "getGroundTruth",
8763
8759
  "summary": "Get a ground-truth dataset",
8764
8760
  "tags": [
8765
- "Validation"
8761
+ "Benchmarks"
8766
8762
  ],
8767
8763
  "parameters": [
8768
8764
  {
@@ -8795,7 +8791,7 @@
8795
8791
  "operationId": "deleteGroundTruth",
8796
8792
  "summary": "Delete a ground-truth dataset",
8797
8793
  "tags": [
8798
- "Validation"
8794
+ "Benchmarks"
8799
8795
  ],
8800
8796
  "parameters": [
8801
8797
  {
@@ -8830,7 +8826,7 @@
8830
8826
  "operationId": "listValidationRuns",
8831
8827
  "summary": "List validation runs",
8832
8828
  "tags": [
8833
- "Validation"
8829
+ "Benchmarks"
8834
8830
  ],
8835
8831
  "parameters": [
8836
8832
  {
@@ -8882,7 +8878,7 @@
8882
8878
  "summary": "Create a validation run",
8883
8879
  "description": "Start a new validation run against a ground-truth dataset.",
8884
8880
  "tags": [
8885
- "Validation"
8881
+ "Benchmarks"
8886
8882
  ],
8887
8883
  "requestBody": {
8888
8884
  "required": true,
@@ -8939,7 +8935,7 @@
8939
8935
  "operationId": "getValidationRun",
8940
8936
  "summary": "Get a validation run",
8941
8937
  "tags": [
8942
- "Validation"
8938
+ "Benchmarks"
8943
8939
  ],
8944
8940
  "parameters": [
8945
8941
  {
@@ -8972,7 +8968,7 @@
8972
8968
  "operationId": "deleteValidationRun",
8973
8969
  "summary": "Delete a validation run",
8974
8970
  "tags": [
8975
- "Validation"
8971
+ "Benchmarks"
8976
8972
  ],
8977
8973
  "parameters": [
8978
8974
  {
@@ -9008,7 +9004,7 @@
9008
9004
  "summary": "Get validation run results",
9009
9005
  "description": "Returns per-document and per-field accuracy results for the validation run.",
9010
9006
  "tags": [
9011
- "Validation"
9007
+ "Benchmarks"
9012
9008
  ],
9013
9009
  "parameters": [
9014
9010
  {
@@ -11746,7 +11742,7 @@
11746
11742
  "operationId": "listGroundTruthEntries",
11747
11743
  "summary": "List entries in a ground truth dataset",
11748
11744
  "tags": [
11749
- "Quality"
11745
+ "Benchmarks"
11750
11746
  ],
11751
11747
  "parameters": [
11752
11748
  {
@@ -11800,7 +11796,7 @@
11800
11796
  "operationId": "createGroundTruthEntry",
11801
11797
  "summary": "Add an entry to a ground truth dataset",
11802
11798
  "tags": [
11803
- "Quality"
11799
+ "Benchmarks"
11804
11800
  ],
11805
11801
  "parameters": [
11806
11802
  {
@@ -11866,7 +11862,7 @@
11866
11862
  "operationId": "updateGroundTruthEntry",
11867
11863
  "summary": "Update a ground truth entry",
11868
11864
  "tags": [
11869
- "Quality"
11865
+ "Benchmarks"
11870
11866
  ],
11871
11867
  "parameters": [
11872
11868
  {
@@ -11930,7 +11926,7 @@
11930
11926
  "operationId": "deleteGroundTruthEntry",
11931
11927
  "summary": "Delete a ground truth entry",
11932
11928
  "tags": [
11933
- "Quality"
11929
+ "Benchmarks"
11934
11930
  ],
11935
11931
  "parameters": [
11936
11932
  {
@@ -11977,7 +11973,7 @@
11977
11973
  "summary": "Compare two benchmark runs",
11978
11974
  "description": "Returns both benchmark runs side by side together with the overall accuracy delta (run_a minus run_b). The delta is null when either run has not yet produced an overall accuracy score.",
11979
11975
  "tags": [
11980
- "Quality"
11976
+ "Benchmarks"
11981
11977
  ],
11982
11978
  "parameters": [
11983
11979
  {
@@ -12051,7 +12047,7 @@
12051
12047
  "summary": "Get benchmark results",
12052
12048
  "description": "Returns per-document accuracy results for a benchmark run.",
12053
12049
  "tags": [
12054
- "Quality"
12050
+ "Benchmarks"
12055
12051
  ],
12056
12052
  "parameters": [
12057
12053
  {
@@ -12093,7 +12089,8 @@
12093
12089
  "post": {
12094
12090
  "operationId": "submitProcess",
12095
12091
  "summary": "Submit a document for processing",
12096
- "description": "Upload a document and trigger a configured processing pipeline.\nAlways returns 202. Results delivered via `process.completed` webhook.\n\nIdempotency is automatic: the same (config_id, batch_id, file) combination\nreturns the existing run without re-processing. If batch_id is absent,\ndedup applies within a 24-hour window.\n",
12092
+ "deprecated": true,
12093
+ "description": "Deprecated: prefer `/v1/pipelines` for new integrations; this endpoint remains supported.\n\nUpload a document and trigger a configured processing pipeline.\nAlways returns 202. Results delivered via `process.completed` webhook.\n\nIdempotency is automatic: the same (config_id, batch_id, file) combination\nreturns the existing run without re-processing. If batch_id is absent,\ndedup applies within a 24-hour window.\n",
12097
12094
  "tags": [
12098
12095
  "Process"
12099
12096
  ],
@@ -12239,7 +12236,8 @@
12239
12236
  "get": {
12240
12237
  "operationId": "listConfigs",
12241
12238
  "summary": "List available processing configs",
12242
- "description": "Returns all processing configurations available to your organization.",
12239
+ "deprecated": true,
12240
+ "description": "Deprecated: prefer `/v1/pipelines` for new integrations; this endpoint remains supported. Returns all processing configurations available to your organization.\n",
12243
12241
  "tags": [
12244
12242
  "Process"
12245
12243
  ],
@@ -16036,7 +16034,8 @@
16036
16034
  "Fields"
16037
16035
  ],
16038
16036
  "summary": "Query the field registry by field values",
16039
- "description": "Returns documents whose captured field values match the `where` map (values matched via ILIKE). A read operation that takes a POST body. Requires the `read` scope. An unknown `where` field returns a 200 body `{ error: 'unknown_field' }`.\n",
16037
+ "deprecated": true,
16038
+ "description": "Deprecated: moved under `/v1/fields/registry/*`; use `POST /v1/fields/registry/query`. This path remains supported and serves the same handler. Returns documents whose captured field values match the `where` map (values matched via ILIKE). A read operation that takes a POST body. Requires the `read` scope. An unknown `where` field returns a 200 body `{ error: 'unknown_field' }`.\n",
16040
16039
  "operationId": "queryRegistry",
16041
16040
  "security": [
16042
16041
  {
@@ -16082,6 +16081,58 @@
16082
16081
  }
16083
16082
  }
16084
16083
  },
16084
+ "/v1/fields/registry/query": {
16085
+ "post": {
16086
+ "tags": [
16087
+ "Fields"
16088
+ ],
16089
+ "summary": "Query the field registry by field values",
16090
+ "description": "The canonical home of the registry query going forward (alias of the deprecated `POST /v1/registry/query`; both serve the same handler). Returns documents whose captured field values match the `where` map (values matched via ILIKE). A read operation that takes a POST body. Requires the `read` scope. An unknown `where` field returns a 200 body `{ error: 'unknown_field' }`.\n",
16091
+ "operationId": "queryFieldsRegistry",
16092
+ "security": [
16093
+ {
16094
+ "BearerAuth": []
16095
+ }
16096
+ ],
16097
+ "requestBody": {
16098
+ "required": true,
16099
+ "content": {
16100
+ "application/json": {
16101
+ "schema": {
16102
+ "type": "object",
16103
+ "required": [
16104
+ "where"
16105
+ ],
16106
+ "properties": {
16107
+ "where": {
16108
+ "type": "object",
16109
+ "minProperties": 1,
16110
+ "additionalProperties": true
16111
+ },
16112
+ "select": {
16113
+ "type": "array",
16114
+ "items": {
16115
+ "type": "string"
16116
+ }
16117
+ },
16118
+ "limit": {
16119
+ "type": "integer",
16120
+ "minimum": 1,
16121
+ "default": 100,
16122
+ "maximum": 500
16123
+ }
16124
+ }
16125
+ }
16126
+ }
16127
+ }
16128
+ },
16129
+ "responses": {
16130
+ "200": {
16131
+ "description": "{ data: row[], total }"
16132
+ }
16133
+ }
16134
+ }
16135
+ },
16085
16136
  "/v1/matching/packages/configs": {
16086
16137
  "get": {
16087
16138
  "tags": [
@@ -16581,7 +16632,8 @@
16581
16632
  "Fields"
16582
16633
  ],
16583
16634
  "summary": "Field-registry health snapshot (read-only)",
16584
- "description": "Tier + admission counts, singleton/weak-name rates, occurrence and resolution stats, transfer hit rate, and coherence/atomicity metrics for the tenant's field registry. The same view the in-app registry dashboard reads; no lifecycle or cleanup actions are exposed.\n",
16635
+ "deprecated": true,
16636
+ "description": "Deprecated: moved under `/v1/fields/registry/*`; use `GET /v1/fields/registry/health`. This path remains supported and serves the same handler. Tier + admission counts, singleton/weak-name rates, occurrence and resolution stats, transfer hit rate, and coherence/atomicity metrics for the tenant's field registry. The same view the in-app registry dashboard reads; no lifecycle or cleanup actions are exposed.\n",
16585
16637
  "operationId": "getRegistryHealth",
16586
16638
  "security": [
16587
16639
  {
@@ -16595,6 +16647,26 @@
16595
16647
  }
16596
16648
  }
16597
16649
  },
16650
+ "/v1/fields/registry/health": {
16651
+ "get": {
16652
+ "tags": [
16653
+ "Fields"
16654
+ ],
16655
+ "summary": "Field-registry health snapshot (read-only)",
16656
+ "description": "The canonical home of the registry health snapshot going forward (alias of the deprecated `GET /v1/registry/health`; both serve the same handler). Tier + admission counts, singleton/weak-name rates, occurrence and resolution stats, transfer hit rate, and coherence/atomicity metrics for the tenant's field registry. The same view the in-app registry dashboard reads; no lifecycle or cleanup actions are exposed.\n",
16657
+ "operationId": "getFieldsRegistryHealth",
16658
+ "security": [
16659
+ {
16660
+ "BearerAuth": []
16661
+ }
16662
+ ],
16663
+ "responses": {
16664
+ "200": {
16665
+ "description": "Registry health snapshot"
16666
+ }
16667
+ }
16668
+ }
16669
+ },
16598
16670
  "/v1/customer-ontologies": {
16599
16671
  "get": {
16600
16672
  "tags": [
@@ -20275,7 +20347,7 @@
20275
20347
  "type": "string",
20276
20348
  "format": "uuid",
20277
20349
  "example": "f0e1d2c3-b4a5-9687-8765-432109876543",
20278
- "description": "ID of the created document (absent if duplicate)."
20350
+ "description": "ID of the created document. When status is `duplicate`, this is the id of the linked-duplicate row created for this upload (see `existing_document_id` for the canonical document)."
20279
20351
  },
20280
20352
  "filename": {
20281
20353
  "type": "string",
@@ -20307,7 +20379,7 @@
20307
20379
  ],
20308
20380
  "format": "uuid",
20309
20381
  "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
20310
- "description": "Present when status is `duplicate`."
20382
+ "description": "Present when status is `duplicate` — the canonical document this upload deduplicated to (the linked duplicate reads its extracted data from it). The `document_id` field carries the id of the linked-duplicate row created for this upload."
20311
20383
  },
20312
20384
  "links": {
20313
20385
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talonic/docs",
3
- "version": "0.21.1",
3
+ "version": "0.21.3",
4
4
  "description": "Talonic documentation components — API Reference & Platform Guide",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,