@talonic/docs 0.21.0 → 0.21.2
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 +1316 -807
- package/dist/index.js +21 -20
- package/dist/index.js.map +1 -1
- package/dist/seo.js +364 -56
- package/openapi.json +343 -36
- package/package.json +1 -1
- package/dist/tailwind-preset.d.cts +0 -45
- package/dist/tailwind-preset.d.ts +0 -45
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": "
|
|
74
|
-
"description": "Ground
|
|
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."
|
|
@@ -172,6 +168,14 @@
|
|
|
172
168
|
{
|
|
173
169
|
"name": "Webhooks",
|
|
174
170
|
"description": "Outbound HMAC-signed event webhooks — configure endpoints and read the event catalog, delivery format, signature scheme, and retry policy."
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "Events",
|
|
174
|
+
"description": "The tenant event feed — the timeline of everything that happened (extractions, run completions, review verdicts, delivery outcomes). The same rows webhooks fan out from, so missed webhook deliveries can be reconciled against this feed."
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "Provenance",
|
|
178
|
+
"description": "Document-level provenance — deterministic (subject, predicate, object) claims synthesized from captured fields and spans, each carrying its evidence quote and grounded flag."
|
|
175
179
|
}
|
|
176
180
|
],
|
|
177
181
|
"paths": {
|
|
@@ -368,6 +372,9 @@
|
|
|
368
372
|
"401": {
|
|
369
373
|
"$ref": "#/components/responses/Unauthorized"
|
|
370
374
|
},
|
|
375
|
+
"402": {
|
|
376
|
+
"$ref": "#/components/responses/InsufficientCredits"
|
|
377
|
+
},
|
|
371
378
|
"403": {
|
|
372
379
|
"$ref": "#/components/responses/Forbidden"
|
|
373
380
|
},
|
|
@@ -5103,7 +5110,7 @@
|
|
|
5103
5110
|
"operationId": "listGroundTruthDatasets",
|
|
5104
5111
|
"summary": "List ground truth datasets",
|
|
5105
5112
|
"tags": [
|
|
5106
|
-
"
|
|
5113
|
+
"Benchmarks"
|
|
5107
5114
|
],
|
|
5108
5115
|
"parameters": [
|
|
5109
5116
|
{
|
|
@@ -5165,7 +5172,7 @@
|
|
|
5165
5172
|
"operationId": "createGroundTruthDataset",
|
|
5166
5173
|
"summary": "Create a ground truth dataset",
|
|
5167
5174
|
"tags": [
|
|
5168
|
-
"
|
|
5175
|
+
"Benchmarks"
|
|
5169
5176
|
],
|
|
5170
5177
|
"requestBody": {
|
|
5171
5178
|
"required": true,
|
|
@@ -5216,7 +5223,7 @@
|
|
|
5216
5223
|
"summary": "Get a ground truth dataset",
|
|
5217
5224
|
"description": "Returns the dataset together with its sample entries (curated known-correct values).",
|
|
5218
5225
|
"tags": [
|
|
5219
|
-
"
|
|
5226
|
+
"Benchmarks"
|
|
5220
5227
|
],
|
|
5221
5228
|
"parameters": [
|
|
5222
5229
|
{
|
|
@@ -5251,7 +5258,7 @@
|
|
|
5251
5258
|
"operationId": "listBenchmarkRuns",
|
|
5252
5259
|
"summary": "List benchmark runs",
|
|
5253
5260
|
"tags": [
|
|
5254
|
-
"
|
|
5261
|
+
"Benchmarks"
|
|
5255
5262
|
],
|
|
5256
5263
|
"parameters": [
|
|
5257
5264
|
{
|
|
@@ -5316,7 +5323,7 @@
|
|
|
5316
5323
|
"summary": "Get a benchmark run",
|
|
5317
5324
|
"description": "Returns the benchmark run together with its per-document results.",
|
|
5318
5325
|
"tags": [
|
|
5319
|
-
"
|
|
5326
|
+
"Benchmarks"
|
|
5320
5327
|
],
|
|
5321
5328
|
"parameters": [
|
|
5322
5329
|
{
|
|
@@ -8698,7 +8705,7 @@
|
|
|
8698
8705
|
"summary": "List ground-truth datasets",
|
|
8699
8706
|
"description": "Returns all ground-truth datasets for the customer.",
|
|
8700
8707
|
"tags": [
|
|
8701
|
-
"
|
|
8708
|
+
"Benchmarks"
|
|
8702
8709
|
],
|
|
8703
8710
|
"parameters": [
|
|
8704
8711
|
{
|
|
@@ -8751,7 +8758,7 @@
|
|
|
8751
8758
|
"operationId": "getGroundTruth",
|
|
8752
8759
|
"summary": "Get a ground-truth dataset",
|
|
8753
8760
|
"tags": [
|
|
8754
|
-
"
|
|
8761
|
+
"Benchmarks"
|
|
8755
8762
|
],
|
|
8756
8763
|
"parameters": [
|
|
8757
8764
|
{
|
|
@@ -8784,7 +8791,7 @@
|
|
|
8784
8791
|
"operationId": "deleteGroundTruth",
|
|
8785
8792
|
"summary": "Delete a ground-truth dataset",
|
|
8786
8793
|
"tags": [
|
|
8787
|
-
"
|
|
8794
|
+
"Benchmarks"
|
|
8788
8795
|
],
|
|
8789
8796
|
"parameters": [
|
|
8790
8797
|
{
|
|
@@ -8819,7 +8826,7 @@
|
|
|
8819
8826
|
"operationId": "listValidationRuns",
|
|
8820
8827
|
"summary": "List validation runs",
|
|
8821
8828
|
"tags": [
|
|
8822
|
-
"
|
|
8829
|
+
"Benchmarks"
|
|
8823
8830
|
],
|
|
8824
8831
|
"parameters": [
|
|
8825
8832
|
{
|
|
@@ -8871,7 +8878,7 @@
|
|
|
8871
8878
|
"summary": "Create a validation run",
|
|
8872
8879
|
"description": "Start a new validation run against a ground-truth dataset.",
|
|
8873
8880
|
"tags": [
|
|
8874
|
-
"
|
|
8881
|
+
"Benchmarks"
|
|
8875
8882
|
],
|
|
8876
8883
|
"requestBody": {
|
|
8877
8884
|
"required": true,
|
|
@@ -8928,7 +8935,7 @@
|
|
|
8928
8935
|
"operationId": "getValidationRun",
|
|
8929
8936
|
"summary": "Get a validation run",
|
|
8930
8937
|
"tags": [
|
|
8931
|
-
"
|
|
8938
|
+
"Benchmarks"
|
|
8932
8939
|
],
|
|
8933
8940
|
"parameters": [
|
|
8934
8941
|
{
|
|
@@ -8961,7 +8968,7 @@
|
|
|
8961
8968
|
"operationId": "deleteValidationRun",
|
|
8962
8969
|
"summary": "Delete a validation run",
|
|
8963
8970
|
"tags": [
|
|
8964
|
-
"
|
|
8971
|
+
"Benchmarks"
|
|
8965
8972
|
],
|
|
8966
8973
|
"parameters": [
|
|
8967
8974
|
{
|
|
@@ -8997,7 +9004,7 @@
|
|
|
8997
9004
|
"summary": "Get validation run results",
|
|
8998
9005
|
"description": "Returns per-document and per-field accuracy results for the validation run.",
|
|
8999
9006
|
"tags": [
|
|
9000
|
-
"
|
|
9007
|
+
"Benchmarks"
|
|
9001
9008
|
],
|
|
9002
9009
|
"parameters": [
|
|
9003
9010
|
{
|
|
@@ -9387,17 +9394,102 @@
|
|
|
9387
9394
|
}
|
|
9388
9395
|
}
|
|
9389
9396
|
},
|
|
9397
|
+
"/v1/billing/packs": {
|
|
9398
|
+
"get": {
|
|
9399
|
+
"operationId": "getBillingPacks",
|
|
9400
|
+
"summary": "List purchasable credit packs",
|
|
9401
|
+
"description": "The self-serve credit-purchase catalog: flat prepaid packs\n(1,000 credits = 1 EUR, no volume bonuses). Buy via the checkout URL\nfrom `GET /v1/billing/upgrade-link`.\n",
|
|
9402
|
+
"tags": [
|
|
9403
|
+
"Billing"
|
|
9404
|
+
],
|
|
9405
|
+
"responses": {
|
|
9406
|
+
"200": {
|
|
9407
|
+
"description": "Credit pack catalog.",
|
|
9408
|
+
"content": {
|
|
9409
|
+
"application/json": {
|
|
9410
|
+
"schema": {
|
|
9411
|
+
"type": "object",
|
|
9412
|
+
"required": [
|
|
9413
|
+
"currency",
|
|
9414
|
+
"packs"
|
|
9415
|
+
],
|
|
9416
|
+
"properties": {
|
|
9417
|
+
"currency": {
|
|
9418
|
+
"type": "string",
|
|
9419
|
+
"example": "EUR"
|
|
9420
|
+
},
|
|
9421
|
+
"packs": {
|
|
9422
|
+
"type": "array",
|
|
9423
|
+
"items": {
|
|
9424
|
+
"type": "object",
|
|
9425
|
+
"required": [
|
|
9426
|
+
"key",
|
|
9427
|
+
"eur",
|
|
9428
|
+
"credits"
|
|
9429
|
+
],
|
|
9430
|
+
"properties": {
|
|
9431
|
+
"key": {
|
|
9432
|
+
"type": "string",
|
|
9433
|
+
"example": "50"
|
|
9434
|
+
},
|
|
9435
|
+
"lookupKey": {
|
|
9436
|
+
"type": "string",
|
|
9437
|
+
"example": "credits_pack_50"
|
|
9438
|
+
},
|
|
9439
|
+
"eur": {
|
|
9440
|
+
"type": "number",
|
|
9441
|
+
"example": 50
|
|
9442
|
+
},
|
|
9443
|
+
"credits": {
|
|
9444
|
+
"type": "integer",
|
|
9445
|
+
"example": 50000
|
|
9446
|
+
}
|
|
9447
|
+
}
|
|
9448
|
+
}
|
|
9449
|
+
}
|
|
9450
|
+
}
|
|
9451
|
+
}
|
|
9452
|
+
}
|
|
9453
|
+
}
|
|
9454
|
+
},
|
|
9455
|
+
"401": {
|
|
9456
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
9457
|
+
},
|
|
9458
|
+
"429": {
|
|
9459
|
+
"$ref": "#/components/responses/RateLimitExceeded"
|
|
9460
|
+
}
|
|
9461
|
+
}
|
|
9462
|
+
}
|
|
9463
|
+
},
|
|
9390
9464
|
"/v1/billing/upgrade-link": {
|
|
9391
9465
|
"get": {
|
|
9392
9466
|
"operationId": "getBillingUpgradeLink",
|
|
9393
|
-
"summary": "Get
|
|
9394
|
-
"description": "Returns a URL the agent
|
|
9467
|
+
"summary": "Get a buy-credits link",
|
|
9468
|
+
"description": "Returns a URL the agent hands to a human to buy prepaid credits. With\nbilling configured this is a real Stripe hosted-Checkout session\n(`provider: \"stripe\"`) for the selected pack; credits are available\nseconds after the human completes payment. Falls back to a dashboard\nbilling deep link (`provider: \"dashboard\"`) on deployments without\nStripe. A human must complete the payment either way.\n",
|
|
9395
9469
|
"tags": [
|
|
9396
9470
|
"Billing"
|
|
9397
9471
|
],
|
|
9472
|
+
"parameters": [
|
|
9473
|
+
{
|
|
9474
|
+
"name": "pack",
|
|
9475
|
+
"in": "query",
|
|
9476
|
+
"required": false,
|
|
9477
|
+
"schema": {
|
|
9478
|
+
"type": "string",
|
|
9479
|
+
"enum": [
|
|
9480
|
+
"10",
|
|
9481
|
+
"50",
|
|
9482
|
+
"250",
|
|
9483
|
+
"1000"
|
|
9484
|
+
],
|
|
9485
|
+
"default": "50"
|
|
9486
|
+
},
|
|
9487
|
+
"description": "Credit pack to check out (see `GET /v1/billing/packs`)."
|
|
9488
|
+
}
|
|
9489
|
+
],
|
|
9398
9490
|
"responses": {
|
|
9399
9491
|
"200": {
|
|
9400
|
-
"description": "
|
|
9492
|
+
"description": "Buy-credits link.",
|
|
9401
9493
|
"content": {
|
|
9402
9494
|
"application/json": {
|
|
9403
9495
|
"schema": {
|
|
@@ -9411,16 +9503,20 @@
|
|
|
9411
9503
|
"url": {
|
|
9412
9504
|
"type": "string",
|
|
9413
9505
|
"format": "uri",
|
|
9414
|
-
"example": "https://
|
|
9506
|
+
"example": "https://checkout.stripe.com/c/pay/cs_test_..."
|
|
9415
9507
|
},
|
|
9416
9508
|
"provider": {
|
|
9417
9509
|
"type": "string",
|
|
9418
|
-
"description": "'
|
|
9419
|
-
"example": "
|
|
9510
|
+
"description": "'stripe' (hosted Checkout session) or 'dashboard' (deep link fallback).",
|
|
9511
|
+
"example": "stripe"
|
|
9420
9512
|
},
|
|
9421
9513
|
"requires_human": {
|
|
9422
9514
|
"type": "boolean"
|
|
9423
9515
|
},
|
|
9516
|
+
"pack": {
|
|
9517
|
+
"type": "object",
|
|
9518
|
+
"description": "The selected pack (stripe provider only)."
|
|
9519
|
+
},
|
|
9424
9520
|
"message": {
|
|
9425
9521
|
"type": "string"
|
|
9426
9522
|
}
|
|
@@ -11646,7 +11742,7 @@
|
|
|
11646
11742
|
"operationId": "listGroundTruthEntries",
|
|
11647
11743
|
"summary": "List entries in a ground truth dataset",
|
|
11648
11744
|
"tags": [
|
|
11649
|
-
"
|
|
11745
|
+
"Benchmarks"
|
|
11650
11746
|
],
|
|
11651
11747
|
"parameters": [
|
|
11652
11748
|
{
|
|
@@ -11700,7 +11796,7 @@
|
|
|
11700
11796
|
"operationId": "createGroundTruthEntry",
|
|
11701
11797
|
"summary": "Add an entry to a ground truth dataset",
|
|
11702
11798
|
"tags": [
|
|
11703
|
-
"
|
|
11799
|
+
"Benchmarks"
|
|
11704
11800
|
],
|
|
11705
11801
|
"parameters": [
|
|
11706
11802
|
{
|
|
@@ -11766,7 +11862,7 @@
|
|
|
11766
11862
|
"operationId": "updateGroundTruthEntry",
|
|
11767
11863
|
"summary": "Update a ground truth entry",
|
|
11768
11864
|
"tags": [
|
|
11769
|
-
"
|
|
11865
|
+
"Benchmarks"
|
|
11770
11866
|
],
|
|
11771
11867
|
"parameters": [
|
|
11772
11868
|
{
|
|
@@ -11830,7 +11926,7 @@
|
|
|
11830
11926
|
"operationId": "deleteGroundTruthEntry",
|
|
11831
11927
|
"summary": "Delete a ground truth entry",
|
|
11832
11928
|
"tags": [
|
|
11833
|
-
"
|
|
11929
|
+
"Benchmarks"
|
|
11834
11930
|
],
|
|
11835
11931
|
"parameters": [
|
|
11836
11932
|
{
|
|
@@ -11877,7 +11973,7 @@
|
|
|
11877
11973
|
"summary": "Compare two benchmark runs",
|
|
11878
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.",
|
|
11879
11975
|
"tags": [
|
|
11880
|
-
"
|
|
11976
|
+
"Benchmarks"
|
|
11881
11977
|
],
|
|
11882
11978
|
"parameters": [
|
|
11883
11979
|
{
|
|
@@ -11951,7 +12047,7 @@
|
|
|
11951
12047
|
"summary": "Get benchmark results",
|
|
11952
12048
|
"description": "Returns per-document accuracy results for a benchmark run.",
|
|
11953
12049
|
"tags": [
|
|
11954
|
-
"
|
|
12050
|
+
"Benchmarks"
|
|
11955
12051
|
],
|
|
11956
12052
|
"parameters": [
|
|
11957
12053
|
{
|
|
@@ -11993,7 +12089,8 @@
|
|
|
11993
12089
|
"post": {
|
|
11994
12090
|
"operationId": "submitProcess",
|
|
11995
12091
|
"summary": "Submit a document for processing",
|
|
11996
|
-
"
|
|
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",
|
|
11997
12094
|
"tags": [
|
|
11998
12095
|
"Process"
|
|
11999
12096
|
],
|
|
@@ -12139,7 +12236,8 @@
|
|
|
12139
12236
|
"get": {
|
|
12140
12237
|
"operationId": "listConfigs",
|
|
12141
12238
|
"summary": "List available processing configs",
|
|
12142
|
-
"
|
|
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",
|
|
12143
12241
|
"tags": [
|
|
12144
12242
|
"Process"
|
|
12145
12243
|
],
|
|
@@ -15936,7 +16034,8 @@
|
|
|
15936
16034
|
"Fields"
|
|
15937
16035
|
],
|
|
15938
16036
|
"summary": "Query the field registry by field values",
|
|
15939
|
-
"
|
|
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",
|
|
15940
16039
|
"operationId": "queryRegistry",
|
|
15941
16040
|
"security": [
|
|
15942
16041
|
{
|
|
@@ -15982,6 +16081,58 @@
|
|
|
15982
16081
|
}
|
|
15983
16082
|
}
|
|
15984
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
|
+
},
|
|
15985
16136
|
"/v1/matching/packages/configs": {
|
|
15986
16137
|
"get": {
|
|
15987
16138
|
"tags": [
|
|
@@ -16481,7 +16632,8 @@
|
|
|
16481
16632
|
"Fields"
|
|
16482
16633
|
],
|
|
16483
16634
|
"summary": "Field-registry health snapshot (read-only)",
|
|
16484
|
-
"
|
|
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",
|
|
16485
16637
|
"operationId": "getRegistryHealth",
|
|
16486
16638
|
"security": [
|
|
16487
16639
|
{
|
|
@@ -16495,6 +16647,26 @@
|
|
|
16495
16647
|
}
|
|
16496
16648
|
}
|
|
16497
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
|
+
},
|
|
16498
16670
|
"/v1/customer-ontologies": {
|
|
16499
16671
|
"get": {
|
|
16500
16672
|
"tags": [
|
|
@@ -17342,6 +17514,99 @@
|
|
|
17342
17514
|
}
|
|
17343
17515
|
}
|
|
17344
17516
|
},
|
|
17517
|
+
"/v1/events": {
|
|
17518
|
+
"get": {
|
|
17519
|
+
"tags": [
|
|
17520
|
+
"Events"
|
|
17521
|
+
],
|
|
17522
|
+
"summary": "List tenant events",
|
|
17523
|
+
"description": "Newest-first feed of platform events (document.extracted, run.*.completed/failed, result.flagged/approved/rejected, delivery.item.*, case.resolved). Alias of /v1/delivery/events at the API root.\n",
|
|
17524
|
+
"operationId": "listEvents",
|
|
17525
|
+
"security": [
|
|
17526
|
+
{
|
|
17527
|
+
"BearerAuth": []
|
|
17528
|
+
}
|
|
17529
|
+
],
|
|
17530
|
+
"parameters": [
|
|
17531
|
+
{
|
|
17532
|
+
"name": "event_type",
|
|
17533
|
+
"in": "query",
|
|
17534
|
+
"required": false,
|
|
17535
|
+
"schema": {
|
|
17536
|
+
"type": "string"
|
|
17537
|
+
},
|
|
17538
|
+
"description": "Filter by event type, e.g. document.extracted"
|
|
17539
|
+
},
|
|
17540
|
+
{
|
|
17541
|
+
"name": "limit",
|
|
17542
|
+
"in": "query",
|
|
17543
|
+
"required": false,
|
|
17544
|
+
"schema": {
|
|
17545
|
+
"type": "integer",
|
|
17546
|
+
"default": 50,
|
|
17547
|
+
"maximum": 200
|
|
17548
|
+
}
|
|
17549
|
+
},
|
|
17550
|
+
{
|
|
17551
|
+
"name": "offset",
|
|
17552
|
+
"in": "query",
|
|
17553
|
+
"required": false,
|
|
17554
|
+
"schema": {
|
|
17555
|
+
"type": "integer",
|
|
17556
|
+
"default": 0
|
|
17557
|
+
}
|
|
17558
|
+
}
|
|
17559
|
+
],
|
|
17560
|
+
"responses": {
|
|
17561
|
+
"200": {
|
|
17562
|
+
"description": "{ data: [{ id, event_type, payload, created_at }], total, limit, offset }"
|
|
17563
|
+
}
|
|
17564
|
+
}
|
|
17565
|
+
}
|
|
17566
|
+
},
|
|
17567
|
+
"/v1/documents/{id}/claims": {
|
|
17568
|
+
"get": {
|
|
17569
|
+
"tags": [
|
|
17570
|
+
"Provenance"
|
|
17571
|
+
],
|
|
17572
|
+
"summary": "List a document's provenance claims",
|
|
17573
|
+
"description": "Deterministic atomic (subject, predicate, object) claims synthesized from the document's captured fields + provenance spans (no LLM). Each claim carries its evidence quote, grounded flag, and confidence. Field-level span detail lives on GET /v1/field-reviews/{docId}/{fieldKey}.\n",
|
|
17574
|
+
"operationId": "listDocumentClaims",
|
|
17575
|
+
"security": [
|
|
17576
|
+
{
|
|
17577
|
+
"BearerAuth": []
|
|
17578
|
+
}
|
|
17579
|
+
],
|
|
17580
|
+
"parameters": [
|
|
17581
|
+
{
|
|
17582
|
+
"name": "id",
|
|
17583
|
+
"in": "path",
|
|
17584
|
+
"required": true,
|
|
17585
|
+
"schema": {
|
|
17586
|
+
"type": "string",
|
|
17587
|
+
"format": "uuid"
|
|
17588
|
+
}
|
|
17589
|
+
},
|
|
17590
|
+
{
|
|
17591
|
+
"name": "grounded",
|
|
17592
|
+
"in": "query",
|
|
17593
|
+
"required": false,
|
|
17594
|
+
"schema": {
|
|
17595
|
+
"type": "boolean"
|
|
17596
|
+
},
|
|
17597
|
+
"description": "true = only span-backed claims"
|
|
17598
|
+
}
|
|
17599
|
+
],
|
|
17600
|
+
"responses": {
|
|
17601
|
+
"200": {
|
|
17602
|
+
"description": "{ data: [{ subject, predicate, object, qualifier, evidence, segment_id, grounded, confidence, origin }], total }"
|
|
17603
|
+
},
|
|
17604
|
+
"404": {
|
|
17605
|
+
"description": "Document not found or not owned by the caller."
|
|
17606
|
+
}
|
|
17607
|
+
}
|
|
17608
|
+
}
|
|
17609
|
+
},
|
|
17345
17610
|
"/v1/webhooks/events": {
|
|
17346
17611
|
"get": {
|
|
17347
17612
|
"tags": [
|
|
@@ -18508,7 +18773,7 @@
|
|
|
18508
18773
|
"statusCode": 429,
|
|
18509
18774
|
"code": "QUOTA_EXCEEDED",
|
|
18510
18775
|
"error": "Too Many Requests",
|
|
18511
|
-
"message": "Daily extract request
|
|
18776
|
+
"message": "Daily extract request ceiling reached. Resets at midnight UTC. Spend is governed by credits, not this abuse ceiling.",
|
|
18512
18777
|
"retryable": true,
|
|
18513
18778
|
"timestamp": "2026-04-25T23:45:00.000Z",
|
|
18514
18779
|
"path": "/v1/extract"
|
|
@@ -18516,6 +18781,48 @@
|
|
|
18516
18781
|
}
|
|
18517
18782
|
}
|
|
18518
18783
|
},
|
|
18784
|
+
"InsufficientCredits": {
|
|
18785
|
+
"description": "Insufficient credits (402). The body is the agent-actionable contract:\n`buy_credits_url` is where a human completes a purchase (see also\n`GET /v1/billing/upgrade-link` for a direct Stripe Checkout link), and\n`pricing_url` is the machine-readable rate catalog. Free workspaces\nreceive 5,000 credits monthly; purchased credits top up the same\nbalance.\n",
|
|
18786
|
+
"content": {
|
|
18787
|
+
"application/json": {
|
|
18788
|
+
"schema": {
|
|
18789
|
+
"type": "object",
|
|
18790
|
+
"required": [
|
|
18791
|
+
"error",
|
|
18792
|
+
"message",
|
|
18793
|
+
"required_credits",
|
|
18794
|
+
"balance_credits"
|
|
18795
|
+
],
|
|
18796
|
+
"properties": {
|
|
18797
|
+
"error": {
|
|
18798
|
+
"type": "string",
|
|
18799
|
+
"example": "insufficient_credits"
|
|
18800
|
+
},
|
|
18801
|
+
"message": {
|
|
18802
|
+
"type": "string"
|
|
18803
|
+
},
|
|
18804
|
+
"required_credits": {
|
|
18805
|
+
"type": "integer",
|
|
18806
|
+
"example": 100
|
|
18807
|
+
},
|
|
18808
|
+
"balance_credits": {
|
|
18809
|
+
"type": "integer",
|
|
18810
|
+
"example": 0
|
|
18811
|
+
},
|
|
18812
|
+
"buy_credits_url": {
|
|
18813
|
+
"type": "string",
|
|
18814
|
+
"format": "uri",
|
|
18815
|
+
"example": "https://app.talonic.com/settings/billing?buy=1"
|
|
18816
|
+
},
|
|
18817
|
+
"pricing_url": {
|
|
18818
|
+
"type": "string",
|
|
18819
|
+
"example": "/v1/pricing"
|
|
18820
|
+
}
|
|
18821
|
+
}
|
|
18822
|
+
}
|
|
18823
|
+
}
|
|
18824
|
+
}
|
|
18825
|
+
},
|
|
18519
18826
|
"InternalServerError": {
|
|
18520
18827
|
"description": "An unexpected error occurred.",
|
|
18521
18828
|
"content": {
|
package/package.json
CHANGED
|
@@ -1,45 +0,0 @@
|
|
|
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 };
|