@talonic/docs 0.21.6 → 0.21.8
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 +1584 -89
- package/dist/index.d.ts +1 -1
- package/dist/index.js +264 -5
- package/dist/index.js.map +1 -1
- package/dist/seo.d.ts +1 -1
- package/dist/seo.js +602 -11
- package/openapi.json +580 -9
- package/package.json +1 -1
package/dist/seo.js
CHANGED
|
@@ -60,7 +60,7 @@ var openapi_default = {
|
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
name: "Delivery",
|
|
63
|
-
description: 'Outbound delivery. Configure destinations (six live connectors: webhook, sftp,\ns3, azure_blob, google_drive, onedrive), create bindings that join signal filters\nto deliverable types + destinations + serializers, and inspect the\nhistory/DLQ/events log. Every delivery is at-least-once with an idempotency key\non the wire.\n\n## Webhook Contract\n\n**Event payload:**\n```json\n{\n "event": {\n "event_type": "document.extracted",\n "event_id": "42",\n "binding_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",\n "idempotency_key": "c9f3a7e1b2d4f6a8e0c2d4f6a8e0c2d4",\n "attempt": 1,\n "delivered_at": "2026-04-25T14:30:00.000Z"\n },\n "payload": { "document_id": "...", "data": { "...extracted fields..." } }\n}\n```\n\n**Event types:** `document.extracted`, `document.extraction_failed`,\n`document.structured` (per-document structured fields from a Spec pipeline / `/v1/run`; deliver with the `pipeline.capture` deliverable \u2014 its payload carries `run_id` (null outside `/v1/run`), `document_id`, `pipeline_id`, and `fields` for submission correlation),\n`run.dataspace.completed`, `run.dataspace.failed`, `result.dataspace.completed`,\n`result.dataspace.failed`, `run.structuring.completed`, `run.structuring.failed`,\n`run.resolution.completed`, `run.resolution.failed`, `run.extraction.completed`,\n`run.extraction.failed`, `result.flagged`, `result.approved`, `result.rejected`,\n`delivery.item.completed`, `delivery.item.failed`.\n\n**Signature verification (HMAC-SHA256):**\n\nHeader: `X-Talonic-Signature: t=1714060200000,v1=abc123...`\n\n```javascript\nconst crypto = require(\'crypto\');\nconst [tPart, vPart] = signature.split(\',\');\nconst timestamp = tPart.split(\'=\')[1];\nconst received = vPart.split(\'=\')[1];\nconst expected = crypto.createHmac(\'sha256\', signingSecret)\n .update(timestamp + \'.\' + rawBody).digest(\'hex\');\nconst valid = crypto.timingSafeEqual(\n Buffer.from(received), Buffer.from(expected));\n```\n\n**Retry policy:** Up to 7 attempts \u2014 0s, 30s, 2m, 8m, 30m, 2h, 8h (~10.5h total).\nHTTP 429/5xx are retryable. HTTP 4xx (except 408) goes to DLQ immediately.\n\n**Dead-letter queue recovery:** When all retries are exhausted, the delivery\nlands in the DLQ. List failed deliveries with `GET /v1/delivery/dlq`\n(filterable by `binding_id` and `error_code`). Inspect a single entry with\n`GET /v1/delivery/dlq/{id}`. Replay with `POST /v1/delivery/dlq/{id}/replay`\n\u2014 this deletes the DLQ entry, re-signs the payload with the current\nsigning secret, resets the retry counter to attempt 1, and re-enqueues\nthe delivery through the full backoff ladder.\n'
|
|
63
|
+
description: 'Outbound delivery. Configure destinations (six live connectors: webhook, sftp,\ns3, azure_blob, google_drive, onedrive), create bindings that join signal filters\nto deliverable types + destinations + serializers, and inspect the\nhistory/DLQ/events log. Every delivery is at-least-once with an idempotency key\non the wire.\n\n## Webhook Contract\n\n**Event payload:**\n```json\n{\n "event": {\n "event_type": "document.extracted",\n "event_id": "42",\n "binding_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",\n "idempotency_key": "c9f3a7e1b2d4f6a8e0c2d4f6a8e0c2d4",\n "attempt": 1,\n "delivered_at": "2026-04-25T14:30:00.000Z"\n },\n "payload": { "document_id": "...", "data": { "...extracted fields..." } }\n}\n```\n\n**Event types:** `document.extracted`, `document.extraction_failed`,\n`document.structured` (per-document structured fields from a Spec pipeline / `/v1/run`; deliver with the `pipeline.capture` deliverable \u2014 its payload carries `run_id` (null outside `/v1/run`), `document_id`, `pipeline_id`, and `fields` for submission correlation),\n`run.completed` (a `POST /v1/run` pipeline finished; payload adds `records` \u2014\nan array of `{ document_id, filename, data }`, one entry per output row,\nALWAYS an array even for a single document; assembled runs attribute each\ncomposed row to its anchor document; `document_id` and `filename` are\nnullable \u2014 null when a row\'s document identity cannot be resolved \u2014\nalongside the legacy `structured_data`,\nstill emitted but considered legacy in favor of `records`),\n`run.failed` (a `POST /v1/run` pipeline failed \u2014 every document errored\nduring ingest or extraction; the `error` object\'s shape varies by failure\nstage and may include `document_ids`, a best-effort array of the input\ndocument ids),\n`run.dataspace.completed`, `run.dataspace.failed`, `result.dataspace.completed`,\n`result.dataspace.failed`, `run.structuring.completed`, `run.structuring.failed`,\n`run.resolution.completed`, `run.resolution.failed`, `run.extraction.completed`,\n`run.extraction.failed`, `result.flagged`, `result.approved`, `result.rejected`,\n`delivery.item.completed`, `delivery.item.failed`.\n\n**Signature verification (HMAC-SHA256):**\n\nHeader: `X-Talonic-Signature: t=1714060200000,v1=abc123...`\n\n```javascript\nconst crypto = require(\'crypto\');\nconst [tPart, vPart] = signature.split(\',\');\nconst timestamp = tPart.split(\'=\')[1];\nconst received = vPart.split(\'=\')[1];\nconst expected = crypto.createHmac(\'sha256\', signingSecret)\n .update(timestamp + \'.\' + rawBody).digest(\'hex\');\nconst valid = crypto.timingSafeEqual(\n Buffer.from(received), Buffer.from(expected));\n```\n\n**Retry policy:** Up to 7 attempts \u2014 0s, 30s, 2m, 8m, 30m, 2h, 8h (~10.5h total).\nHTTP 429/5xx are retryable. HTTP 4xx (except 408) goes to DLQ immediately.\n\n**Dead-letter queue recovery:** When all retries are exhausted, the delivery\nlands in the DLQ. List failed deliveries with `GET /v1/delivery/dlq`\n(filterable by `binding_id` and `error_code`). Inspect a single entry with\n`GET /v1/delivery/dlq/{id}`. Replay with `POST /v1/delivery/dlq/{id}/replay`\n\u2014 this deletes the DLQ entry, re-signs the payload with the current\nsigning secret, resets the retry counter to attempt 1, and re-enqueues\nthe delivery through the full backoff ladder.\n'
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
name: "Filter",
|
|
@@ -2390,6 +2390,7 @@ var openapi_default = {
|
|
|
2390
2390
|
example: {
|
|
2391
2391
|
document_id: "f0e1d2c3-b4a5-9687-8765-432109876543",
|
|
2392
2392
|
filename: "receipt-march.pdf",
|
|
2393
|
+
size_bytes: 148213,
|
|
2393
2394
|
status: "queued",
|
|
2394
2395
|
processing_mode: "realtime",
|
|
2395
2396
|
source_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
@@ -10039,6 +10040,314 @@ var openapi_default = {
|
|
|
10039
10040
|
}
|
|
10040
10041
|
}
|
|
10041
10042
|
},
|
|
10043
|
+
"/v1/ask": {
|
|
10044
|
+
post: {
|
|
10045
|
+
operationId: "ask",
|
|
10046
|
+
summary: "Ask a question over your documents",
|
|
10047
|
+
description: 'Ask a natural-language question over the workspace corpus and get back a cited,\nverified answer. This is the "replace your RAG stack" endpoint: instead of\nchunk-embed-retrieve, the Talonic agent plans over the structured field plane\n(three-plane retrieval: semantic field match, lexical value match, and document\ntext search), runs read-only SQL over extracted cells, extracts-and-persists\nmissing fields at query time, and grounds every load-bearing claim in an exact\nsource span.\n\nThe turn runs detached and typically takes 10-60 seconds, so the endpoint is\nasynchronous: it returns `202` with an `ask_id` immediately \u2014 poll\n`GET /v1/ask/{id}` (about every 2 seconds) for the answer.\n\nEach accepted ask charges one flat `agent_ask` credit unit (see `GET /v1/pricing`).\nThe turn is pinned to the least-privilege viewer role: only read tools run, every\nmutation is denied before it executes.\n',
|
|
10048
|
+
tags: [
|
|
10049
|
+
"Agent"
|
|
10050
|
+
],
|
|
10051
|
+
requestBody: {
|
|
10052
|
+
required: true,
|
|
10053
|
+
content: {
|
|
10054
|
+
"application/json": {
|
|
10055
|
+
schema: {
|
|
10056
|
+
type: "object",
|
|
10057
|
+
required: [
|
|
10058
|
+
"question"
|
|
10059
|
+
],
|
|
10060
|
+
properties: {
|
|
10061
|
+
question: {
|
|
10062
|
+
type: "string",
|
|
10063
|
+
maxLength: 2e4,
|
|
10064
|
+
description: "The natural-language question to answer over the workspace corpus.",
|
|
10065
|
+
example: "What is the payment term in the Globex contract, and where does it say so?"
|
|
10066
|
+
}
|
|
10067
|
+
}
|
|
10068
|
+
}
|
|
10069
|
+
}
|
|
10070
|
+
}
|
|
10071
|
+
},
|
|
10072
|
+
responses: {
|
|
10073
|
+
"202": {
|
|
10074
|
+
description: "Ask accepted; poll `poll_url` for the answer.",
|
|
10075
|
+
content: {
|
|
10076
|
+
"application/json": {
|
|
10077
|
+
schema: {
|
|
10078
|
+
type: "object",
|
|
10079
|
+
properties: {
|
|
10080
|
+
ask_id: {
|
|
10081
|
+
type: "string",
|
|
10082
|
+
format: "uuid"
|
|
10083
|
+
},
|
|
10084
|
+
status: {
|
|
10085
|
+
type: "string",
|
|
10086
|
+
enum: [
|
|
10087
|
+
"processing"
|
|
10088
|
+
]
|
|
10089
|
+
},
|
|
10090
|
+
poll_url: {
|
|
10091
|
+
type: "string",
|
|
10092
|
+
example: "/v1/ask/3fa85f64-5717-4562-b3fc-2c963f66afa6"
|
|
10093
|
+
}
|
|
10094
|
+
}
|
|
10095
|
+
}
|
|
10096
|
+
}
|
|
10097
|
+
}
|
|
10098
|
+
},
|
|
10099
|
+
"400": {
|
|
10100
|
+
$ref: "#/components/responses/BadRequest"
|
|
10101
|
+
},
|
|
10102
|
+
"401": {
|
|
10103
|
+
$ref: "#/components/responses/Unauthorized"
|
|
10104
|
+
},
|
|
10105
|
+
"402": {
|
|
10106
|
+
description: "Insufficient credits. The body is the agent-actionable `insufficient_credits` contract with `buy_credits_url` and `pricing_url`."
|
|
10107
|
+
},
|
|
10108
|
+
"429": {
|
|
10109
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
10110
|
+
}
|
|
10111
|
+
}
|
|
10112
|
+
}
|
|
10113
|
+
},
|
|
10114
|
+
"/v1/ask/{id}": {
|
|
10115
|
+
get: {
|
|
10116
|
+
operationId: "getAsk",
|
|
10117
|
+
summary: "Poll an ask for its answer",
|
|
10118
|
+
description: 'Poll a previously-started ask. Tenant-isolated: an ask that belongs to a different\nworkspace reads as not found. While the turn runs the response is\n`{ "status": "processing" }`; once completed it carries:\n\n- `answer` \u2014 the full answer in markdown, citations inline as links.\n- `citations[]` \u2014 the same citations structured: source `document_id`, the cited\n `quote`, whether it grounds a captured `field` or a verbatim `quote`, and a deep\n `app_url` that opens the document with the span highlighted.\n- `verification` \u2014 the post-answer verification verdict: a fast model re-checks the\n answer\'s claims against the turn\'s own tool evidence (`supported` | `issues` |\n `unverifiable`, with check counts and an optional correction). Treat `issues` as a\n review pointer, not ground truth.\n- `usage` \u2014 token count and the flat `credits_charged`.\n',
|
|
10119
|
+
tags: [
|
|
10120
|
+
"Agent"
|
|
10121
|
+
],
|
|
10122
|
+
parameters: [
|
|
10123
|
+
{
|
|
10124
|
+
name: "id",
|
|
10125
|
+
in: "path",
|
|
10126
|
+
required: true,
|
|
10127
|
+
schema: {
|
|
10128
|
+
type: "string",
|
|
10129
|
+
format: "uuid"
|
|
10130
|
+
}
|
|
10131
|
+
}
|
|
10132
|
+
],
|
|
10133
|
+
responses: {
|
|
10134
|
+
"200": {
|
|
10135
|
+
description: "The ask's current state (processing, completed, or error).",
|
|
10136
|
+
content: {
|
|
10137
|
+
"application/json": {
|
|
10138
|
+
schema: {
|
|
10139
|
+
type: "object",
|
|
10140
|
+
properties: {
|
|
10141
|
+
ask_id: {
|
|
10142
|
+
type: "string",
|
|
10143
|
+
format: "uuid"
|
|
10144
|
+
},
|
|
10145
|
+
status: {
|
|
10146
|
+
type: "string",
|
|
10147
|
+
enum: [
|
|
10148
|
+
"processing",
|
|
10149
|
+
"completed",
|
|
10150
|
+
"error"
|
|
10151
|
+
]
|
|
10152
|
+
},
|
|
10153
|
+
poll_url: {
|
|
10154
|
+
type: "string"
|
|
10155
|
+
},
|
|
10156
|
+
answer: {
|
|
10157
|
+
type: "string",
|
|
10158
|
+
description: "Markdown answer (present when completed)."
|
|
10159
|
+
},
|
|
10160
|
+
citations: {
|
|
10161
|
+
type: "array",
|
|
10162
|
+
items: {
|
|
10163
|
+
type: "object",
|
|
10164
|
+
properties: {
|
|
10165
|
+
quote: {
|
|
10166
|
+
type: "string"
|
|
10167
|
+
},
|
|
10168
|
+
document_id: {
|
|
10169
|
+
type: "string",
|
|
10170
|
+
format: "uuid"
|
|
10171
|
+
},
|
|
10172
|
+
kind: {
|
|
10173
|
+
type: "string",
|
|
10174
|
+
enum: [
|
|
10175
|
+
"field",
|
|
10176
|
+
"quote"
|
|
10177
|
+
]
|
|
10178
|
+
},
|
|
10179
|
+
reference: {
|
|
10180
|
+
type: "string"
|
|
10181
|
+
},
|
|
10182
|
+
app_url: {
|
|
10183
|
+
type: "string"
|
|
10184
|
+
}
|
|
10185
|
+
}
|
|
10186
|
+
}
|
|
10187
|
+
},
|
|
10188
|
+
verification: {
|
|
10189
|
+
type: "object",
|
|
10190
|
+
nullable: true,
|
|
10191
|
+
properties: {
|
|
10192
|
+
verdict: {
|
|
10193
|
+
type: "string",
|
|
10194
|
+
enum: [
|
|
10195
|
+
"supported",
|
|
10196
|
+
"issues",
|
|
10197
|
+
"unverifiable"
|
|
10198
|
+
]
|
|
10199
|
+
},
|
|
10200
|
+
checks_total: {
|
|
10201
|
+
type: "integer"
|
|
10202
|
+
},
|
|
10203
|
+
checks_unsupported: {
|
|
10204
|
+
type: "integer"
|
|
10205
|
+
},
|
|
10206
|
+
correction: {
|
|
10207
|
+
type: "string"
|
|
10208
|
+
}
|
|
10209
|
+
}
|
|
10210
|
+
},
|
|
10211
|
+
usage: {
|
|
10212
|
+
type: "object",
|
|
10213
|
+
properties: {
|
|
10214
|
+
tokens: {
|
|
10215
|
+
type: "integer",
|
|
10216
|
+
nullable: true
|
|
10217
|
+
},
|
|
10218
|
+
credits_charged: {
|
|
10219
|
+
type: "integer"
|
|
10220
|
+
}
|
|
10221
|
+
}
|
|
10222
|
+
}
|
|
10223
|
+
}
|
|
10224
|
+
}
|
|
10225
|
+
}
|
|
10226
|
+
}
|
|
10227
|
+
},
|
|
10228
|
+
"401": {
|
|
10229
|
+
$ref: "#/components/responses/Unauthorized"
|
|
10230
|
+
},
|
|
10231
|
+
"404": {
|
|
10232
|
+
$ref: "#/components/responses/NotFound"
|
|
10233
|
+
},
|
|
10234
|
+
"429": {
|
|
10235
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
10236
|
+
}
|
|
10237
|
+
}
|
|
10238
|
+
}
|
|
10239
|
+
},
|
|
10240
|
+
"/v1/agent/query": {
|
|
10241
|
+
post: {
|
|
10242
|
+
operationId: "startAgentQuery",
|
|
10243
|
+
summary: "Ask the agent (legacy alias of /v1/ask)",
|
|
10244
|
+
description: "Legacy alias of `POST /v1/ask` with a minimal response shape. Starts a read-only\nagent turn (202) to poll via `GET /v1/agent/query/{id}`, which returns only\n`status` and the plain `answer` text. New integrations should use `/v1/ask`,\nwhich adds structured citations, the verification verdict, and usage. Charges the\nsame flat `agent_ask` unit.\n",
|
|
10245
|
+
tags: [
|
|
10246
|
+
"Agent"
|
|
10247
|
+
],
|
|
10248
|
+
requestBody: {
|
|
10249
|
+
required: true,
|
|
10250
|
+
content: {
|
|
10251
|
+
"application/json": {
|
|
10252
|
+
schema: {
|
|
10253
|
+
type: "object",
|
|
10254
|
+
required: [
|
|
10255
|
+
"query"
|
|
10256
|
+
],
|
|
10257
|
+
properties: {
|
|
10258
|
+
query: {
|
|
10259
|
+
type: "string",
|
|
10260
|
+
maxLength: 2e4
|
|
10261
|
+
}
|
|
10262
|
+
}
|
|
10263
|
+
}
|
|
10264
|
+
}
|
|
10265
|
+
}
|
|
10266
|
+
},
|
|
10267
|
+
responses: {
|
|
10268
|
+
"202": {
|
|
10269
|
+
description: "Turn started.",
|
|
10270
|
+
content: {
|
|
10271
|
+
"application/json": {
|
|
10272
|
+
schema: {
|
|
10273
|
+
type: "object",
|
|
10274
|
+
properties: {
|
|
10275
|
+
turnId: {
|
|
10276
|
+
type: "string",
|
|
10277
|
+
format: "uuid"
|
|
10278
|
+
}
|
|
10279
|
+
}
|
|
10280
|
+
}
|
|
10281
|
+
}
|
|
10282
|
+
}
|
|
10283
|
+
},
|
|
10284
|
+
"400": {
|
|
10285
|
+
$ref: "#/components/responses/BadRequest"
|
|
10286
|
+
},
|
|
10287
|
+
"401": {
|
|
10288
|
+
$ref: "#/components/responses/Unauthorized"
|
|
10289
|
+
},
|
|
10290
|
+
"402": {
|
|
10291
|
+
description: "Insufficient credits (`insufficient_credits` contract)."
|
|
10292
|
+
},
|
|
10293
|
+
"429": {
|
|
10294
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
10295
|
+
}
|
|
10296
|
+
}
|
|
10297
|
+
}
|
|
10298
|
+
},
|
|
10299
|
+
"/v1/agent/query/{id}": {
|
|
10300
|
+
get: {
|
|
10301
|
+
operationId: "getAgentQuery",
|
|
10302
|
+
summary: "Poll an agent query (legacy alias)",
|
|
10303
|
+
description: "Poll a turn started via `POST /v1/agent/query`. Returns `status` and the plain answer text; empty until the turn completes.",
|
|
10304
|
+
tags: [
|
|
10305
|
+
"Agent"
|
|
10306
|
+
],
|
|
10307
|
+
parameters: [
|
|
10308
|
+
{
|
|
10309
|
+
name: "id",
|
|
10310
|
+
in: "path",
|
|
10311
|
+
required: true,
|
|
10312
|
+
schema: {
|
|
10313
|
+
type: "string",
|
|
10314
|
+
format: "uuid"
|
|
10315
|
+
}
|
|
10316
|
+
}
|
|
10317
|
+
],
|
|
10318
|
+
responses: {
|
|
10319
|
+
"200": {
|
|
10320
|
+
description: "The turn's status and answer.",
|
|
10321
|
+
content: {
|
|
10322
|
+
"application/json": {
|
|
10323
|
+
schema: {
|
|
10324
|
+
type: "object",
|
|
10325
|
+
properties: {
|
|
10326
|
+
status: {
|
|
10327
|
+
type: "string",
|
|
10328
|
+
enum: [
|
|
10329
|
+
"processing",
|
|
10330
|
+
"completed",
|
|
10331
|
+
"error"
|
|
10332
|
+
]
|
|
10333
|
+
},
|
|
10334
|
+
answer: {
|
|
10335
|
+
type: "string"
|
|
10336
|
+
}
|
|
10337
|
+
}
|
|
10338
|
+
}
|
|
10339
|
+
}
|
|
10340
|
+
}
|
|
10341
|
+
},
|
|
10342
|
+
"401": {
|
|
10343
|
+
$ref: "#/components/responses/Unauthorized"
|
|
10344
|
+
},
|
|
10345
|
+
"404": {
|
|
10346
|
+
$ref: "#/components/responses/NotFound"
|
|
10347
|
+
}
|
|
10348
|
+
}
|
|
10349
|
+
}
|
|
10350
|
+
},
|
|
10042
10351
|
"/v1/agent/context": {
|
|
10043
10352
|
get: {
|
|
10044
10353
|
operationId: "getAgentContext",
|
|
@@ -17140,7 +17449,7 @@ var openapi_default = {
|
|
|
17140
17449
|
document_ids: {
|
|
17141
17450
|
type: "array",
|
|
17142
17451
|
minItems: 1,
|
|
17143
|
-
maxItems:
|
|
17452
|
+
maxItems: 3e3,
|
|
17144
17453
|
items: {
|
|
17145
17454
|
type: "string",
|
|
17146
17455
|
format: "uuid"
|
|
@@ -17162,6 +17471,15 @@ var openapi_default = {
|
|
|
17162
17471
|
},
|
|
17163
17472
|
"400": {
|
|
17164
17473
|
description: "The Spec has no composed rail, or the body failed validation."
|
|
17474
|
+
},
|
|
17475
|
+
"413": {
|
|
17476
|
+
description: "The request exceeds the tested per-run document ceiling."
|
|
17477
|
+
},
|
|
17478
|
+
"429": {
|
|
17479
|
+
description: "The pipeline queue lacks tested headroom; retry after the advised delay."
|
|
17480
|
+
},
|
|
17481
|
+
"503": {
|
|
17482
|
+
description: "Pipeline queue headroom or durable fan-out could not be verified."
|
|
17165
17483
|
}
|
|
17166
17484
|
}
|
|
17167
17485
|
}
|
|
@@ -17366,7 +17684,7 @@ var openapi_default = {
|
|
|
17366
17684
|
"Run"
|
|
17367
17685
|
],
|
|
17368
17686
|
summary: "Ingest documents and run a Spec's pipeline in one call",
|
|
17369
|
-
description: 'Accepts one or more files, one or more `file_urls`, or a mix of both \u2014 at least one input is required. Ingests every input (metering each ingest leg), waits for OCR to finish, then compiles the named Spec\'s saved rail into a pipeline and starts it \u2014 the same compile step `POST /v1/pipelines` uses, minus the separate "upload documents first" step. Always returns 202; poll `GET /v1/run/{id}` or listen for the `run.completed` / `run.failed` webhook (`POST /v1/webhooks`). Requires write scope. Unlike `POST /v1/process`, this endpoint does not dedup \u2014 every call starts a fresh run.\n',
|
|
17687
|
+
description: 'Accepts one or more files, one or more `file_urls`, or a mix of both \u2014 at least one input is required. Ingests every input (metering each ingest leg), waits for OCR to finish, then compiles the named Spec\'s saved rail into a pipeline and starts it \u2014 the same compile step `POST /v1/pipelines` uses, minus the separate "upload documents first" step. Always returns 202; poll `GET /v1/run/{id}` or listen for the `run.completed` / `run.failed` webhook (`POST /v1/webhooks`). Requires write scope. Unlike `POST /v1/process`, this endpoint does not dedup \u2014 every call starts a fresh run. Content-based document dedup still applies per input within the call \u2014 see the `documents` response field.\n',
|
|
17370
17688
|
operationId: "createRun",
|
|
17371
17689
|
security: [
|
|
17372
17690
|
{
|
|
@@ -17417,6 +17735,15 @@ var openapi_default = {
|
|
|
17417
17735
|
metadata: {
|
|
17418
17736
|
type: "string",
|
|
17419
17737
|
description: "Optional JSON string of a FLAT object `{ [key]: string | number | boolean | null }` (nested objects/arrays are rejected 400; limits: \u226450 keys, key \u2264128 chars, string value \u22641024 chars). The validated object is persisted on the run request (echoed by GET /v1/run/{id}) AND stamped on every ingested document as documents.client_metadata.\n"
|
|
17738
|
+
},
|
|
17739
|
+
ingestion_target: {
|
|
17740
|
+
type: "string",
|
|
17741
|
+
enum: [
|
|
17742
|
+
"ingest",
|
|
17743
|
+
"extract"
|
|
17744
|
+
],
|
|
17745
|
+
default: "ingest",
|
|
17746
|
+
description: "How far the platform processes the run's documents beyond the Spec pipeline. `ingest` (default): after OCR, Stage-2 field capture runs asynchronously so the corpus becomes queryable by the agent surfaces (POST /v1/ask) and the pipeline's Transfer phase \u2014 the pipeline still starts the moment OCR markdown is ready, capture never delays it. `extract`: markdown-only; the documents are not askable.\n"
|
|
17420
17747
|
}
|
|
17421
17748
|
}
|
|
17422
17749
|
}
|
|
@@ -17452,6 +17779,59 @@ var openapi_default = {
|
|
|
17452
17779
|
poll_url: {
|
|
17453
17780
|
type: "string",
|
|
17454
17781
|
example: "/v1/run/3d44a4dc-e3e4-4bca-b079-a9c85bf75026"
|
|
17782
|
+
},
|
|
17783
|
+
documents: {
|
|
17784
|
+
type: "array",
|
|
17785
|
+
description: "One entry per input, in input order \u2014 multipart files (in request order) first, then file_urls; documents.length === input_count. Identical files submitted in the same call resolve to the same document_id, so GET /v1/run/{id}'s progress.total_documents can be lower than input_count.\n",
|
|
17786
|
+
items: {
|
|
17787
|
+
type: "object",
|
|
17788
|
+
required: [
|
|
17789
|
+
"document_id",
|
|
17790
|
+
"filename",
|
|
17791
|
+
"size_bytes",
|
|
17792
|
+
"source",
|
|
17793
|
+
"deduplicated"
|
|
17794
|
+
],
|
|
17795
|
+
properties: {
|
|
17796
|
+
document_id: {
|
|
17797
|
+
type: "string",
|
|
17798
|
+
format: "uuid",
|
|
17799
|
+
description: "The CANONICAL document \u2014 the same id result rows and the run.completed webhook's records[] carry. A byte-identical re-upload resolves to an existing document whose filename/tags may pre-date this run. This deliberately diverges from the sources/ingest dedup shape, where document_id is the link row and existing_document_id is the canonical.\n"
|
|
17800
|
+
},
|
|
17801
|
+
filename: {
|
|
17802
|
+
type: "string",
|
|
17803
|
+
nullable: true,
|
|
17804
|
+
description: "For file inputs, the caller's uploaded filename (even when deduplicated). For file_url inputs, the filename derived at download \u2014 for a deduplicated URL input this is the canonical document's stored filename, which may differ from the URL.\n"
|
|
17805
|
+
},
|
|
17806
|
+
size_bytes: {
|
|
17807
|
+
type: "integer",
|
|
17808
|
+
nullable: true
|
|
17809
|
+
},
|
|
17810
|
+
source: {
|
|
17811
|
+
type: "string",
|
|
17812
|
+
enum: [
|
|
17813
|
+
"file",
|
|
17814
|
+
"file_url"
|
|
17815
|
+
]
|
|
17816
|
+
},
|
|
17817
|
+
deduplicated: {
|
|
17818
|
+
type: "boolean",
|
|
17819
|
+
description: "True when this input resolved to a pre-existing document instead of creating a new one."
|
|
17820
|
+
},
|
|
17821
|
+
linked_document_id: {
|
|
17822
|
+
type: "string",
|
|
17823
|
+
format: "uuid",
|
|
17824
|
+
description: "Present only when deduplicated is true \u2014 the thin per-upload link row created for this input."
|
|
17825
|
+
}
|
|
17826
|
+
},
|
|
17827
|
+
example: {
|
|
17828
|
+
document_id: "3d44a4dc-e3e4-4bca-b079-a9c85bf75026",
|
|
17829
|
+
filename: "invoice.pdf",
|
|
17830
|
+
size_bytes: 148213,
|
|
17831
|
+
source: "file",
|
|
17832
|
+
deduplicated: false
|
|
17833
|
+
}
|
|
17834
|
+
}
|
|
17455
17835
|
}
|
|
17456
17836
|
}
|
|
17457
17837
|
}
|
|
@@ -17468,7 +17848,10 @@ var openapi_default = {
|
|
|
17468
17848
|
description: "A file exceeds the tier's per-file size cap."
|
|
17469
17849
|
},
|
|
17470
17850
|
"429": {
|
|
17471
|
-
|
|
17851
|
+
description: "API rate limit or pipeline-queue admission limit reached; retry after the advised delay."
|
|
17852
|
+
},
|
|
17853
|
+
"503": {
|
|
17854
|
+
description: "Pipeline queue headroom could not be verified before ingest."
|
|
17472
17855
|
}
|
|
17473
17856
|
}
|
|
17474
17857
|
}
|
|
@@ -17479,7 +17862,7 @@ var openapi_default = {
|
|
|
17479
17862
|
"Run"
|
|
17480
17863
|
],
|
|
17481
17864
|
summary: "Poll a /v1/run request",
|
|
17482
|
-
description: "Row status, folded with the compiled pipeline's live progress once one exists (`pipeline_id` set). `status` is `processing` (in flight), `completed`, or `failed` \u2014 the same vocabulary `POST /v1/run` returns. A non-null `pipeline_id` plus the `progress` object indicate the pipeline has started. Requires read scope.\n",
|
|
17865
|
+
description: "Row status, folded with the compiled pipeline's live progress once one exists (`pipeline_id` set). `status` is `processing` (in flight), `completed`, or `failed` \u2014 the same vocabulary `POST /v1/run` returns. A non-null `pipeline_id` plus the `progress` object indicate the pipeline has started. `documents` (when present) echoes each input's resolved document plus a per-entry live `status` \u2014 omitted entirely for runs submitted before this field shipped. Requires read scope.\n",
|
|
17483
17866
|
operationId: "pollRunRequest",
|
|
17484
17867
|
security: [
|
|
17485
17868
|
{
|
|
@@ -17567,6 +17950,59 @@ var openapi_default = {
|
|
|
17567
17950
|
type: "integer"
|
|
17568
17951
|
}
|
|
17569
17952
|
}
|
|
17953
|
+
},
|
|
17954
|
+
documents: {
|
|
17955
|
+
type: "array",
|
|
17956
|
+
nullable: true,
|
|
17957
|
+
description: "Same items as POST /v1/run's response, each with an added per-entry status folded from the compiled pipeline's live per-document state (falls back to the run's own status when no pipeline is running yet, or the per-document fold could not be read). OPTIONAL \u2014 omitted entirely for runs submitted before this field shipped.\n",
|
|
17958
|
+
items: {
|
|
17959
|
+
type: "object",
|
|
17960
|
+
required: [
|
|
17961
|
+
"document_id",
|
|
17962
|
+
"filename",
|
|
17963
|
+
"size_bytes",
|
|
17964
|
+
"source",
|
|
17965
|
+
"deduplicated",
|
|
17966
|
+
"status"
|
|
17967
|
+
],
|
|
17968
|
+
properties: {
|
|
17969
|
+
document_id: {
|
|
17970
|
+
type: "string",
|
|
17971
|
+
format: "uuid"
|
|
17972
|
+
},
|
|
17973
|
+
filename: {
|
|
17974
|
+
type: "string",
|
|
17975
|
+
nullable: true
|
|
17976
|
+
},
|
|
17977
|
+
size_bytes: {
|
|
17978
|
+
type: "integer",
|
|
17979
|
+
nullable: true
|
|
17980
|
+
},
|
|
17981
|
+
source: {
|
|
17982
|
+
type: "string",
|
|
17983
|
+
enum: [
|
|
17984
|
+
"file",
|
|
17985
|
+
"file_url"
|
|
17986
|
+
]
|
|
17987
|
+
},
|
|
17988
|
+
deduplicated: {
|
|
17989
|
+
type: "boolean"
|
|
17990
|
+
},
|
|
17991
|
+
linked_document_id: {
|
|
17992
|
+
type: "string",
|
|
17993
|
+
format: "uuid",
|
|
17994
|
+
description: "Present only when deduplicated is true."
|
|
17995
|
+
},
|
|
17996
|
+
status: {
|
|
17997
|
+
type: "string",
|
|
17998
|
+
enum: [
|
|
17999
|
+
"processing",
|
|
18000
|
+
"completed",
|
|
18001
|
+
"failed"
|
|
18002
|
+
]
|
|
18003
|
+
}
|
|
18004
|
+
}
|
|
18005
|
+
}
|
|
17570
18006
|
}
|
|
17571
18007
|
}
|
|
17572
18008
|
}
|
|
@@ -17631,7 +18067,7 @@ var openapi_default = {
|
|
|
17631
18067
|
items: {
|
|
17632
18068
|
type: "string"
|
|
17633
18069
|
},
|
|
17634
|
-
description: "Event types to subscribe to (default: extraction.complete, extraction.failed). Includes run.completed / run.failed \u2014 fired on POST /v1/run pipeline completion (
|
|
18070
|
+
description: "Event types to subscribe to (default: extraction.complete, extraction.failed). Includes run.completed / run.failed \u2014 fired on POST /v1/run pipeline completion. run.completed's payload carries records (array of { document_id, filename, data }, always present; document_id and filename are nullable \u2014 null when a row's document identity cannot be resolved) alongside the legacy structured_data; run.failed's error object may carry document_ids (best effort, present on some failure paths only). See GET /v1/webhooks/events for the full, current catalog."
|
|
17635
18071
|
},
|
|
17636
18072
|
source_connection_id: {
|
|
17637
18073
|
type: "string",
|
|
@@ -17873,7 +18309,7 @@ var openapi_default = {
|
|
|
17873
18309
|
"Webhooks"
|
|
17874
18310
|
],
|
|
17875
18311
|
summary: "List supported webhook event types",
|
|
17876
|
-
description: 'Live catalog served from code (not a static enum) \u2014 includes run.completed ("A /v1/run pipeline finished; structured output is available, review-held fields null") and run.failed ("A /v1/run pipeline failed \u2014 all documents errored during ingest or extraction") alongside the document/extraction/job/delivery/process event families.\n',
|
|
18312
|
+
description: 'Live catalog served from code (not a static enum) \u2014 includes run.completed ("A /v1/run pipeline finished; structured output is available, review-held fields null" \u2014 payload adds `records`, an array of `{ document_id, filename, data }` always present even for a single document (`document_id` and `filename` are nullable \u2014 null when a row\'s document identity cannot be resolved), alongside the legacy `structured_data`, which is still emitted but considered legacy in favor of `records`) and run.failed ("A /v1/run pipeline failed \u2014 all documents errored during ingest or extraction" \u2014 its `error` object may include `document_ids`, a best-effort array of the input document ids, present only on some failure paths) alongside the document/extraction/job/delivery/process event families.\n',
|
|
17877
18313
|
operationId: "listWebhookEvents",
|
|
17878
18314
|
security: [
|
|
17879
18315
|
{
|
|
@@ -18704,7 +19140,126 @@ var openapi_default = {
|
|
|
18704
19140
|
},
|
|
18705
19141
|
responses: {
|
|
18706
19142
|
"200": {
|
|
18707
|
-
description: "{ document_id, filename, status: queued, processing_mode, source_id, links }"
|
|
19143
|
+
description: "{ document_id, filename, size_bytes, status: queued, processing_mode, source_id, links } \u2014 same shape as POST /v1/sources/{id}/documents (this route is an alias); duplicate branch is { status: duplicate, message, document_id, existing_document_id, filename, size_bytes }"
|
|
19144
|
+
}
|
|
19145
|
+
}
|
|
19146
|
+
}
|
|
19147
|
+
},
|
|
19148
|
+
"/v1/ingest": {
|
|
19149
|
+
post: {
|
|
19150
|
+
tags: [
|
|
19151
|
+
"Sources"
|
|
19152
|
+
],
|
|
19153
|
+
summary: "Ingest a document via a standalone source API key",
|
|
19154
|
+
description: "Multipart upload of one document (\u226450 MB), authenticated by a source's own `Authorization: Bearer tlnc_...` API key \u2014 no source id in the path, the key resolves it. Duplicate files (by content hash) return a `duplicate` status with the existing document's id. A narrower sibling of `POST /v1/sources/{id}/documents`: the queued response has no `processing_mode`/`source_id`, and `links` carries only `document` (no `source` link).\n",
|
|
19155
|
+
operationId: "ingestViaApiKey",
|
|
19156
|
+
security: [
|
|
19157
|
+
{
|
|
19158
|
+
BearerAuth: []
|
|
19159
|
+
}
|
|
19160
|
+
],
|
|
19161
|
+
requestBody: {
|
|
19162
|
+
required: true,
|
|
19163
|
+
content: {
|
|
19164
|
+
"multipart/form-data": {
|
|
19165
|
+
schema: {
|
|
19166
|
+
type: "object",
|
|
19167
|
+
required: [
|
|
19168
|
+
"file"
|
|
19169
|
+
],
|
|
19170
|
+
properties: {
|
|
19171
|
+
file: {
|
|
19172
|
+
type: "string",
|
|
19173
|
+
format: "binary",
|
|
19174
|
+
description: "The document file. Max 50 MB."
|
|
19175
|
+
},
|
|
19176
|
+
batch_id: {
|
|
19177
|
+
type: "string",
|
|
19178
|
+
maxLength: 200,
|
|
19179
|
+
description: "Optional caller grouping key stamped on the document (documents.client_batch_id)."
|
|
19180
|
+
},
|
|
19181
|
+
metadata: {
|
|
19182
|
+
type: "string",
|
|
19183
|
+
description: "Optional JSON string of a FLAT object `{ [key]: string | number | boolean | null }` (nested objects/arrays rejected 400; \u226450 keys, key \u2264128, string value \u22641024), stamped on the document as documents.client_metadata.\n"
|
|
19184
|
+
}
|
|
19185
|
+
}
|
|
19186
|
+
}
|
|
19187
|
+
}
|
|
19188
|
+
}
|
|
19189
|
+
},
|
|
19190
|
+
responses: {
|
|
19191
|
+
"200": {
|
|
19192
|
+
description: "Document ingested (or duplicate detected).",
|
|
19193
|
+
content: {
|
|
19194
|
+
"application/json": {
|
|
19195
|
+
schema: {
|
|
19196
|
+
type: "object",
|
|
19197
|
+
properties: {
|
|
19198
|
+
document_id: {
|
|
19199
|
+
type: "string",
|
|
19200
|
+
format: "uuid",
|
|
19201
|
+
description: "When status is `duplicate`, the id of the linked-duplicate row created for this upload (see `existing_document_id` for the canonical)."
|
|
19202
|
+
},
|
|
19203
|
+
filename: {
|
|
19204
|
+
type: "string",
|
|
19205
|
+
description: "The uploaded file's own name."
|
|
19206
|
+
},
|
|
19207
|
+
size_bytes: {
|
|
19208
|
+
type: [
|
|
19209
|
+
"integer",
|
|
19210
|
+
"null"
|
|
19211
|
+
],
|
|
19212
|
+
description: "The uploaded file's own size in bytes."
|
|
19213
|
+
},
|
|
19214
|
+
status: {
|
|
19215
|
+
type: "string",
|
|
19216
|
+
enum: [
|
|
19217
|
+
"queued",
|
|
19218
|
+
"duplicate"
|
|
19219
|
+
]
|
|
19220
|
+
},
|
|
19221
|
+
existing_document_id: {
|
|
19222
|
+
type: [
|
|
19223
|
+
"string",
|
|
19224
|
+
"null"
|
|
19225
|
+
],
|
|
19226
|
+
format: "uuid",
|
|
19227
|
+
description: "Present when status is duplicate \u2014 the canonical document this upload deduplicated to."
|
|
19228
|
+
},
|
|
19229
|
+
message: {
|
|
19230
|
+
type: "string",
|
|
19231
|
+
description: "Present when status is duplicate."
|
|
19232
|
+
},
|
|
19233
|
+
links: {
|
|
19234
|
+
type: "object",
|
|
19235
|
+
properties: {
|
|
19236
|
+
document: {
|
|
19237
|
+
type: "string"
|
|
19238
|
+
}
|
|
19239
|
+
}
|
|
19240
|
+
}
|
|
19241
|
+
}
|
|
19242
|
+
},
|
|
19243
|
+
example: {
|
|
19244
|
+
document_id: "f0e1d2c3-b4a5-9687-8765-432109876543",
|
|
19245
|
+
filename: "receipt-march.pdf",
|
|
19246
|
+
size_bytes: 148213,
|
|
19247
|
+
status: "queued",
|
|
19248
|
+
links: {
|
|
19249
|
+
document: "/v1/documents/f0e1d2c3-b4a5-9687-8765-432109876543"
|
|
19250
|
+
}
|
|
19251
|
+
}
|
|
19252
|
+
}
|
|
19253
|
+
}
|
|
19254
|
+
},
|
|
19255
|
+
"400": {
|
|
19256
|
+
$ref: "#/components/responses/BadRequest"
|
|
19257
|
+
},
|
|
19258
|
+
"401": {
|
|
19259
|
+
$ref: "#/components/responses/Unauthorized"
|
|
19260
|
+
},
|
|
19261
|
+
"413": {
|
|
19262
|
+
$ref: "#/components/responses/PayloadTooLarge"
|
|
18708
19263
|
}
|
|
18709
19264
|
}
|
|
18710
19265
|
}
|
|
@@ -19738,6 +20293,13 @@ var openapi_default = {
|
|
|
19738
20293
|
},
|
|
19739
20294
|
pages: {
|
|
19740
20295
|
type: "integer"
|
|
20296
|
+
},
|
|
20297
|
+
size_bytes: {
|
|
20298
|
+
type: [
|
|
20299
|
+
"integer",
|
|
20300
|
+
"null"
|
|
20301
|
+
],
|
|
20302
|
+
example: 148213
|
|
19741
20303
|
}
|
|
19742
20304
|
}
|
|
19743
20305
|
},
|
|
@@ -20633,7 +21195,16 @@ var openapi_default = {
|
|
|
20633
21195
|
},
|
|
20634
21196
|
filename: {
|
|
20635
21197
|
type: "string",
|
|
20636
|
-
example: "invoice-042.pdf"
|
|
21198
|
+
example: "invoice-042.pdf",
|
|
21199
|
+
description: "The uploaded file's own name \u2014 present on both the `queued` and `duplicate` branches."
|
|
21200
|
+
},
|
|
21201
|
+
size_bytes: {
|
|
21202
|
+
type: [
|
|
21203
|
+
"integer",
|
|
21204
|
+
"null"
|
|
21205
|
+
],
|
|
21206
|
+
example: 148213,
|
|
21207
|
+
description: "The uploaded file's own size in bytes \u2014 present on both the `queued` and `duplicate` branches."
|
|
20637
21208
|
},
|
|
20638
21209
|
status: {
|
|
20639
21210
|
type: "string",
|
|
@@ -25198,6 +25769,11 @@ var API_NAV_SECTIONS = [
|
|
|
25198
25769
|
{ id: "extract-include-markdown", label: "Options" },
|
|
25199
25770
|
{ id: "extract-processing-mode", label: "Responses" }
|
|
25200
25771
|
] },
|
|
25772
|
+
{ id: "ask", label: "Ask", children: [
|
|
25773
|
+
{ id: "post-ask", label: "POST /v1/ask" },
|
|
25774
|
+
{ id: "ask-results", label: "Poll & Results" },
|
|
25775
|
+
{ id: "ask-citations-verification", label: "Citations & Verification" }
|
|
25776
|
+
] },
|
|
25201
25777
|
{ id: "documents", label: "Documents", children: [
|
|
25202
25778
|
{ id: "list-documents", label: "List Documents" },
|
|
25203
25779
|
{ id: "get-document", label: "Get Document" },
|
|
@@ -25327,7 +25903,8 @@ var API_NAV_SECTIONS = [
|
|
|
25327
25903
|
] },
|
|
25328
25904
|
{ id: "agent", label: "Agent", children: [
|
|
25329
25905
|
{ id: "agent-context", label: "Get Workspace Context" },
|
|
25330
|
-
{ id: "agent-tools", label: "List Agent Tools" }
|
|
25906
|
+
{ id: "agent-tools", label: "List Agent Tools" },
|
|
25907
|
+
{ id: "agent-query", label: "Agent Query (Legacy)" }
|
|
25331
25908
|
] },
|
|
25332
25909
|
{ id: "matching", label: "Matching", children: [
|
|
25333
25910
|
{ id: "list-matching-configs", label: "List Configs" },
|
|
@@ -25538,6 +26115,8 @@ var PLATFORM_NAV_SECTIONS = [
|
|
|
25538
26115
|
] },
|
|
25539
26116
|
{ id: "agent", label: "AI Agent", children: [
|
|
25540
26117
|
{ id: "agent-capabilities", label: "Capabilities" },
|
|
26118
|
+
{ id: "agent-ask-workflow", label: "How the Agent Answers" },
|
|
26119
|
+
{ id: "agent-playground-onboarding", label: "Playground Onboarding" },
|
|
25541
26120
|
{ id: "agent-impact", label: "Impact Levels" },
|
|
25542
26121
|
{ id: "agent-dashboard", label: "Dashboard" }
|
|
25543
26122
|
] },
|
|
@@ -25631,6 +26210,14 @@ var PLATFORM_NAV_SECTIONS = [
|
|
|
25631
26210
|
{ id: "reference-primitives", label: "Reference Primitives" },
|
|
25632
26211
|
{ id: "change-review", label: "Change Review" }
|
|
25633
26212
|
] },
|
|
26213
|
+
{ id: "enterprise-archive", label: "Enterprise Archive", children: [
|
|
26214
|
+
{ id: "archive-overview", label: "Archive Overview" },
|
|
26215
|
+
{ id: "retention-and-deletion", label: "Retention & Deletion" },
|
|
26216
|
+
{ id: "legal-holds", label: "Legal Holds" },
|
|
26217
|
+
{ id: "audit-trail", label: "Audit Trail" },
|
|
26218
|
+
{ id: "security-architecture", label: "Security Architecture" },
|
|
26219
|
+
{ id: "export-bundle-format", label: "Export Bundle Format" }
|
|
26220
|
+
] },
|
|
25634
26221
|
{ id: "search-filtering", label: "Search & Filtering", children: [
|
|
25635
26222
|
{ id: "omnisearch", label: "Omnisearch" },
|
|
25636
26223
|
{ id: "document-filters", label: "Document Filters" }
|
|
@@ -25650,6 +26237,7 @@ var PLATFORM_NAV_SECTIONS = [
|
|
|
25650
26237
|
var API_SECTION_META = [
|
|
25651
26238
|
{ id: "overview", title: "API Overview", description: "Introduction, authentication, base URL, and quick start guide for the Talonic document extraction API." },
|
|
25652
26239
|
{ id: "extract", title: "Extract Endpoint", description: "POST /v1/extract \u2014 send a document and schema, receive structured validated data. Supports PDF, DOCX, images, and 25+ formats." },
|
|
26240
|
+
{ id: "ask", title: "Ask API", description: "POST /v1/ask \u2014 natural-language questions over the whole workspace corpus with per-claim citations, source-span deep links, and a post-answer verification verdict. One flat credit unit per question." },
|
|
25653
26241
|
{ id: "documents", title: "Documents API", description: "List, retrieve, and delete documents. Each document retains its original file, extracted text, and metadata." },
|
|
25654
26242
|
{ id: "extractions", title: "Extractions API", description: "Query extraction results, retrieve structured data with confidence scores, and submit field corrections." },
|
|
25655
26243
|
{ id: "schemas", title: "Schemas API", description: "Create, update, and manage reusable extraction schemas. Supports JSON Schema, simplified fields, and flat key-type maps." },
|
|
@@ -25701,6 +26289,7 @@ var PLATFORM_SECTION_META = [
|
|
|
25701
26289
|
{ id: "validation-quality", title: "Validation & Benchmarks", description: "Automated validation checks, Ground Truth benchmarking, configurable review gates, and Record Review for flagged results." },
|
|
25702
26290
|
{ id: "delivery", title: "Outputs & Delivery", description: "Push structured data to webhooks, REST APIs, SFTP, email, or cloud storage with field mappings, triggers, delivery configuration, and telemetry." },
|
|
25703
26291
|
{ id: "workspace-settings", title: "Workspace Settings", description: "Shared dialects for output formatting, reference primitives for lookup tables, and change review governance for production workspaces." },
|
|
26292
|
+
{ id: "enterprise-archive", title: "Enterprise Archive", description: "Retention policies with review-gated disposition, fail-closed legal holds, archive mode with tombstones, and a tamper-evident hash-chained audit trail." },
|
|
25704
26293
|
{ id: "search-filtering", title: "Search & Filtering", description: "Global omnisearch (Cmd+K) and advanced document filtering by extracted field values with saved presets." },
|
|
25705
26294
|
{ id: "api-webhooks", title: "API & Webhooks", description: "API key management, public REST API overview, and webhook configuration for event-driven integrations." },
|
|
25706
26295
|
{ id: "team-admin", title: "Team & Admin", description: "Role-based access control, credit usage tracking, admin panel, and keyboard shortcuts." }
|
|
@@ -25862,6 +26451,8 @@ var LLMS_TXT = `# Talonic
|
|
|
25862
26451
|
- [Linking & Cases](https://talonic.com/docs/platform/entity-linking): Entity linking, link keys, cases, anomaly detection
|
|
25863
26452
|
- [Validation & Quality](https://talonic.com/docs/platform/validation-checks): Golden samples, approval gates, ground truth benchmarks
|
|
25864
26453
|
- [Delivery](https://talonic.com/docs/platform/destinations): Webhooks, REST, SFTP, email, S3/R2, field mappings, triggers
|
|
26454
|
+
- [Enterprise Archive](https://talonic.com/docs/platform/archive-overview): Retention policies, legal holds, review-gated disposition, tamper-evident audit trail
|
|
26455
|
+
- [Archive Security Architecture](https://talonic.com/docs/platform/security-architecture): Fixity verification cycles, hash-chain anchoring, write-once encrypted storage, compartments, MFA/step-up, SCIM, export bundles
|
|
25865
26456
|
|
|
25866
26457
|
## Document Types
|
|
25867
26458
|
|
|
@@ -25882,7 +26473,7 @@ var LLMS_TXT = `# Talonic
|
|
|
25882
26473
|
- [Pricing](https://talonic.com/pricing): Free (5,000 credits/mo), Pro (\u20AC49/mo), Enterprise (custom)
|
|
25883
26474
|
- [Developers](https://talonic.com/developers): Three Modes, API, SDK, MCP server overview
|
|
25884
26475
|
- [DIN SPEC 91491](https://talonic.com/din-91491): Europe's first standard for AI-ready data
|
|
25885
|
-
- [Security](https://talonic.com/security): GDPR
|
|
26476
|
+
- [Security](https://talonic.com/security): GDPR-aligned archive controls (retention, legal hold, erasure, tamper-evident audit), EU data residency
|
|
25886
26477
|
- [Contact](https://talonic.com/contact): Book a demo or request a schema audit
|
|
25887
26478
|
|
|
25888
26479
|
## Optional
|