@talonic/docs 0.21.7 → 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 +1493 -71
- package/dist/index.d.ts +1 -1
- package/dist/index.js +202 -2
- package/dist/index.js.map +1 -1
- package/dist/seo.d.ts +1 -1
- package/dist/seo.js +353 -4
- package/openapi.json +331 -2
- package/package.json +1 -1
package/dist/content.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/content/helpers.ts
|
|
2
|
-
function deriveBreadcrumbs(
|
|
2
|
+
function deriveBreadcrumbs(sections70, leafId, domain) {
|
|
3
3
|
const domainLabels = {
|
|
4
4
|
api: "API Reference",
|
|
5
5
|
platform: "Platform Guide",
|
|
@@ -10,20 +10,20 @@ function deriveBreadcrumbs(sections68, leafId, domain) {
|
|
|
10
10
|
label: domainLabels[domain] ?? domain,
|
|
11
11
|
slug: domain
|
|
12
12
|
};
|
|
13
|
-
for (const group of
|
|
13
|
+
for (const group of sections70) {
|
|
14
14
|
const child = group.children?.find((c) => c.id === leafId);
|
|
15
15
|
if (child) {
|
|
16
16
|
return [root, { label: group.label, slug: group.id }, { label: child.label, slug: child.id }];
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
const topLevel =
|
|
19
|
+
const topLevel = sections70.find((s) => s.id === leafId);
|
|
20
20
|
if (topLevel) {
|
|
21
21
|
return [root, { label: topLevel.label, slug: topLevel.id }];
|
|
22
22
|
}
|
|
23
23
|
return [root];
|
|
24
24
|
}
|
|
25
|
-
function derivePrevNext(
|
|
26
|
-
const flat =
|
|
25
|
+
function derivePrevNext(sections70, leafId) {
|
|
26
|
+
const flat = sections70.flatMap(
|
|
27
27
|
(s) => s.children ?? [{ id: s.id, label: s.label }]
|
|
28
28
|
);
|
|
29
29
|
const idx = flat.findIndex((c) => c.id === leafId);
|
|
@@ -50,6 +50,11 @@ var API_NAV_SECTIONS = [
|
|
|
50
50
|
{ id: "extract-include-markdown", label: "Options" },
|
|
51
51
|
{ id: "extract-processing-mode", label: "Responses" }
|
|
52
52
|
] },
|
|
53
|
+
{ id: "ask", label: "Ask", children: [
|
|
54
|
+
{ id: "post-ask", label: "POST /v1/ask" },
|
|
55
|
+
{ id: "ask-results", label: "Poll & Results" },
|
|
56
|
+
{ id: "ask-citations-verification", label: "Citations & Verification" }
|
|
57
|
+
] },
|
|
53
58
|
{ id: "documents", label: "Documents", children: [
|
|
54
59
|
{ id: "list-documents", label: "List Documents" },
|
|
55
60
|
{ id: "get-document", label: "Get Document" },
|
|
@@ -179,7 +184,8 @@ var API_NAV_SECTIONS = [
|
|
|
179
184
|
] },
|
|
180
185
|
{ id: "agent", label: "Agent", children: [
|
|
181
186
|
{ id: "agent-context", label: "Get Workspace Context" },
|
|
182
|
-
{ id: "agent-tools", label: "List Agent Tools" }
|
|
187
|
+
{ id: "agent-tools", label: "List Agent Tools" },
|
|
188
|
+
{ id: "agent-query", label: "Agent Query (Legacy)" }
|
|
183
189
|
] },
|
|
184
190
|
{ id: "matching", label: "Matching", children: [
|
|
185
191
|
{ id: "list-matching-configs", label: "List Configs" },
|
|
@@ -390,6 +396,8 @@ var PLATFORM_NAV_SECTIONS = [
|
|
|
390
396
|
] },
|
|
391
397
|
{ id: "agent", label: "AI Agent", children: [
|
|
392
398
|
{ id: "agent-capabilities", label: "Capabilities" },
|
|
399
|
+
{ id: "agent-ask-workflow", label: "How the Agent Answers" },
|
|
400
|
+
{ id: "agent-playground-onboarding", label: "Playground Onboarding" },
|
|
393
401
|
{ id: "agent-impact", label: "Impact Levels" },
|
|
394
402
|
{ id: "agent-dashboard", label: "Dashboard" }
|
|
395
403
|
] },
|
|
@@ -483,6 +491,14 @@ var PLATFORM_NAV_SECTIONS = [
|
|
|
483
491
|
{ id: "reference-primitives", label: "Reference Primitives" },
|
|
484
492
|
{ id: "change-review", label: "Change Review" }
|
|
485
493
|
] },
|
|
494
|
+
{ id: "enterprise-archive", label: "Enterprise Archive", children: [
|
|
495
|
+
{ id: "archive-overview", label: "Archive Overview" },
|
|
496
|
+
{ id: "retention-and-deletion", label: "Retention & Deletion" },
|
|
497
|
+
{ id: "legal-holds", label: "Legal Holds" },
|
|
498
|
+
{ id: "audit-trail", label: "Audit Trail" },
|
|
499
|
+
{ id: "security-architecture", label: "Security Architecture" },
|
|
500
|
+
{ id: "export-bundle-format", label: "Export Bundle Format" }
|
|
501
|
+
] },
|
|
486
502
|
{ id: "search-filtering", label: "Search & Filtering", children: [
|
|
487
503
|
{ id: "omnisearch", label: "Omnisearch" },
|
|
488
504
|
{ id: "document-filters", label: "Document Filters" }
|
|
@@ -2021,6 +2037,108 @@ var sections3 = [
|
|
|
2021
2037
|
"telemetry API",
|
|
2022
2038
|
"session history"
|
|
2023
2039
|
]
|
|
2040
|
+
},
|
|
2041
|
+
{
|
|
2042
|
+
slug: "agent-ask-workflow",
|
|
2043
|
+
parentSlug: "agent",
|
|
2044
|
+
title: "How the Agent Answers",
|
|
2045
|
+
seoTitle: "How the Talonic Agent Answers Questions Over Documents \u2014 Talonic Docs",
|
|
2046
|
+
description: "Inside a Talonic ask: three-plane retrieval over registry, cells, and text, SQL over structured data, extract-and-persist at query time, citations, and verification.",
|
|
2047
|
+
content: [
|
|
2048
|
+
{ type: "paragraph", text: "When you ask the agent a question, in the app or via [`POST /v1/ask`](https://talonic.com/docs/api/post-ask), it does not run a retrieval-augmented prompt over a pile of chunks. It runs a full agent turn over a corpus that was **structured at ingestion**: every document already has OCR markdown, captured fields with provenance, and a place in the field registry before the first question arrives. The turn plans its own retrieval, queries structured data directly, gathers evidence, writes the answer, and then has that answer checked. This page explains each stage so you can predict what the agent will be good at and read its output critically." },
|
|
2049
|
+
{ type: "heading", level: 3, id: "ask-retrieval-planes", text: "Three retrieval planes" },
|
|
2050
|
+
{ type: "paragraph", text: 'The agent looks for relevant material on three planes at once. The **field-registry plane** matches the question semantically against the canonical field concepts discovered across your documents: a question about "contract end dates" finds the registry concept for termination dates even if no document uses that exact phrase. The **value plane** matches lexically over the extracted cell values themselves: asking about "Globex" finds every document where that string was captured as a party, vendor, or counterparty. The **text plane** runs semantic and full-text search over the raw document text through a persistent chunk index, catching prose that never became a structured field. Because all three planes are consulted, the agent is not hostage to any single representation of your data.' },
|
|
2051
|
+
{ type: "heading", level: 3, id: "ask-sql-plane", text: "SQL over the structured plane" },
|
|
2052
|
+
{ type: "paragraph", text: 'For counting, listing, and aggregating, the agent runs **read-only SQL over the structured cell plane**. "How many of our agreements auto-renew?" is answered by a query over extracted cells with the denominator taken from real corpus coverage, not by reading a sample of documents and extrapolating. This is the decisive difference from chat-over-RAG tools: aggregate questions get database answers, and the coverage plane turns absence into evidence, so "no document mentions an exclusivity clause" is a checkable corpus-wide statement rather than a guess from an empty search.' },
|
|
2053
|
+
{ type: "heading", level: 3, id: "ask-extract-persist", text: "Extract-and-persist at query time" },
|
|
2054
|
+
{ type: "paragraph", text: "When a question needs a concept that was captured at ingestion but never bound into the queryable plane, the agent promotes it on the spot: an instant, LLM-free, reversible operation that lifts the already-extracted values into structured cells. When the concept was never extracted at all, the agent can mine it from the document text. Either way the result is **persisted**: the second time anyone asks about that concept, in the app or over the API, the answer is a plain SQL read. Your corpus becomes progressively more structured along the exact lines your team actually cares about, driven by the questions themselves." },
|
|
2055
|
+
{ type: "heading", level: 3, id: "ask-citations-and-badge", text: "Citations and the verification badge" },
|
|
2056
|
+
{ type: "paragraph", text: "Every load-bearing claim in an answer carries a citation that deep-links to the source document with the exact span highlighted: click it and you are looking at the sentence or the captured field the claim came from. After the answer is written, a separate verification pass re-checks its claims against the evidence the turn itself gathered, and the verdict is shown as a badge on the answer: **supported**, **issues**, or **unverifiable**." },
|
|
2057
|
+
{ type: "callout", variant: "warning", text: `Read the badge as a routing signal, not a truth oracle. "Issues" means a second pass could not support at least one claim from the turn's own evidence: it is a pointer to review, and the citation links are how you review. "Supported" means answer and evidence agree; it does not upgrade the evidence itself.` },
|
|
2058
|
+
{ type: "paragraph", text: "Asks are read-only with respect to your workspace configuration. Through the public API the turn runs under the least-privilege viewer role, and in the app the agent respects your team role: a question never edits documents, schemas, pipelines, or settings. The same machinery is available programmatically, with the citations returned as a structured array and the verification verdict in the payload." },
|
|
2059
|
+
{
|
|
2060
|
+
type: "code",
|
|
2061
|
+
language: "bash",
|
|
2062
|
+
title: "The same ask, over the API",
|
|
2063
|
+
code: `curl -s -X POST https://api.talonic.com/v1/ask \\
|
|
2064
|
+
-H "Authorization: Bearer $TALONIC_API_KEY" \\
|
|
2065
|
+
-H "Content-Type: application/json" \\
|
|
2066
|
+
-d '{"question": "Which agreements auto-renew, and with what notice period?"}'`
|
|
2067
|
+
},
|
|
2068
|
+
{
|
|
2069
|
+
type: "code",
|
|
2070
|
+
language: "json",
|
|
2071
|
+
title: "Completed answer (excerpt)",
|
|
2072
|
+
code: `{
|
|
2073
|
+
"status": "completed",
|
|
2074
|
+
"answer": "Two agreements auto-renew. The [Acme master services agreement](https://app.talonic.com/documents/1b6f...?citeq=renews%20automatically) renews automatically with [90 days notice](https://app.talonic.com/documents/1b6f...?cite=notice_period_days)...",
|
|
2075
|
+
"citations": [
|
|
2076
|
+
{ "quote": "90 days notice", "kind": "field", "reference": "notice_period_days", "document_id": "1b6f...", "app_url": "https://app.talonic.com/documents/1b6f...?cite=notice_period_days" }
|
|
2077
|
+
],
|
|
2078
|
+
"verification": { "verdict": "supported", "checks_total": 4, "checks_unsupported": 0 }
|
|
2079
|
+
}`
|
|
2080
|
+
}
|
|
2081
|
+
],
|
|
2082
|
+
related: [
|
|
2083
|
+
{ label: "Agent Capabilities", slug: "agent-capabilities" },
|
|
2084
|
+
{ label: "Playground Onboarding", slug: "agent-playground-onboarding" },
|
|
2085
|
+
{ label: "Impact Levels", slug: "agent-impact" },
|
|
2086
|
+
{ label: "Field Registry", slug: "field-registry" }
|
|
2087
|
+
],
|
|
2088
|
+
faq: [
|
|
2089
|
+
{ question: "How is this different from RAG chat tools?", answer: "RAG answers from the top-k retrieved chunks. The Talonic agent retrieves across three planes (field registry, extracted values, document text), runs read-only SQL over structured cells for aggregate questions, and extracts missing concepts at query time so repeat questions become plain database reads. Every claim is cited to an exact span and the answer is re-verified against the turn's own evidence." },
|
|
2090
|
+
{ question: "What does the verification badge mean?", answer: "A post-answer pass re-checks the answer's claims against the evidence the turn gathered. Supported: all checked claims match the evidence. Issues: at least one claim did not, so review the answer via its citation links. Unverifiable: the claims could not be bound to specific evidence. Treat it as a routing signal for review, not as ground truth." },
|
|
2091
|
+
{ question: "Does asking questions change my data?", answer: "Questions never modify documents, schemas, pipelines, or settings. The one thing an ask can do is make already-extracted data queryable (promotion) or mine a missing concept from document text, both of which enrich the structured layer without touching your configuration, and promotion is reversible." },
|
|
2092
|
+
{ question: "Why is the second ask about the same topic faster?", answer: "Because the first ask persisted its work. A coverage gap triggers promotion or mining at query time, and the result lands in the structured cell plane, so subsequent questions about that concept resolve as plain SQL reads instead of repeating retrieval and extraction." }
|
|
2093
|
+
],
|
|
2094
|
+
mentions: ["three-plane retrieval", "field registry", "value plane", "chunk index", "read-only SQL", "promotion", "mining", "citations", "verification badge", "coverage"]
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
slug: "agent-playground-onboarding",
|
|
2098
|
+
parentSlug: "agent",
|
|
2099
|
+
title: "Playground Onboarding",
|
|
2100
|
+
seoTitle: "The Ask Playground: Your First Answer in a Minute \u2014 Talonic Docs",
|
|
2101
|
+
description: "New self-serve workspaces land in a Playground with an Ask your documents card over seeded examples. Ask, click a citation, upload your own files, and graduate.",
|
|
2102
|
+
content: [
|
|
2103
|
+
{ type: "paragraph", text: 'New self-serve workspaces land in the **Playground** at the workspace home. Its centerpiece is the **"Ask your documents"** card: a question box wired to the agent, sitting over a workspace that is already seeded with two example documents, a **Northwind Supplies invoice** and an **Acme/Globex master services agreement**, both fully ingested with captured fields. Nothing needs to be configured or uploaded before the first question: type "What is the total value of the master services agreement?" and the first cited answer arrives in seconds.' },
|
|
2104
|
+
{ type: "paragraph", text: 'The seeded examples exist so the first thing you experience is the loop that matters: **ask, read, verify**. Each answer cites its sources inline, and clicking a citation opens the document with the cited span highlighted, so you can see for yourself that the "EUR 96,000" in the answer is the "EUR 96,000" in the contract. The verification badge on the answer shows whether a second pass could support every claim. Once that loop feels trustworthy on the examples, it works identically on your own documents.' },
|
|
2105
|
+
{ type: "heading", level: 3, id: "playground-upload-ask", text: "From seeded examples to your own documents" },
|
|
2106
|
+
{ type: "paragraph", text: "The Playground flow for real data is upload, then ask. Drop your own files onto the Playground (or ingest them programmatically) and they run through the same pipeline as the examples: OCR, then background field capture that adds them to the askable corpus. As soon as processing completes, questions span everything in the workspace, seeded examples and your uploads alike, and you can delete the examples once they have served their purpose. The developer path mirrors this: mint an API key and the same two calls, [`POST /v1/run`](https://talonic.com/docs/api/run-spec) to ingest and [`POST /v1/ask`](https://talonic.com/docs/api/post-ask) to question, reproduce the whole Playground experience over HTTPS." },
|
|
2107
|
+
{
|
|
2108
|
+
type: "code",
|
|
2109
|
+
language: "bash",
|
|
2110
|
+
title: "The Playground loop, as API calls",
|
|
2111
|
+
code: `# 1. Ingest your document (askable by default)
|
|
2112
|
+
curl -s -X POST https://api.talonic.com/v1/run \\
|
|
2113
|
+
-H "Authorization: Bearer $TALONIC_API_KEY" \\
|
|
2114
|
+
-F "spec_id=$SPEC_ID" \\
|
|
2115
|
+
-F "files=@my-contract.pdf"
|
|
2116
|
+
|
|
2117
|
+
# 2. Ask about it
|
|
2118
|
+
curl -s -X POST https://api.talonic.com/v1/ask \\
|
|
2119
|
+
-H "Authorization: Bearer $TALONIC_API_KEY" \\
|
|
2120
|
+
-H "Content-Type: application/json" \\
|
|
2121
|
+
-d '{"question": "What are the payment terms in my contract?"}'`
|
|
2122
|
+
},
|
|
2123
|
+
{ type: "paragraph", text: "For developers who signed up through the magic-link flow (on deployments where self-serve signup is enabled), the Playground and the API key arrive together: registering by email confirms into a seeded workspace plus a scoped `tlnc_` key, so the first curl works within a minute of signup, against the same Northwind and Acme/Globex examples the Playground shows." },
|
|
2124
|
+
{ type: "callout", variant: "info", text: 'Good first questions to try on the seeded examples: "What is the total of the Northwind invoice and when is it due?", "Who are the parties to the master services agreement?", or "Do any of my documents mention a notice period?" Each demonstrates a different retrieval plane: captured fields, parties, and full-text search.' },
|
|
2125
|
+
{ type: "heading", level: 3, id: "playground-graduation", text: "Graduating from the Playground" },
|
|
2126
|
+
{ type: "paragraph", text: "The Playground is the full ask experience, but it is deliberately a subset of the platform: self-serve workspaces start with the ask surface, uploads, and the API, while the complete platform workspace (Specs and pipeline composition, review queues, delivery, team administration) is part of the enterprise plan. When your usage outgrows the Playground, use the request-access path in the app to talk to the team about upgrading; your workspace, documents, captured fields, and API keys carry over unchanged, because the Playground runs on the same corpus and the same engine as the full platform." },
|
|
2127
|
+
{ type: "paragraph", text: "Until then, nothing about the Playground is throwaway. Every question you ask makes the corpus more structured (promotion and mining persist their results), every upload is a real ingested document with provenance, and credit metering works the same as everywhere else: one flat `agent_ask` unit per question. Teams routinely run the Playground as their production ask surface over the API long before touching the rest of the platform." }
|
|
2128
|
+
],
|
|
2129
|
+
related: [
|
|
2130
|
+
{ label: "How the Agent Answers", slug: "agent-ask-workflow" },
|
|
2131
|
+
{ label: "Agent Dashboard", slug: "agent-dashboard" },
|
|
2132
|
+
{ label: "Uploading Documents", slug: "uploading" },
|
|
2133
|
+
{ label: "Getting Started", slug: "getting-started" }
|
|
2134
|
+
],
|
|
2135
|
+
faq: [
|
|
2136
|
+
{ question: "What is in the seeded example workspace?", answer: "Two fully ingested example documents: an invoice from Northwind Supplies Ltd and a master services agreement between Acme Corporation and Globex GmbH. Both have captured fields and provenance, so asks, citations, and citation deep links all work before you upload anything." },
|
|
2137
|
+
{ question: "Do questions in the Playground work on my own uploads?", answer: "Yes. Uploaded documents run through OCR and background field capture, joining the same askable corpus as the seeded examples. Questions always span the whole workspace, and you can delete the examples whenever you like." },
|
|
2138
|
+
{ question: "What happens when I click a citation?", answer: "The document opens with the cited span highlighted: the exact sentence for a quote citation, or the provenance span of the captured field for a field citation. Verifying a claim is one click, not a search." },
|
|
2139
|
+
{ question: "How do I get access to the full platform?", answer: "The Playground covers asking, uploading, and the API; Specs, review queues, delivery, and team administration are part of the enterprise platform workspace. Use the request-access path in the app to upgrade. Your documents, captured fields, and API keys carry over unchanged." }
|
|
2140
|
+
],
|
|
2141
|
+
mentions: ["Playground", "Ask your documents card", "seeded examples", "Northwind invoice", "master services agreement", "citation deep links", "magic-link signup", "graduation", "request access"]
|
|
2024
2142
|
}
|
|
2025
2143
|
];
|
|
2026
2144
|
|
|
@@ -11172,8 +11290,836 @@ var sections18 = [
|
|
|
11172
11290
|
}
|
|
11173
11291
|
];
|
|
11174
11292
|
|
|
11175
|
-
// src/content/
|
|
11293
|
+
// src/content/platform/archive.ts
|
|
11176
11294
|
var sections19 = [
|
|
11295
|
+
{
|
|
11296
|
+
slug: "archive-overview",
|
|
11297
|
+
parentSlug: "enterprise-archive",
|
|
11298
|
+
title: "Archive Overview",
|
|
11299
|
+
seoTitle: "Enterprise Digital Archive: Retention, Holds, Audit \u2014 Talonic Docs",
|
|
11300
|
+
description: "Talonic adds an enterprise archive layer on top of extraction: retention policies, legal holds, review-gated disposition, tombstones, and a tamper-evident audit trail.",
|
|
11301
|
+
content: [
|
|
11302
|
+
{
|
|
11303
|
+
type: "paragraph",
|
|
11304
|
+
text: "**Talonic** is a document extraction platform with an archive layer built for organizations that must keep records intact, retrievable, and accountable for years. An archive is a different product category from a document store: a store keeps files, while an archive makes promises about them. This page explains the promises the archive layer makes, what ships today, what is on the roadmap, and how the capabilities relate to the records-management regimes enterprise buyers evaluate against."
|
|
11305
|
+
},
|
|
11306
|
+
{
|
|
11307
|
+
type: "paragraph",
|
|
11308
|
+
text: "The archive capabilities are organized around six promises. **Authenticity**: what is stored is exactly what was ingested. Originals are stored byte-verbatim, and OCR output and other derivatives are stored separately and never replace the original. For email, the byte-identical RFC 822 original (.eml) is preserved as an asset alongside the rendered content. **Integrity**: content is provably unchanged over time. A SHA-256 hash is computed at ingest and persisted with the document, every stored document is re-hashed and re-verified on a rolling schedule (the full corpus within 30 days by default), stored objects are written once at the application layer with server-side encryption and bucket versioning, and a mismatch quarantines the document rather than passing silently. **Retention**: records are kept exactly as long as policy requires, no shorter and no longer, through duration-based or event-based schedules with grace periods and review-gated disposition."
|
|
11309
|
+
},
|
|
11310
|
+
{
|
|
11311
|
+
type: "paragraph",
|
|
11312
|
+
text: "The remaining three promises: **Retrievability**: records stay findable and readable for the whole retention period. Documents remain browsable, viewable, and downloadable with rich metadata until a disposition is approved and executed. **Auditability**: every access and lifecycle event is recorded server-side in a tamper-evident, hash-chained log that outlives the records it describes. **Confidentiality**: access is need-to-know, enforced by strict tenant isolation on every query, role-based access control that fails closed, and hashed, scoped API keys."
|
|
11313
|
+
},
|
|
11314
|
+
{
|
|
11315
|
+
type: "heading",
|
|
11316
|
+
level: 3,
|
|
11317
|
+
id: "archive-what-ships-today",
|
|
11318
|
+
text: "What ships today"
|
|
11319
|
+
},
|
|
11320
|
+
{
|
|
11321
|
+
type: "list",
|
|
11322
|
+
ordered: false,
|
|
11323
|
+
items: [
|
|
11324
|
+
"**Retention policies and assignments.** Tenant-scoped policies with fixed durations or event-based triggers, assigned at source connection, document type, or individual document level. The most specific assignment wins.",
|
|
11325
|
+
"**Legal holds.** Holds at tenant, source connection, or document set scope. Every deletion path checks for active holds and refuses to proceed while one applies.",
|
|
11326
|
+
"**Review-gated disposition.** Expired records enter a review queue, require explicit typed approval, and destruction produces a certificate recording what was destroyed, when, by whose approval, and the hash of the destroyed content.",
|
|
11327
|
+
"**Archive mode with soft delete and tombstones.** With archive mode enabled, deletion is a recorded state, not an erasure of history. After destruction, a tombstone retains the document identity, its content hash, and its audit linkage.",
|
|
11328
|
+
"**Tamper-evident audit trail with daily anchoring.** Views, downloads, exports, deletions, holds, retention changes, and dispositions are recorded server-side. Each event is chained to the previous one with a cryptographic hash, the chain head is anchored daily to external object storage, and verification checks both the chain and the anchors.",
|
|
11329
|
+
"**Fixity at ingest and on schedule.** Every document receives a SHA-256 hash at upload. A daily verification cycle re-reads stored content and re-checks the hash, covering the whole corpus within a configurable window; mismatches quarantine the document and are recorded in the audit trail.",
|
|
11330
|
+
"**Write-once, encrypted, versioned storage.** Stored objects are written once at the application layer (an overwrite of a stored key is rejected), every write carries server-side encryption, storage-level deletes require a recorded reason and pass the legal hold check, and production object storage uses bucket versioning with deletion protection at the infrastructure level.",
|
|
11331
|
+
"**Access compartments.** Named sub-workspace groups bound to sources, document types, or individual documents restrict what member and viewer roles can see, enforced in every document query path.",
|
|
11332
|
+
"**SCIM provisioning and MFA.** SCIM 2.0 user and group provisioning for identity providers, TOTP multi-factor authentication, and an optional step-up requirement (a fresh TOTP code) on high-impact archive actions such as hold release, disposition approval, and tenant export.",
|
|
11333
|
+
"**Data-subject erasure and redaction.** A locate, scope, approve, execute workflow for GDPR erasure requests, with per-document redact or destroy modes, retention and hold aware blocking, and execution certificates that report exemptions instead of silently skipping.",
|
|
11334
|
+
"**Full-tenant export.** A verifiable export bundle (originals, extracted content, values with provenance, audit log, per-file SHA-256 manifest) built asynchronously and downloaded through the API.",
|
|
11335
|
+
"**Content search and storage quotas.** Full-text search across stored document content in the library, and per-workspace storage quotas enforced at ingest admission."
|
|
11336
|
+
]
|
|
11337
|
+
},
|
|
11338
|
+
{
|
|
11339
|
+
type: "heading",
|
|
11340
|
+
level: 3,
|
|
11341
|
+
id: "archive-mode-setting",
|
|
11342
|
+
text: "Archive mode"
|
|
11343
|
+
},
|
|
11344
|
+
{
|
|
11345
|
+
type: "paragraph",
|
|
11346
|
+
text: "Archive semantics are opt-in per workspace through a single setting: **archive mode**. With archive mode off, document deletion behaves as it always has. With archive mode on, ordinary deletes become soft deletes: the document is marked deleted and hidden from listings, but its content is not destroyed and its history remains intact. Actual content destruction then happens only through the review-gated disposition workflow. Workspace admins manage the setting in Settings under Archive, or through the API."
|
|
11347
|
+
},
|
|
11348
|
+
{
|
|
11349
|
+
type: "code",
|
|
11350
|
+
language: "bash",
|
|
11351
|
+
title: "Read and enable archive mode",
|
|
11352
|
+
code: `# Read the current setting (any role)
|
|
11353
|
+
curl "$API_URL/records/archive-settings" \\
|
|
11354
|
+
-H "Authorization: Bearer $TOKEN"
|
|
11355
|
+
|
|
11356
|
+
# Enable archive mode (admin only)
|
|
11357
|
+
curl -X PATCH "$API_URL/records/archive-settings" \\
|
|
11358
|
+
-H "Authorization: Bearer $TOKEN" \\
|
|
11359
|
+
-H "Content-Type: application/json" \\
|
|
11360
|
+
-d '{"archive_mode": true}'`
|
|
11361
|
+
},
|
|
11362
|
+
{
|
|
11363
|
+
type: "code",
|
|
11364
|
+
language: "json",
|
|
11365
|
+
title: "Response",
|
|
11366
|
+
code: '{\n "archive_mode": true,\n "updated_at": "2026-07-18T09:14:02.511Z",\n "updated_by": "9f2c41d6-8a3b-4e0f-9c77-1d2e3f4a5b6c"\n}'
|
|
11367
|
+
},
|
|
11368
|
+
{
|
|
11369
|
+
type: "paragraph",
|
|
11370
|
+
text: "Retention and hold state is visible wherever you work with documents. The document list exposes an `on_hold` flag, the resolved retention state per document, and filters for hold and retention state, so you can verify hold coverage or find everything pending disposition without leaving the library. Changing the archive settings is itself recorded in the audit trail as an `archive.settings_changed` event."
|
|
11371
|
+
},
|
|
11372
|
+
{
|
|
11373
|
+
type: "heading",
|
|
11374
|
+
level: 3,
|
|
11375
|
+
id: "archive-compliance-orientation",
|
|
11376
|
+
text: "Compliance orientation"
|
|
11377
|
+
},
|
|
11378
|
+
{
|
|
11379
|
+
type: "paragraph",
|
|
11380
|
+
text: "The archive capabilities are designed with the major records-management regimes in mind: GoBD expects immutability, completeness, retention periods, and procedural documentation. SEC 17a-4 and FINRA expect WORM storage or an audit-trail alternative, defined retention periods, and prompt retrieval. GDPR expects the right to erasure coexisting with retention duties. SOC 2 and ISO 27001 expect evidenced access control, audit logging, and encryption. Talonic delivers the underlying capabilities listed above: fixity verification, retention schedules, review-gated disposition, hold enforcement, erasure with certificates, and the anchored, tamper-evident audit trail. A control-by-control mapping against SOC 2 TSC and ISO 27001 Annex A is maintained alongside the codebase and is available on request."
|
|
11381
|
+
},
|
|
11382
|
+
{
|
|
11383
|
+
type: "callout",
|
|
11384
|
+
variant: "warning",
|
|
11385
|
+
text: "**This is an orientation, not a certification claim.** Talonic does not currently hold formal certifications or attestations against these regimes. Whether a given deployment meets a regime's requirements depends on your configuration, your processes, and in most cases an independent assessment. If your evaluation depends on a specific control, ask us for the current control mapping rather than inferring from this page."
|
|
11386
|
+
},
|
|
11387
|
+
{
|
|
11388
|
+
type: "heading",
|
|
11389
|
+
level: 3,
|
|
11390
|
+
id: "archive-roadmap",
|
|
11391
|
+
text: "Roadmap"
|
|
11392
|
+
},
|
|
11393
|
+
{
|
|
11394
|
+
type: "callout",
|
|
11395
|
+
variant: "warning",
|
|
11396
|
+
text: "**Not yet available.** The following are planned but not part of the current release. Do not rely on them in procurement decisions until they ship: storage-level WORM (S3 Object Lock; the infrastructure templates exist but the archive bucket is not deployed, so today immutability is enforced at the application layer plus bucket versioning), audit chain anchors on WORM storage (today anchors go to the regular encrypted, versioned object store), cross-region replication as live infrastructure (designed with a 15 minute replication SLA, not deployed), format preservation (PDF/A derivatives; plumbing exists but is off by default and requires a dedicated worker image), qualified timestamps (eIDAS), and committed recovery objectives (the disaster recovery procedure is finalized, but its RPO/RTO figures are proposed and unproven until the first drill)."
|
|
11397
|
+
},
|
|
11398
|
+
{
|
|
11399
|
+
type: "heading",
|
|
11400
|
+
level: 3,
|
|
11401
|
+
id: "archive-and-extraction",
|
|
11402
|
+
text: "How the archive relates to extraction"
|
|
11403
|
+
},
|
|
11404
|
+
{
|
|
11405
|
+
type: "paragraph",
|
|
11406
|
+
text: "Archive semantics are additive. Documents flow through the same ingestion and extraction pipeline; the archive layer adds record lifecycle management on top without changing how extraction works. A document can simultaneously be a working input to a pipeline, a managed record under a retention policy, and material preserved by a legal hold. Nothing about retention or holds changes extraction results, schemas, or delivery. The archive layer only governs how long the record exists and what is recorded about it."
|
|
11407
|
+
}
|
|
11408
|
+
],
|
|
11409
|
+
related: [
|
|
11410
|
+
{ label: "Retention & Deletion", slug: "retention-and-deletion" },
|
|
11411
|
+
{ label: "Legal Holds", slug: "legal-holds" },
|
|
11412
|
+
{ label: "Audit Trail", slug: "audit-trail" },
|
|
11413
|
+
{ label: "Security Architecture", slug: "security-architecture" },
|
|
11414
|
+
{ label: "Export Bundle Format", slug: "export-bundle-format" }
|
|
11415
|
+
],
|
|
11416
|
+
faq: [
|
|
11417
|
+
{
|
|
11418
|
+
question: "What makes Talonic an archive rather than just document storage?",
|
|
11419
|
+
answer: "An archive makes enforceable promises about records: authenticity, integrity, retention, retrievability, auditability, and confidentiality. Talonic backs these with byte-verbatim originals, SHA-256 fixity at ingest, retention policies with review-gated disposition, fail-closed legal holds on every deletion path, and a hash-chained server-side audit trail that survives document destruction."
|
|
11420
|
+
},
|
|
11421
|
+
{
|
|
11422
|
+
question: "Does enabling archive mode change how extraction works?",
|
|
11423
|
+
answer: "No. Archive semantics are additive. Documents flow through the same ingestion and extraction pipeline, and schemas, runs, and delivery are unaffected. Archive mode changes what happens on deletion (soft delete instead of hard delete) and adds record lifecycle management on top."
|
|
11424
|
+
},
|
|
11425
|
+
{
|
|
11426
|
+
question: "Is Talonic certified for GoBD, SEC 17a-4, or SOC 2?",
|
|
11427
|
+
answer: "No. Talonic does not currently hold formal certifications or attestations against these regimes. The archive capabilities are designed with those regimes in mind, but whether a deployment meets a specific requirement depends on your configuration and processes, and usually on an independent assessment. Ask for the current control mapping if your evaluation depends on a specific control."
|
|
11428
|
+
},
|
|
11429
|
+
{
|
|
11430
|
+
question: "Is stored content protected by WORM storage?",
|
|
11431
|
+
answer: "Not yet at the storage layer. Today immutability is enforced at the application layer: stored keys are write-once (an overwrite attempt is rejected), every write is server-side encrypted, and production buckets are versioned. Storage-level write-once locks (S3 Object Lock with cross-region replication) exist as validated infrastructure templates but are not deployed, so they are not part of the current release."
|
|
11432
|
+
}
|
|
11433
|
+
],
|
|
11434
|
+
mentions: [
|
|
11435
|
+
"enterprise archive",
|
|
11436
|
+
"records management",
|
|
11437
|
+
"retention policy",
|
|
11438
|
+
"legal hold",
|
|
11439
|
+
"disposition",
|
|
11440
|
+
"audit trail",
|
|
11441
|
+
"SHA-256 fixity",
|
|
11442
|
+
"tombstone",
|
|
11443
|
+
"archive mode",
|
|
11444
|
+
"GoBD",
|
|
11445
|
+
"tenant isolation"
|
|
11446
|
+
]
|
|
11447
|
+
},
|
|
11448
|
+
{
|
|
11449
|
+
slug: "retention-and-deletion",
|
|
11450
|
+
parentSlug: "enterprise-archive",
|
|
11451
|
+
title: "Retention & Deletion",
|
|
11452
|
+
seoTitle: "Retention Policies, Disposition & Deletion \u2014 Talonic Docs",
|
|
11453
|
+
description: "Define retention policies, assign them by source, document type, or document, and let expired records move through review-gated disposition with destruction certificates.",
|
|
11454
|
+
content: [
|
|
11455
|
+
{
|
|
11456
|
+
type: "paragraph",
|
|
11457
|
+
text: "Retention is the mechanism that lets you keep records exactly as long as your obligations require: no shorter, and no longer. This guide explains how retention policies are defined, how they attach to documents, how expired records move through review-gated disposition to destruction, and how deletion behaves when legal holds apply. Workspace admins manage policies and approve dispositions; viewers have read-only access."
|
|
11458
|
+
},
|
|
11459
|
+
{
|
|
11460
|
+
type: "paragraph",
|
|
11461
|
+
text: "A **retention policy** is a named, workspace-scoped rule that answers two questions: how long is a record kept, and what happens when that time is up. Each policy has a unique name, an optional description, either a fixed duration in days or an event trigger the clock starts from, a grace period in extra days after expiry before the record enters disposition, and a disposition action that decides what happens at expiry: `review_then_destroy` or `retain_indefinitely`."
|
|
11462
|
+
},
|
|
11463
|
+
{
|
|
11464
|
+
type: "paragraph",
|
|
11465
|
+
text: "A **duration-based** policy counts a fixed number of days from ingest. An **event-based** policy starts the clock from a trigger event: `ingest_date` (when the document entered Talonic) or `document_date` (a date carried by the document itself, for example an invoice date). Talonic's compliance triage can propose event dates it finds in document content. Proposed dates are suggestions only: a document whose trigger date is not confirmed never gets an expiry date computed from a guess, so an unconfirmed proposal never triggers disposition."
|
|
11466
|
+
},
|
|
11467
|
+
{
|
|
11468
|
+
type: "code",
|
|
11469
|
+
language: "bash",
|
|
11470
|
+
title: "Create a policy and assign it to a document type",
|
|
11471
|
+
code: `# Create a 10-year policy with a 30-day grace period (admin only)
|
|
11472
|
+
curl -X POST "$API_URL/records/retention-policies" \\
|
|
11473
|
+
-H "Authorization: Bearer $TOKEN" \\
|
|
11474
|
+
-H "Content-Type: application/json" \\
|
|
11475
|
+
-d '{
|
|
11476
|
+
"name": "Invoices 10y",
|
|
11477
|
+
"description": "Tax-relevant invoices, 10 years from document date",
|
|
11478
|
+
"duration_days": 3650,
|
|
11479
|
+
"event_trigger": "document_date",
|
|
11480
|
+
"grace_period_days": 30,
|
|
11481
|
+
"disposition_action": "review_then_destroy"
|
|
11482
|
+
}'
|
|
11483
|
+
|
|
11484
|
+
# Assign it to every document classified as an invoice
|
|
11485
|
+
curl -X POST "$API_URL/records/retention-assignments" \\
|
|
11486
|
+
-H "Authorization: Bearer $TOKEN" \\
|
|
11487
|
+
-H "Content-Type: application/json" \\
|
|
11488
|
+
-d '{
|
|
11489
|
+
"policy_id": "<policy-id>",
|
|
11490
|
+
"scope_type": "document_type",
|
|
11491
|
+
"scope_id": "invoice"
|
|
11492
|
+
}'`
|
|
11493
|
+
},
|
|
11494
|
+
{
|
|
11495
|
+
type: "heading",
|
|
11496
|
+
level: 3,
|
|
11497
|
+
id: "retention-scopes-resolution",
|
|
11498
|
+
text: "Assignments and resolution: most specific wins"
|
|
11499
|
+
},
|
|
11500
|
+
{
|
|
11501
|
+
type: "paragraph",
|
|
11502
|
+
text: 'A policy takes effect when it is assigned to a scope. Three scopes exist: **source connection** (every document ingested through that connection), **document type** (every document classified as that type), and **document** (one specific document). When more than one assignment could apply, the most specific one wins: document beats document type, and document type beats source connection. Example: your Gmail connection carries a 6-year policy and the document type "invoice" carries a 10-year policy. An invoice from that Gmail connection gets 10 years. One specific invoice with a direct "retain indefinitely" assignment is retained indefinitely.'
|
|
11503
|
+
},
|
|
11504
|
+
{
|
|
11505
|
+
type: "param-table",
|
|
11506
|
+
title: "Retention state per document",
|
|
11507
|
+
params: [
|
|
11508
|
+
{ name: "active", type: "state", description: "Within its retention period. Normal access; no disposition pending." },
|
|
11509
|
+
{ name: "pending_disposition", type: "state", description: "Past expiry plus grace period. Waiting in the disposition review queue. The document remains fully accessible." },
|
|
11510
|
+
{ name: "disposed", type: "state", description: "Destruction approved and executed. Content is gone; the tombstone row and full audit history remain." }
|
|
11511
|
+
]
|
|
11512
|
+
},
|
|
11513
|
+
{
|
|
11514
|
+
type: "paragraph",
|
|
11515
|
+
text: "The retention engine runs on a daily schedule. It resolves the effective policy for each document, computes and stores `retain_until`, and moves documents past `retain_until` plus the grace period into `pending_disposition` when their policy says `review_then_destroy`. Each engine run is summarized in the audit trail (`retention.set` and `disposition.pending` events), and each document's resolved policy, expiry date, and state are visible on the document itself and in document list filters."
|
|
11516
|
+
},
|
|
11517
|
+
{
|
|
11518
|
+
type: "heading",
|
|
11519
|
+
level: 3,
|
|
11520
|
+
id: "how-disposition-works",
|
|
11521
|
+
text: "How disposition works"
|
|
11522
|
+
},
|
|
11523
|
+
{
|
|
11524
|
+
type: "paragraph",
|
|
11525
|
+
text: 'Disposition is the controlled end of a record\'s life. Talonic never silently destroys an expired record. The path is: the document passes `retain_until` plus grace and enters the review queue. Nothing is destroyed at this point. An admin reviews the queue and approves destruction with a typed confirmation (`"confirm": "DESTROY"`), which is recorded with the approver\'s identity. Immediately before destruction, the system re-checks for active legal holds; if any hold covers the document, destruction fails closed and the document stays in the queue. Destruction then removes the stored content and extracted occurrences, keeps the document row as a tombstone, and issues a **disposition certificate**.'
|
|
11526
|
+
},
|
|
11527
|
+
{
|
|
11528
|
+
type: "code",
|
|
11529
|
+
language: "bash",
|
|
11530
|
+
title: "Review the queue and approve a disposition",
|
|
11531
|
+
code: `# List documents pending disposition
|
|
11532
|
+
curl "$API_URL/records/dispositions?state=pending_disposition" \\
|
|
11533
|
+
-H "Authorization: Bearer $TOKEN"
|
|
11534
|
+
|
|
11535
|
+
# Approve destruction of one document (admin only, typed confirmation)
|
|
11536
|
+
curl -X POST "$API_URL/records/dispositions/$DOCUMENT_ID/approve" \\
|
|
11537
|
+
-H "Authorization: Bearer $TOKEN" \\
|
|
11538
|
+
-H "Content-Type: application/json" \\
|
|
11539
|
+
-d '{"confirm": "DESTROY"}'`
|
|
11540
|
+
},
|
|
11541
|
+
{
|
|
11542
|
+
type: "code",
|
|
11543
|
+
language: "json",
|
|
11544
|
+
title: "Response",
|
|
11545
|
+
code: '{\n "disposed": true,\n "certificate_id": "c2f0a7e4-6d1b-4c58-9a3e-8b7f6d5c4e3a"\n}'
|
|
11546
|
+
},
|
|
11547
|
+
{
|
|
11548
|
+
type: "paragraph",
|
|
11549
|
+
text: "Every executed disposition produces a certificate recording the document (by tombstone reference), the filename, the SHA-256 hash of the destroyed content, the retention policy that applied, who approved the destruction and when, when destruction was executed, and confirmation that the legal hold check passed. Certificates are listed at `GET /records/disposition-certificates` and outlive the records they describe. The destruction itself is also written to the hash-chained audit trail as a `document.disposed` event, so the fact and circumstances of destruction enjoy the same tamper evidence as every other event."
|
|
11550
|
+
},
|
|
11551
|
+
{
|
|
11552
|
+
type: "heading",
|
|
11553
|
+
level: 3,
|
|
11554
|
+
id: "soft-delete-vs-destruction",
|
|
11555
|
+
text: "Soft delete vs. destruction"
|
|
11556
|
+
},
|
|
11557
|
+
{
|
|
11558
|
+
type: "param-table",
|
|
11559
|
+
title: "Two different things",
|
|
11560
|
+
params: [
|
|
11561
|
+
{ name: "Soft delete", type: "archive mode", description: "Triggered by ordinary delete actions when archive mode is on. The document is marked deleted and hidden from listings, but content remains in storage and nothing about its history is lost. Audit event: document.deleted." },
|
|
11562
|
+
{ name: "Destruction", type: "disposition only", description: "Triggered only by an approved disposition. Content is permanently deleted; the row remains as a tombstone with the content hash and audit linkage. Audit event: document.disposed, plus a certificate." }
|
|
11563
|
+
]
|
|
11564
|
+
},
|
|
11565
|
+
{
|
|
11566
|
+
type: "paragraph",
|
|
11567
|
+
text: "Every deletion path checks for active legal holds before proceeding and refuses if one applies: user-initiated document deletion, disposition-driven destruction, administrative cleanup, and full workspace deletion. Fail-closed means the check must positively succeed for deletion to proceed. A hold always beats a retention expiry: a document that is both expired and held stays exactly where it is until the hold is released. After destruction, the tombstone preserves the document's identity, its content hash, and its complete audit history, so you can always answer what the record was, when it existed, who touched it, and who approved its destruction."
|
|
11568
|
+
},
|
|
11569
|
+
{
|
|
11570
|
+
type: "callout",
|
|
11571
|
+
variant: "warning",
|
|
11572
|
+
text: "**Roadmap, not yet available:** storage-level WORM locks tied to `retain_until` and lifecycle tiering to archival storage classes (both are designed as infrastructure templates and are not deployed; today retention is enforced at the application layer). Fully automatic event-based retention from extracted dates is intentionally not offered: extracted dates remain proposals requiring human confirmation."
|
|
11573
|
+
}
|
|
11574
|
+
],
|
|
11575
|
+
related: [
|
|
11576
|
+
{ label: "Archive Overview", slug: "archive-overview" },
|
|
11577
|
+
{ label: "Legal Holds", slug: "legal-holds" },
|
|
11578
|
+
{ label: "Audit Trail", slug: "audit-trail" },
|
|
11579
|
+
{ label: "Document Filters", slug: "document-filters" }
|
|
11580
|
+
],
|
|
11581
|
+
faq: [
|
|
11582
|
+
{
|
|
11583
|
+
question: "What happens when a retention policy expires for a document?",
|
|
11584
|
+
answer: "Nothing is destroyed automatically. When a document passes its retain_until date plus the policy grace period, the retention engine moves it to pending_disposition and it appears in the disposition review queue. The document remains fully accessible until an admin explicitly approves destruction with a typed confirmation, and a hold check runs immediately before destruction."
|
|
11585
|
+
},
|
|
11586
|
+
{
|
|
11587
|
+
question: "Which policy applies when several assignments could match a document?",
|
|
11588
|
+
answer: "The most specific assignment wins: a per-document assignment beats a document-type assignment, which beats a source-connection assignment. Each document shows its resolved policy, retain_until date, and retention state, so you can verify the effective policy before relying on it."
|
|
11589
|
+
},
|
|
11590
|
+
{
|
|
11591
|
+
question: "Can I delete a retention policy that is in use?",
|
|
11592
|
+
answer: "Deleting a policy that still has assignments returns a conflict error unless you pass force=true. Removing a policy does not destroy any documents; documents whose policy is removed simply stop having a computed expiry from that policy."
|
|
11593
|
+
},
|
|
11594
|
+
{
|
|
11595
|
+
question: "What is in a disposition certificate?",
|
|
11596
|
+
answer: "The document reference, the filename, the SHA-256 hash of the destroyed content, the retention policy that applied, the approver identity and approval time, the execution time, and confirmation that the legal hold check passed. Certificates are retained permanently and remain queryable after the record itself is destroyed."
|
|
11597
|
+
}
|
|
11598
|
+
],
|
|
11599
|
+
mentions: [
|
|
11600
|
+
"retention policy",
|
|
11601
|
+
"retention schedule",
|
|
11602
|
+
"disposition",
|
|
11603
|
+
"destruction certificate",
|
|
11604
|
+
"grace period",
|
|
11605
|
+
"event-based retention",
|
|
11606
|
+
"soft delete",
|
|
11607
|
+
"tombstone",
|
|
11608
|
+
"retain_until",
|
|
11609
|
+
"review queue"
|
|
11610
|
+
]
|
|
11611
|
+
},
|
|
11612
|
+
{
|
|
11613
|
+
slug: "legal-holds",
|
|
11614
|
+
parentSlug: "enterprise-archive",
|
|
11615
|
+
title: "Legal Holds",
|
|
11616
|
+
seoTitle: "Legal Holds: Preservation That Blocks Every Deletion \u2014 Talonic Docs",
|
|
11617
|
+
description: "Place legal holds at tenant, source, or document set scope. Every deletion path checks holds fail-closed, and release requires typed confirmation with a recorded reason.",
|
|
11618
|
+
content: [
|
|
11619
|
+
{
|
|
11620
|
+
type: "paragraph",
|
|
11621
|
+
text: "A **legal hold** preserves documents that may be relevant to litigation, an investigation, or an audit. While a hold is active, nothing it covers can be deleted by any path in the system, including retention expiry and full workspace deletion. A hold is not a workflow suggestion: it is enforced by the platform. Every deletion path checks for active holds and refuses to proceed while one applies, and the check fails closed. If the system cannot positively confirm that no hold covers a document, the deletion does not happen."
|
|
11622
|
+
},
|
|
11623
|
+
{
|
|
11624
|
+
type: "paragraph",
|
|
11625
|
+
text: 'A hold covers documents at one of three scopes. A **tenant** hold covers every document in the workspace: broad preservation at the start of a matter, before scope is clear. A **source connection** hold covers every document ingested through one connection: "preserve everything from the finance mailbox". A **document set** hold covers an explicit list of documents: targeted preservation once the relevant records are identified. Documents can be added to an existing document-set hold as the matter develops, and a document can be covered by multiple holds at once; it remains protected until every hold covering it is released.'
|
|
11626
|
+
},
|
|
11627
|
+
{
|
|
11628
|
+
type: "paragraph",
|
|
11629
|
+
text: 'Each hold carries metadata that ties it back to the real-world matter: a **name** (for example "Miller v. Acme preservation"), a **case reference** (your matter number or internal case ID), a **custodian** (the person or team responsible for the held material), and a free-text **reason** recorded for the audit trail. These fields make the hold self-documenting: anyone reviewing your audit trail later can see why each hold existed, who owned it, and which matter it belonged to.'
|
|
11630
|
+
},
|
|
11631
|
+
{
|
|
11632
|
+
type: "heading",
|
|
11633
|
+
level: 3,
|
|
11634
|
+
id: "applying-a-hold",
|
|
11635
|
+
text: "Applying a hold"
|
|
11636
|
+
},
|
|
11637
|
+
{
|
|
11638
|
+
type: "paragraph",
|
|
11639
|
+
text: "Workspace admins create holds from Settings under Archive or through the API. Choose the scope, fill in the name, case reference, custodian, and reason, and create the hold. It is active immediately. For document-set holds, attach documents at creation or add them later; each attachment takes effect immediately. Applying a hold emits a `hold.applied` audit event recording who created it, when, and its scope. Held documents carry an `on_hold` flag in the document list and API, so you can verify coverage with a filter."
|
|
11640
|
+
},
|
|
11641
|
+
{
|
|
11642
|
+
type: "code",
|
|
11643
|
+
language: "bash",
|
|
11644
|
+
title: "Create a hold and attach documents",
|
|
11645
|
+
code: `# Create a document-set hold (admin only)
|
|
11646
|
+
curl -X POST "$API_URL/records/legal-holds" \\
|
|
11647
|
+
-H "Authorization: Bearer $TOKEN" \\
|
|
11648
|
+
-H "Content-Type: application/json" \\
|
|
11649
|
+
-d '{
|
|
11650
|
+
"name": "Miller v. Acme preservation",
|
|
11651
|
+
"case_reference": "2026-CV-1847",
|
|
11652
|
+
"custodian": "Legal / J. Winters",
|
|
11653
|
+
"reason": "Preservation duty arising from litigation notice dated 2026-07-01",
|
|
11654
|
+
"scope_type": "document_set",
|
|
11655
|
+
"document_ids": ["<doc-id-1>", "<doc-id-2>"]
|
|
11656
|
+
}'
|
|
11657
|
+
|
|
11658
|
+
# Attach more documents as the matter develops
|
|
11659
|
+
curl -X POST "$API_URL/records/legal-holds/$HOLD_ID/documents" \\
|
|
11660
|
+
-H "Authorization: Bearer $TOKEN" \\
|
|
11661
|
+
-H "Content-Type: application/json" \\
|
|
11662
|
+
-d '{"document_ids": ["<doc-id-3>"]}'`
|
|
11663
|
+
},
|
|
11664
|
+
{
|
|
11665
|
+
type: "heading",
|
|
11666
|
+
level: 3,
|
|
11667
|
+
id: "releasing-a-hold",
|
|
11668
|
+
text: "Releasing a hold"
|
|
11669
|
+
},
|
|
11670
|
+
{
|
|
11671
|
+
type: "paragraph",
|
|
11672
|
+
text: "Releasing a hold is deliberately harder than applying one, because release re-enables destruction. A workspace admin initiates the release, and the system requires a **typed confirmation**: you type the hold's exact name to prove the release is intentional, not an accidental click. A release reason is required and recorded, along with who released the hold and when, and a `hold.released` audit event is written. Workspaces that enable the **step-up requirement** additionally demand a fresh TOTP code (the `X-Step-Up-Code` header) on hold release, disposition approval, erasure actions, and tenant export, so possession of a logged-in session alone is not enough for the highest-impact actions. After release, documents protected only by that hold return to their normal lifecycle. If a document's retention period expired while it was held, it is not destroyed automatically: it enters the standard disposition review queue and still requires explicit approval."
|
|
11673
|
+
},
|
|
11674
|
+
{
|
|
11675
|
+
type: "code",
|
|
11676
|
+
language: "bash",
|
|
11677
|
+
title: "Release a hold with typed confirmation",
|
|
11678
|
+
code: `curl -X POST "$API_URL/records/legal-holds/$HOLD_ID/release" \\
|
|
11679
|
+
-H "Authorization: Bearer $TOKEN" \\
|
|
11680
|
+
-H "Content-Type: application/json" \\
|
|
11681
|
+
-d '{
|
|
11682
|
+
"confirm_name": "Miller v. Acme preservation",
|
|
11683
|
+
"reason": "Matter settled; preservation duty ended 2026-07-15"
|
|
11684
|
+
}'
|
|
11685
|
+
# A confirm_name that does not exactly match the hold name is rejected
|
|
11686
|
+
# with a validation error and nothing is released.`
|
|
11687
|
+
},
|
|
11688
|
+
{
|
|
11689
|
+
type: "heading",
|
|
11690
|
+
level: 3,
|
|
11691
|
+
id: "holds-vs-retention",
|
|
11692
|
+
text: "Holds and retention: the hold always wins"
|
|
11693
|
+
},
|
|
11694
|
+
{
|
|
11695
|
+
type: "paragraph",
|
|
11696
|
+
text: "Retention policies and legal holds can point in opposite directions, and the rule is simple: **an active hold always overrides retention expiry.** A document past its `retain_until` date that is covered by a hold is not destroyed and does not leave the system. The retention engine may mark it pending disposition, but the disposition path re-checks holds immediately before destruction and fails closed. The hold does not change the retention clock, and it does not extend retention for its own sake: when the hold is released, the document's retention state is evaluated as it stands, and an already-expired document goes to the disposition review queue."
|
|
11697
|
+
},
|
|
11698
|
+
{
|
|
11699
|
+
type: "param-table",
|
|
11700
|
+
title: "What is blocked while a hold is active",
|
|
11701
|
+
params: [
|
|
11702
|
+
{ name: "User document deletion", type: "UI or API", description: "Refused with an explicit hold error. In archive mode even the soft delete is refused, so a held document does not disappear from listings." },
|
|
11703
|
+
{ name: "Disposition destruction", type: "records workflow", description: "Refused. The document stays in the queue and the failed hold check is recorded." },
|
|
11704
|
+
{ name: "Storage-level file deletion", type: "privileged path", description: "The file store performs its own hold check before deleting blobs and fails closed if the check cannot complete." },
|
|
11705
|
+
{ name: "Workspace deletion", type: "admin operation", description: "Refused entirely while any active hold exists in the workspace." }
|
|
11706
|
+
]
|
|
11707
|
+
},
|
|
11708
|
+
{
|
|
11709
|
+
type: "paragraph",
|
|
11710
|
+
text: "Workspace deletion deserves emphasis: even a request to delete the entire workspace is refused while holds are active, and the refusal is recorded as a `tenant.deletion_blocked_by_hold` audit event. A platform superadmin can override this in exceptional circumstances, but the override requires its own typed confirmation and writes a `hold.override_released` audit event identifying who overrode which hold and why. There is no silent path around a hold."
|
|
11711
|
+
},
|
|
11712
|
+
{
|
|
11713
|
+
type: "callout",
|
|
11714
|
+
variant: "info",
|
|
11715
|
+
text: "Every hold lifecycle event lands in the tamper-evident audit trail: `hold.applied` with scope and case reference, `hold.released` with the release reason, and superadmin overrides as separately recorded `hold.override_released` events. Because audit events are hash-chained and survive document destruction, you can demonstrate after the fact that a hold was in place for a given period and that nothing covered by it was destroyed."
|
|
11716
|
+
},
|
|
11717
|
+
{
|
|
11718
|
+
type: "callout",
|
|
11719
|
+
variant: "warning",
|
|
11720
|
+
text: "**Roadmap, not yet available:** applying a hold directly to a saved search (today, run the search and attach the results as a document set), and automatic custodian notifications when a hold is applied or released."
|
|
11721
|
+
}
|
|
11722
|
+
],
|
|
11723
|
+
related: [
|
|
11724
|
+
{ label: "Archive Overview", slug: "archive-overview" },
|
|
11725
|
+
{ label: "Retention & Deletion", slug: "retention-and-deletion" },
|
|
11726
|
+
{ label: "Audit Trail", slug: "audit-trail" },
|
|
11727
|
+
{ label: "Document Filters", slug: "document-filters" }
|
|
11728
|
+
],
|
|
11729
|
+
faq: [
|
|
11730
|
+
{
|
|
11731
|
+
question: "Can anything delete a document that is under an active legal hold?",
|
|
11732
|
+
answer: "No. Every deletion path checks for active holds and fails closed: user deletion, disposition-driven destruction, storage-level file deletion, administrative cleanup, and full workspace deletion. The only exception is a platform superadmin override of a hold itself, which requires typed confirmation and writes its own audit event. There is no silent path around a hold."
|
|
11733
|
+
},
|
|
11734
|
+
{
|
|
11735
|
+
question: "What happens when a held document passes its retention expiry?",
|
|
11736
|
+
answer: "It stays exactly where it is. The retention engine may mark it pending disposition, but the disposition path re-checks holds immediately before destruction and refuses. When the hold is later released, the already-expired document enters the standard disposition review queue and still requires explicit admin approval before destruction."
|
|
11737
|
+
},
|
|
11738
|
+
{
|
|
11739
|
+
question: "Who can create and release legal holds?",
|
|
11740
|
+
answer: "Workspace admins. Creating a hold takes effect immediately. Releasing one requires typing the hold's exact name as confirmation plus a release reason, and both the release and the reason are recorded in the audit trail. Viewers can see hold status on documents but cannot apply or release holds."
|
|
11741
|
+
},
|
|
11742
|
+
{
|
|
11743
|
+
question: "Can one document be covered by more than one hold?",
|
|
11744
|
+
answer: "Yes. A document can be covered by a tenant-wide hold, a source connection hold, and any number of document-set holds at the same time. It remains protected until every hold covering it is released."
|
|
11745
|
+
}
|
|
11746
|
+
],
|
|
11747
|
+
mentions: [
|
|
11748
|
+
"legal hold",
|
|
11749
|
+
"preservation order",
|
|
11750
|
+
"custodian",
|
|
11751
|
+
"case reference",
|
|
11752
|
+
"fail-closed enforcement",
|
|
11753
|
+
"typed confirmation",
|
|
11754
|
+
"hold release",
|
|
11755
|
+
"superadmin override",
|
|
11756
|
+
"workspace deletion"
|
|
11757
|
+
]
|
|
11758
|
+
},
|
|
11759
|
+
{
|
|
11760
|
+
slug: "audit-trail",
|
|
11761
|
+
parentSlug: "enterprise-archive",
|
|
11762
|
+
title: "Audit Trail",
|
|
11763
|
+
seoTitle: "Tamper-Evident Audit Trail with Hash Chaining \u2014 Talonic Docs",
|
|
11764
|
+
description: "Every access and lifecycle event is recorded server-side in a per-tenant hash chain. Query, filter, export as CSV, and verify chain integrity through the API.",
|
|
11765
|
+
content: [
|
|
11766
|
+
{
|
|
11767
|
+
type: "paragraph",
|
|
11768
|
+
text: "Talonic records every meaningful access and lifecycle event on your documents in a server-side, append-only audit trail. Events are chained together with cryptographic hashes per workspace, so tampering is detectable, and audit history survives the destruction of the records it describes. Audit events are emitted by the server, not the browser: an API call that touches a document produces the same audit event as a click in the UI, so there is no way to read or change a record without leaving a trace."
|
|
11769
|
+
},
|
|
11770
|
+
{
|
|
11771
|
+
type: "param-table",
|
|
11772
|
+
title: "Recorded events",
|
|
11773
|
+
params: [
|
|
11774
|
+
{ name: "document.viewed", type: "access", description: "A document is opened and its content read." },
|
|
11775
|
+
{ name: "document.downloaded", type: "access", description: "A document's original file is downloaded." },
|
|
11776
|
+
{ name: "document.exported", type: "access", description: "A document is exported." },
|
|
11777
|
+
{ name: "document.deleted", type: "lifecycle", description: "A document is deleted (a soft delete when archive mode is on)." },
|
|
11778
|
+
{ name: "document.disposed", type: "lifecycle", description: "Content is destroyed through the disposition workflow." },
|
|
11779
|
+
{ name: "retention.*", type: "records", description: "Policy created, updated, or deleted; assignments added or removed; expiry dates computed (retention.set)." },
|
|
11780
|
+
{ name: "disposition.*", type: "records", description: "Documents entering the review queue (disposition.pending) and approvals (disposition.approved)." },
|
|
11781
|
+
{ name: "hold.*", type: "records", description: "Holds applied, released, and superadmin overrides (hold.applied, hold.released, hold.override_released)." },
|
|
11782
|
+
{ name: "archive.settings_changed", type: "settings", description: "Archive mode, step-up requirement, or storage quota changed." },
|
|
11783
|
+
{ name: "tenant.deletion_blocked_by_hold", type: "enforcement", description: "A workspace deletion refused because active holds exist." },
|
|
11784
|
+
{ name: "fixity.*", type: "integrity", description: "Fixity verification: per-document mismatches (with quarantine), completed verification cycles, and orphan reports." },
|
|
11785
|
+
{ name: "audit.anchored", type: "integrity", description: "A daily chain-head anchor written to external storage." },
|
|
11786
|
+
{ name: "erasure.* / export.*", type: "workflows", description: "Erasure request lifecycle (requested, located, approved, rejected, executed) and tenant export jobs (requested, completed, failed)." },
|
|
11787
|
+
{ name: "compartment.* / scim.* / auth.*", type: "access", description: "Compartment changes, SCIM provisioning and token lifecycle, MFA enrollment and disablement, failed step-up attempts." }
|
|
11788
|
+
]
|
|
11789
|
+
},
|
|
11790
|
+
{
|
|
11791
|
+
type: "paragraph",
|
|
11792
|
+
text: "Each event records when it happened (a server-side timestamp), who acted, what entity the event concerns (type, ID, and a display label), why (a reason field where the action carries one, for example a hold release reason), and request context. Actors are identified by type and identity: `user` (a person, with their user ID and label), `api_key` (a machine integration, with the specific key's identity), `system` (Talonic itself, for example the retention engine), or `superadmin` (platform-level administrative action). API-key attribution matters in practice: when an integration reads or exports documents, the trail shows exactly which key did it, not a generic API entry."
|
|
11793
|
+
},
|
|
11794
|
+
{
|
|
11795
|
+
type: "heading",
|
|
11796
|
+
level: 3,
|
|
11797
|
+
id: "hash-chain",
|
|
11798
|
+
text: "Tamper evidence: the per-workspace hash chain"
|
|
11799
|
+
},
|
|
11800
|
+
{
|
|
11801
|
+
type: "paragraph",
|
|
11802
|
+
text: "Recording events is not enough for an archive; you also need to show they have not been altered after the fact. When an event is written, Talonic computes a SHA-256 fingerprint of the event's contents, and the calculation includes the fingerprint of the previous event in that workspace's log. Each event therefore carries two values: its own `event_hash` and the `prev_hash` of its predecessor. Every event's fingerprint depends on the entire history before it: if anyone edits, deletes, or inserts a past event, verification fails at exactly the first altered event. Events are written in a strictly serialized order per workspace, so the chain is linear and unambiguous."
|
|
11803
|
+
},
|
|
11804
|
+
{
|
|
11805
|
+
type: "paragraph",
|
|
11806
|
+
text: "What this gives you: the ability to demonstrate to an auditor that the log you present is the log that was written, in the order it was written. What it does not do: it is not access control (that is handled separately by tenant isolation and roles). Tamper evidence makes alteration detectable, not impossible. Verification is self-serve: the verify endpoint walks the chain from the start and reports either a fully valid chain or the exact first broken event."
|
|
11807
|
+
},
|
|
11808
|
+
{
|
|
11809
|
+
type: "paragraph",
|
|
11810
|
+
text: "An in-database chain alone has a known limit: an attacker with full database write access could rewrite an entire chain consistently. To close that gap, Talonic **anchors** each workspace's chain daily: a small record containing the latest event ID and the chain head hash (linked to the previous anchor) is written to external object storage, outside the database. Verification then checks both directions: the chain walk catches an inconsistent tamper, and the anchor cross-check catches a consistent full-chain rewrite, because a rewritten chain no longer matches the anchored heads. Today anchors are stored in the encrypted, versioned object store with application-level write-once protection; anchoring to storage-level WORM (S3 Object Lock) follows the archive storage rollout and is on the roadmap."
|
|
11811
|
+
},
|
|
11812
|
+
{
|
|
11813
|
+
type: "code",
|
|
11814
|
+
language: "bash",
|
|
11815
|
+
title: "Verify chain integrity and anchors",
|
|
11816
|
+
code: 'curl "$API_URL/records/audit-events/verify" \\\n -H "Authorization: Bearer $TOKEN"'
|
|
11817
|
+
},
|
|
11818
|
+
{
|
|
11819
|
+
type: "code",
|
|
11820
|
+
language: "json",
|
|
11821
|
+
title: "Response",
|
|
11822
|
+
code: '{\n "valid": true,\n "checked": 48210,\n "anchors_checked": 31\n}'
|
|
11823
|
+
},
|
|
11824
|
+
{
|
|
11825
|
+
type: "heading",
|
|
11826
|
+
level: 3,
|
|
11827
|
+
id: "audit-outlives-records",
|
|
11828
|
+
text: "Audit data outlives the records"
|
|
11829
|
+
},
|
|
11830
|
+
{
|
|
11831
|
+
type: "paragraph",
|
|
11832
|
+
text: "Audit events do not belong to the documents they describe. They reference their subject by type and ID without a database dependency, so deleting a document never deletes its audit history. When a document's content is destroyed through disposition, a tombstone remains: the document row survives with its content hash and audit linkage intact. The complete audit history of a destroyed record therefore remains queryable: every view, every download, the retention policy that governed it, the approval that authorized destruction, and the disposition certificate. The story of a record does not end when its content does."
|
|
11833
|
+
},
|
|
11834
|
+
{
|
|
11835
|
+
type: "heading",
|
|
11836
|
+
level: 3,
|
|
11837
|
+
id: "querying-exporting",
|
|
11838
|
+
text: "Querying, filtering, and exporting"
|
|
11839
|
+
},
|
|
11840
|
+
{
|
|
11841
|
+
type: "paragraph",
|
|
11842
|
+
text: "Workspace admins can query the audit trail in the UI and through the API, filtered by time range, action, actor, and entity. Common questions the log answers directly: who has accessed this document, ever? What did this API key touch last month? What was destroyed in this period, and who approved each destruction? Which holds were active during the relevant window? The filtered result set can be exported as CSV for auditors, legal teams, or your own scheduled retention of audit extracts, so you can also pull audit data into a SIEM on a schedule."
|
|
11843
|
+
},
|
|
11844
|
+
{
|
|
11845
|
+
type: "code",
|
|
11846
|
+
language: "bash",
|
|
11847
|
+
title: "Query and export audit events",
|
|
11848
|
+
code: '# Everything a specific API key downloaded in June (admin only)\ncurl "$API_URL/records/audit-events?action=document.downloaded&actor=<api-key-id>&from=2026-06-01&to=2026-07-01" \\\n -H "Authorization: Bearer $TOKEN"\n\n# Full history of one document, including after destruction\ncurl "$API_URL/records/audit-events?entity_type=document&entity_id=$DOCUMENT_ID" \\\n -H "Authorization: Bearer $TOKEN"\n\n# Export the same filters as CSV\ncurl "$API_URL/records/audit-events/export?from=2026-01-01&to=2026-04-01" \\\n -H "Authorization: Bearer $TOKEN" -o audit-q1.csv'
|
|
11849
|
+
},
|
|
11850
|
+
{
|
|
11851
|
+
type: "callout",
|
|
11852
|
+
variant: "info",
|
|
11853
|
+
text: "Audit querying, export, and chain verification are available to workspace admins. Viewers do not have access to the workspace-wide audit log. Audit emission never blocks the operation it records: events are written asynchronously so a logging failure cannot make a document read fail."
|
|
11854
|
+
},
|
|
11855
|
+
{
|
|
11856
|
+
type: "callout",
|
|
11857
|
+
variant: "warning",
|
|
11858
|
+
text: "**Roadmap, not yet available:** chain anchors on storage-level WORM (today anchors land in the encrypted, versioned object store with application-level write-once protection, not on S3 Object Lock), permission-change events as first-class audit events, qualified timestamps on audit events, and streaming delivery to external SIEM systems (today, use scheduled CSV export via the API)."
|
|
11859
|
+
}
|
|
11860
|
+
],
|
|
11861
|
+
related: [
|
|
11862
|
+
{ label: "Archive Overview", slug: "archive-overview" },
|
|
11863
|
+
{ label: "Retention & Deletion", slug: "retention-and-deletion" },
|
|
11864
|
+
{ label: "Legal Holds", slug: "legal-holds" },
|
|
11865
|
+
{ label: "API Keys", slug: "api-keys" }
|
|
11866
|
+
],
|
|
11867
|
+
faq: [
|
|
11868
|
+
{
|
|
11869
|
+
question: "How does Talonic detect tampering with the audit log?",
|
|
11870
|
+
answer: "Each event carries a SHA-256 hash of its own contents combined with the hash of the previous event in the workspace, forming a per-workspace hash chain. Editing, deleting, or inserting a past event breaks every hash from that point forward, and the verify endpoint reports the exact first broken event. Events are written in strictly serialized order per workspace, so the chain is linear."
|
|
11871
|
+
},
|
|
11872
|
+
{
|
|
11873
|
+
question: "Does deleting a document delete its audit history?",
|
|
11874
|
+
answer: "No. Audit events reference their subject by type and ID without a database dependency on the document row, so no deletion cascades into the log. After disposition, the document's tombstone plus its complete audit history remain queryable: every access, the governing retention policy, the destruction approval, and the certificate."
|
|
11875
|
+
},
|
|
11876
|
+
{
|
|
11877
|
+
question: "Are API and integration accesses audited the same way as UI actions?",
|
|
11878
|
+
answer: "Yes. Events are emitted server-side, so a raw API call produces the same audit event as a UI click. API-key actors are recorded with the specific key's identity and label, giving you per-integration accountability if you scope keys per integration."
|
|
11879
|
+
},
|
|
11880
|
+
{
|
|
11881
|
+
question: "Can I export audit data for an external auditor or SIEM?",
|
|
11882
|
+
answer: "Yes. The audit-events endpoint supports time, action, actor, and entity filters, and the export endpoint streams the same filtered result set as CSV. Streaming delivery to SIEM systems is on the roadmap; today, scheduled export via the API is the supported pattern."
|
|
11883
|
+
}
|
|
11884
|
+
],
|
|
11885
|
+
mentions: [
|
|
11886
|
+
"audit trail",
|
|
11887
|
+
"hash chain",
|
|
11888
|
+
"tamper evidence",
|
|
11889
|
+
"SHA-256",
|
|
11890
|
+
"append-only log",
|
|
11891
|
+
"actor attribution",
|
|
11892
|
+
"API key accountability",
|
|
11893
|
+
"chain verification",
|
|
11894
|
+
"CSV export",
|
|
11895
|
+
"tombstone"
|
|
11896
|
+
]
|
|
11897
|
+
},
|
|
11898
|
+
{
|
|
11899
|
+
slug: "security-architecture",
|
|
11900
|
+
parentSlug: "enterprise-archive",
|
|
11901
|
+
title: "Security Architecture",
|
|
11902
|
+
seoTitle: "Archive Security Architecture: Fixity, Hash Chain, Anchoring \u2014 Talonic Docs",
|
|
11903
|
+
description: "How the archive protects content: SHA-256 fixity cycles, a hash-chained and anchored audit trail, write-once encrypted storage, compartments, MFA and step-up, SCIM, erasure, export, and disaster recovery. Mechanisms with honest status.",
|
|
11904
|
+
content: [
|
|
11905
|
+
{
|
|
11906
|
+
type: "paragraph",
|
|
11907
|
+
text: "This page describes the security mechanisms behind the archive promises: what protects stored content, how tampering is detected, who can see and do what, and what happens in a disaster. Every claim here names its mechanism, and anything that is not yet deployed is labeled as roadmap rather than implied. Talonic does not currently hold formal certifications; a control-by-control mapping against SOC 2 TSC and ISO 27001:2022 Annex A is maintained alongside the codebase and is available on request."
|
|
11908
|
+
},
|
|
11909
|
+
{
|
|
11910
|
+
type: "heading",
|
|
11911
|
+
level: 3,
|
|
11912
|
+
id: "sa-content-integrity",
|
|
11913
|
+
text: "Content integrity: fixity at ingest and on schedule"
|
|
11914
|
+
},
|
|
11915
|
+
{
|
|
11916
|
+
type: "paragraph",
|
|
11917
|
+
text: "Every document is hashed (SHA-256 over the original bytes) at ingest, and the hash is persisted with the document. Integrity is then continuously re-proven, not assumed: a daily verification cycle streams stored content back out of object storage, recomputes the hash, and compares it against the ingest-time value. The batch size adapts so the entire corpus is re-verified within a configurable window (30 days by default), least-recently-checked documents first, and documents uploaded through presigned URLs get a priority first check. A mismatch quarantines the document (it is flagged, not silently served), writes a check record, and lands in the audit trail; every completed cycle is also recorded. A weekly sweep reconciles the blob store against database references in both directions and reports orphans."
|
|
11918
|
+
},
|
|
11919
|
+
{
|
|
11920
|
+
type: "code",
|
|
11921
|
+
language: "bash",
|
|
11922
|
+
title: "Inspect fixity state (admin only)",
|
|
11923
|
+
code: `# Recent checks, mismatches first
|
|
11924
|
+
curl "$API_URL/records/fixity-checks?status=mismatch" \\
|
|
11925
|
+
-H "Authorization: Bearer $TOKEN"
|
|
11926
|
+
|
|
11927
|
+
# On-demand check of one document
|
|
11928
|
+
curl -X POST "$API_URL/records/fixity-checks/run" \\
|
|
11929
|
+
-H "Authorization: Bearer $TOKEN" \\
|
|
11930
|
+
-H "Content-Type: application/json" \\
|
|
11931
|
+
-d '{"document_id": "<doc-id>"}'`
|
|
11932
|
+
},
|
|
11933
|
+
{
|
|
11934
|
+
type: "heading",
|
|
11935
|
+
level: 3,
|
|
11936
|
+
id: "sa-chain-anchoring",
|
|
11937
|
+
text: "Tamper evidence: hash chain plus external anchors"
|
|
11938
|
+
},
|
|
11939
|
+
{
|
|
11940
|
+
type: "paragraph",
|
|
11941
|
+
text: "The audit trail is a per-workspace hash chain: each event carries a SHA-256 fingerprint of its contents combined with the previous event's fingerprint, written in strictly serialized order. The chain alone makes any in-place edit, deletion, or insertion detectable at the exact first altered event. Its known limit is an attacker with full database write access, who could rewrite an entire chain consistently. That is what anchoring addresses: every day, each workspace's chain head (latest event ID plus head hash, linked to the previous anchor) is written to external object storage, outside the database. Verification cross-checks every stored anchor against the live chain, so a consistent rewrite no longer verifies. Anchors currently land in the encrypted, versioned object store with application-level write-once protection; anchoring to storage-level WORM follows the archive storage rollout."
|
|
11942
|
+
},
|
|
11943
|
+
{
|
|
11944
|
+
type: "heading",
|
|
11945
|
+
level: 3,
|
|
11946
|
+
id: "sa-storage-protection",
|
|
11947
|
+
text: "Storage protection: write-once, encrypted, versioned"
|
|
11948
|
+
},
|
|
11949
|
+
{
|
|
11950
|
+
type: "list",
|
|
11951
|
+
ordered: false,
|
|
11952
|
+
items: [
|
|
11953
|
+
"**Application-level write-once.** Canonical storage keys are written with an existence guard: an attempt to overwrite a stored object is rejected with a conflict error. There is no code path that legitimately rewrites stored bytes.",
|
|
11954
|
+
"**Server-side encryption on every write.** Every object put carries server-side encryption. Deployments configured with a customer-managed KMS key encrypt under that key; otherwise AES-256 managed encryption applies.",
|
|
11955
|
+
"**Reasoned, hold-checked deletion.** Storage-level delete endpoints require an explicit recorded reason and pass the fail-closed legal hold check before removing anything.",
|
|
11956
|
+
"**Versioning and infrastructure protection.** Production buckets are versioned (deleted or overwritten objects are recoverable from prior versions) and protected against bucket deletion at the infrastructure level.",
|
|
11957
|
+
"**Storage-level WORM: roadmap.** S3 Object Lock (governance mode, per-object retention driven by the record's retention date) plus cross-region replication with a 15 minute replication SLA exist as validated infrastructure templates. The archive bucket is not deployed and no Object Lock claim applies to the current release."
|
|
11958
|
+
]
|
|
11959
|
+
},
|
|
11960
|
+
{
|
|
11961
|
+
type: "heading",
|
|
11962
|
+
level: 3,
|
|
11963
|
+
id: "sa-access-control",
|
|
11964
|
+
text: "Access control: isolation, roles, compartments, MFA"
|
|
11965
|
+
},
|
|
11966
|
+
{
|
|
11967
|
+
type: "paragraph",
|
|
11968
|
+
text: "Access is layered. Workspace isolation scopes every query to the tenant. Role-based access control fails closed: a route that mutates state is denied unless it is explicitly opened to a role tier, so a forgotten permission check results in denial, not exposure. **Compartments** add need-to-know inside a workspace: named user groups are bound to sources, document types, or individual documents, and restricted members and viewers see only uncompartmented documents plus their own compartments, enforced through a single SQL predicate applied at every document query path (list, detail, file access, export, and the AI agent's search). Owners and workspaces without compartments are unaffected."
|
|
11969
|
+
},
|
|
11970
|
+
{
|
|
11971
|
+
type: "paragraph",
|
|
11972
|
+
text: "Authentication supports **TOTP multi-factor authentication** (standard authenticator apps; the secret is encrypted at rest, and login becomes a two-phase exchange once MFA is confirmed). Workspaces can additionally require **step-up verification**: with the setting on, the highest-impact archive actions (hold release, disposition approval, erasure scoping and execution, tenant export, and the superadmin hold override) demand a fresh TOTP code in the `X-Step-Up-Code` header, so a hijacked session alone cannot destroy or exfiltrate records. Failed step-up attempts are audited. User lifecycle can be driven by your identity provider through **SCIM 2.0**: users are provisioned and deprovisioned by the IdP, deprovisioning blocks the next request at the membership gate, group sync maps to org roles or compartments, and SCIM tokens are shown once and stored only as hashes."
|
|
11973
|
+
},
|
|
11974
|
+
{
|
|
11975
|
+
type: "heading",
|
|
11976
|
+
level: 3,
|
|
11977
|
+
id: "sa-erasure-export-dr",
|
|
11978
|
+
text: "Erasure, export, and disaster recovery"
|
|
11979
|
+
},
|
|
11980
|
+
{
|
|
11981
|
+
type: "paragraph",
|
|
11982
|
+
text: "GDPR erasure requests run through a locate, scope, approve, execute workflow with per-document redact or destroy modes; retention duties and legal holds block destruction and are reported as certificate exemptions rather than silently skipped. Full-workspace data comes back as a verifiable export bundle with a per-file SHA-256 manifest (see **Export Bundle Format**). For disaster recovery: the database has continuous backup with point-in-time recovery, storage is versioned, and a finalized restore procedure with a quarterly drill checklist exists. The committed recovery objectives are 15 minutes for storage, 5 minutes for the database, and 4 hours to full service; a quarterly restore drill validates them against measured wall-clock times."
|
|
11983
|
+
},
|
|
11984
|
+
{
|
|
11985
|
+
type: "callout",
|
|
11986
|
+
variant: "warning",
|
|
11987
|
+
text: "**Honest status summary.** Shipped and active: fixity cycles, chain anchoring, application-level write-once with server-side encryption, compartments, MFA and step-up, SCIM, erasure, tenant export. Designed but not deployed: S3 Object Lock, cross-region replication, replication alarms, KMS customer-managed keys as the default. Not built: qualified timestamps (eIDAS). Certifications: none held; control mapping maintained in-repo."
|
|
11988
|
+
}
|
|
11989
|
+
],
|
|
11990
|
+
related: [
|
|
11991
|
+
{ label: "Archive Overview", slug: "archive-overview" },
|
|
11992
|
+
{ label: "Audit Trail", slug: "audit-trail" },
|
|
11993
|
+
{ label: "Export Bundle Format", slug: "export-bundle-format" },
|
|
11994
|
+
{ label: "Team Management", slug: "team-management" }
|
|
11995
|
+
],
|
|
11996
|
+
faq: [
|
|
11997
|
+
{
|
|
11998
|
+
question: "How does Talonic prove stored documents have not been corrupted or altered?",
|
|
11999
|
+
answer: "Every document is hashed with SHA-256 at ingest, and a daily fixity cycle re-reads stored content and re-verifies the hash, covering the whole corpus within a configurable window. A mismatch quarantines the document and is recorded in the audit trail. Admins can also trigger an on-demand check for any single document."
|
|
12000
|
+
},
|
|
12001
|
+
{
|
|
12002
|
+
question: "What stops an attacker with database access from rewriting the audit trail?",
|
|
12003
|
+
answer: "The chain hash makes inconsistent edits detectable, and daily anchors close the consistent-rewrite gap: each workspace's chain head is written to external object storage every day, and verification cross-checks every anchor against the live chain. A rewritten chain no longer matches its anchors."
|
|
12004
|
+
},
|
|
12005
|
+
{
|
|
12006
|
+
question: "Is data encrypted, and who holds the keys?",
|
|
12007
|
+
answer: "Every object write carries server-side encryption (AES-256 managed keys by default). Deployments configured with a customer-managed KMS key encrypt under that key; the dedicated-key infrastructure is templated for archive deployments and applies once the archive storage stack is deployed."
|
|
12008
|
+
},
|
|
12009
|
+
{
|
|
12010
|
+
question: "Can I restrict which documents specific team members see?",
|
|
12011
|
+
answer: "Yes. Compartments bind named user groups to sources, document types, or individual documents. Restricted members and viewers see only uncompartmented documents plus the compartments they belong to, enforced in every document query path including the AI agent. Owners always see everything, and workspaces that never configure compartments behave exactly as before."
|
|
12012
|
+
}
|
|
12013
|
+
],
|
|
12014
|
+
mentions: [
|
|
12015
|
+
"security architecture",
|
|
12016
|
+
"fixity verification",
|
|
12017
|
+
"hash chain anchoring",
|
|
12018
|
+
"write-once storage",
|
|
12019
|
+
"server-side encryption",
|
|
12020
|
+
"access compartments",
|
|
12021
|
+
"multi-factor authentication",
|
|
12022
|
+
"step-up verification",
|
|
12023
|
+
"SCIM provisioning",
|
|
12024
|
+
"disaster recovery"
|
|
12025
|
+
]
|
|
12026
|
+
},
|
|
12027
|
+
{
|
|
12028
|
+
slug: "export-bundle-format",
|
|
12029
|
+
parentSlug: "enterprise-archive",
|
|
12030
|
+
title: "Export Bundle Format",
|
|
12031
|
+
seoTitle: "Tenant Export Bundle Format v1 (BagIt-style) \u2014 Talonic Docs",
|
|
12032
|
+
description: "The full-workspace export bundle: originals, markdown, values with provenance, the audit log, a per-file SHA-256 manifest, and bag-info metadata. Format version 1 specification.",
|
|
12033
|
+
content: [
|
|
12034
|
+
{
|
|
12035
|
+
type: "paragraph",
|
|
12036
|
+
text: "The tenant export produces a single zip bundle containing everything a workspace holds: original files, extracted content, structured values with provenance, and the complete audit log, each entry hashed into a manifest so the receiver can verify the bundle file by file. The layout follows the spirit of the BagIt packaging convention: payload directories plus a top-level checksum manifest and a bag-info metadata file. The format is versioned; this page specifies **format version 1**."
|
|
12037
|
+
},
|
|
12038
|
+
{
|
|
12039
|
+
type: "param-table",
|
|
12040
|
+
title: "Bundle layout (v1)",
|
|
12041
|
+
params: [
|
|
12042
|
+
{ name: "/originals/<docid>-<filename>", type: "payload", description: "The original ingested bytes of each document, named by document ID plus a sanitized filename." },
|
|
12043
|
+
{ name: "/markdown/<docid>.md", type: "payload", description: "The extracted markdown of each document that has one." },
|
|
12044
|
+
{ name: "/values/<docid>.jsonl", type: "payload", description: "One JSON object per line per stored value cell: the latest value-plane cells with provenance for that document." },
|
|
12045
|
+
{ name: "/audit/audit-events.csv", type: "payload", description: "The workspace audit log as CSV (capped at 50,000 rows in v1)." },
|
|
12046
|
+
{ name: "/bag-info.json", type: "metadata", description: "Bundle metadata: format version, workspace, generation time, and per-payload counts." },
|
|
12047
|
+
{ name: "/manifest-sha256.txt", type: "manifest", description: "One line per bundle entry: the SHA-256 hex digest, two spaces, the entry path. The manifest itself is the last file added and is not self-referential." }
|
|
12048
|
+
]
|
|
12049
|
+
},
|
|
12050
|
+
{
|
|
12051
|
+
type: "code",
|
|
12052
|
+
language: "json",
|
|
12053
|
+
title: "bag-info.json (v1 fields)",
|
|
12054
|
+
code: '{\n "export_format_version": 1,\n "tenant": "<workspace-id>",\n "generated_at": "2026-07-18T04:12:09.331Z",\n "counts": {\n "documents": 3465,\n "originals": 3465,\n "missing_originals": 0,\n "markdown": 3441,\n "values": 3390,\n "audit_events": 48210\n }\n}'
|
|
12055
|
+
},
|
|
12056
|
+
{
|
|
12057
|
+
type: "paragraph",
|
|
12058
|
+
text: "Each line of a `/values/<docid>.jsonl` file is one value cell with its provenance: `record_set_id`, `layer`, `record_id`, `field_key`, `data_type`, the typed `value`, `normalized_value`, `confidence`, `status`, `source`, `audit_ref`, `cell_version`, and `created_at`. This gives the receiving system not just the data but where each value stands in the processing lifecycle and which audit reference produced it."
|
|
12059
|
+
},
|
|
12060
|
+
{
|
|
12061
|
+
type: "code",
|
|
12062
|
+
language: "bash",
|
|
12063
|
+
title: "Request, poll, and download a bundle (admin only; step-up if enabled)",
|
|
12064
|
+
code: '# Enqueue the export (returns the job row)\ncurl -X POST "$API_URL/records/tenant-export" \\\n -H "Authorization: Bearer $TOKEN" \\\n -H "X-Step-Up-Code: 123456"\n\n# Poll until status is completed\ncurl "$API_URL/records/tenant-export/$JOB_ID" \\\n -H "Authorization: Bearer $TOKEN"\n# \u2192 { "status": "completed", "download_url": ".../records/tenant-export/<id>/download",\n# "manifest": { "bag_info": { ... }, "bundle_sha256": "\u2026", "bundle_bytes": 1287340032, "entry_count": 10344 } }\n\n# Stream the zip\ncurl -L "$API_URL/records/tenant-export/$JOB_ID/download" \\\n -H "Authorization: Bearer $TOKEN" -o export.zip'
|
|
12065
|
+
},
|
|
12066
|
+
{
|
|
12067
|
+
type: "code",
|
|
12068
|
+
language: "bash",
|
|
12069
|
+
title: "Verify a received bundle",
|
|
12070
|
+
code: "unzip -q export.zip -d export/\ncd export/\n# Verify every entry against the manifest (GNU coreutils)\nsha256sum -c manifest-sha256.txt\n# The job status also reports bundle_sha256 over the whole zip:\nsha256sum ../export.zip"
|
|
12071
|
+
},
|
|
12072
|
+
{
|
|
12073
|
+
type: "paragraph",
|
|
12074
|
+
text: "Bundles are built asynchronously on the worker fleet and stored server-side; the download streams through the authenticated API (there is no unauthenticated or presigned link). The job status carries the bundle's own SHA-256 and byte size, so the transfer itself is verifiable end to end: verify the zip hash first, then the per-entry manifest inside. Failed jobs stay failed and are re-requested explicitly; a partial bundle is never silently rebuilt over."
|
|
12075
|
+
},
|
|
12076
|
+
{
|
|
12077
|
+
type: "callout",
|
|
12078
|
+
variant: "info",
|
|
12079
|
+
text: 'Export is admin-only and honors the workspace step-up requirement (a fresh TOTP code) when enabled. A bundle covers up to a configured document ceiling (50,000 by default); a corpus above the ceiling fails the job loudly instead of shipping a silently partial "full" export. Format version 1 is frozen: additive fields may appear in bag-info counts, but the layout and manifest format only change with a new export_format_version.'
|
|
12080
|
+
}
|
|
12081
|
+
],
|
|
12082
|
+
related: [
|
|
12083
|
+
{ label: "Security Architecture", slug: "security-architecture" },
|
|
12084
|
+
{ label: "Archive Overview", slug: "archive-overview" },
|
|
12085
|
+
{ label: "Audit Trail", slug: "audit-trail" },
|
|
12086
|
+
{ label: "Retention & Deletion", slug: "retention-and-deletion" }
|
|
12087
|
+
],
|
|
12088
|
+
faq: [
|
|
12089
|
+
{
|
|
12090
|
+
question: "How do I verify an export bundle is complete and untampered?",
|
|
12091
|
+
answer: "Two layers: the job status reports the SHA-256 and byte size of the whole zip, and inside the bundle manifest-sha256.txt lists the SHA-256 of every entry. Verify the zip hash after transfer, then run sha256sum -c manifest-sha256.txt against the unpacked contents."
|
|
12092
|
+
},
|
|
12093
|
+
{
|
|
12094
|
+
question: "What exactly is included in a tenant export?",
|
|
12095
|
+
answer: "Original files byte-for-byte, extracted markdown, the latest structured values with per-cell provenance as JSONL, and the workspace audit log as CSV, plus bag-info.json metadata and the checksum manifest. Deleted documents' tombstones appear through the audit log rather than as payload files."
|
|
12096
|
+
},
|
|
12097
|
+
{
|
|
12098
|
+
question: "Is the export format stable enough to build ingestion tooling against?",
|
|
12099
|
+
answer: "Yes. The bundle carries export_format_version (currently 1) in bag-info.json. The v1 layout, entry naming, JSONL fields, and manifest format are frozen; incompatible changes will increment the version rather than silently change the shape."
|
|
12100
|
+
},
|
|
12101
|
+
{
|
|
12102
|
+
question: "Who can request an export, and is it protected against session hijacking?",
|
|
12103
|
+
answer: "Workspace admins only, and workspaces with the step-up requirement enabled additionally demand a fresh TOTP code on the request. Every export request, completion, and failure is recorded in the audit trail, and the download itself requires an authenticated API call."
|
|
12104
|
+
}
|
|
12105
|
+
],
|
|
12106
|
+
mentions: [
|
|
12107
|
+
"tenant export",
|
|
12108
|
+
"export bundle",
|
|
12109
|
+
"BagIt",
|
|
12110
|
+
"SHA-256 manifest",
|
|
12111
|
+
"bag-info.json",
|
|
12112
|
+
"JSONL values",
|
|
12113
|
+
"provenance",
|
|
12114
|
+
"data portability",
|
|
12115
|
+
"audit log export",
|
|
12116
|
+
"format version 1"
|
|
12117
|
+
]
|
|
12118
|
+
}
|
|
12119
|
+
];
|
|
12120
|
+
|
|
12121
|
+
// src/content/api/overview.ts
|
|
12122
|
+
var sections20 = [
|
|
11177
12123
|
{
|
|
11178
12124
|
slug: "introduction",
|
|
11179
12125
|
parentSlug: "overview",
|
|
@@ -11309,6 +12255,17 @@ var sections19 = [
|
|
|
11309
12255
|
"limit": 50
|
|
11310
12256
|
}'` },
|
|
11311
12257
|
{ type: "paragraph", text: "Returns all documents matching your filter \u2014 no re-extraction, no AI cost. Ingest once, query forever." },
|
|
12258
|
+
{ type: "heading", level: 2, id: "quick-start-ask", text: "Ask your first question" },
|
|
12259
|
+
{ type: "paragraph", text: "Once documents are ingested, you can skip filters and schemas entirely and just ask. `POST /v1/ask` runs a read-only agent turn over your whole corpus and returns a markdown answer with a citation for every claim, plus a verification verdict. Submit the question, then poll the returned `poll_url` about every 2 seconds; answers take 10 to 60 seconds. One question costs a flat 100 credits (0.10 EUR)." },
|
|
12260
|
+
{ type: "code", language: "bash", title: "curl: ask a question, then poll for the answer", code: `ASK_ID=$(curl -s -X POST https://api.talonic.com/v1/ask \\
|
|
12261
|
+
-H "Authorization: Bearer $TALONIC_API_KEY" \\
|
|
12262
|
+
-H "Content-Type: application/json" \\
|
|
12263
|
+
-d '{"question": "Which vendors invoiced us more than once, and for how much in total?"}' \\
|
|
12264
|
+
| jq -r '.ask_id')
|
|
12265
|
+
|
|
12266
|
+
curl -s https://api.talonic.com/v1/ask/$ASK_ID \\
|
|
12267
|
+
-H "Authorization: Bearer $TALONIC_API_KEY"` },
|
|
12268
|
+
{ type: "paragraph", text: "On deployments where self-serve signup is enabled, you do not even need a dashboard to reach this point: `POST /v1/auth/register` with your email sends a magic link, and confirming it returns a scoped `tlnc_` API key plus a seeded workspace with two example documents (a Northwind invoice and an Acme/Globex master services agreement), so your first `POST /v1/ask` works within a minute of registering. See [Ask Your Documents](post-ask) for the full contract." },
|
|
11312
12269
|
{ type: "callout", text: "Documents of 5 pages or fewer return synchronously (`200` with data). Larger documents return `202 Accepted` with a `poll_url` \u2014 poll `GET /v1/documents/:id` until `status` is `completed`, then fetch results from `GET /v1/documents/:id/extractions`. See [Processing Modes](extract-processing-mode)." },
|
|
11313
12270
|
{ type: "heading", level: 2, id: "cost-transparency", text: "Cost on every call" },
|
|
11314
12271
|
{ type: "paragraph", text: "Every synchronous extraction response includes cost headers so you can track spend per call:" },
|
|
@@ -11352,6 +12309,7 @@ X-Talonic-Cells-Resolved-AI: 5` },
|
|
|
11352
12309
|
}` },
|
|
11353
12310
|
{ type: "heading", level: 3, id: "next-steps", text: "Next steps" },
|
|
11354
12311
|
{ type: "list", items: [
|
|
12312
|
+
"**Ask your documents**: one flat-priced question over the whole corpus with cited, verified answers via `POST /v1/ask`. See [Ask Your Documents](post-ask).",
|
|
11355
12313
|
"**Reuse schemas** \u2014 save your schema with `POST /v1/schemas`, then pass `schema_id` on future extractions.",
|
|
11356
12314
|
"**Large documents** \u2014 files >5 pages return `202 Accepted` with a `poll_url`. See [Processing Modes](extract-processing-mode).",
|
|
11357
12315
|
"**Webhooks** \u2014 receive results via `extraction.complete` events instead of polling. See [Webhook Events](webhook-events).",
|
|
@@ -11361,12 +12319,14 @@ X-Talonic-Cells-Resolved-AI: 5` },
|
|
|
11361
12319
|
],
|
|
11362
12320
|
related: [
|
|
11363
12321
|
{ label: "POST /v1/extract", slug: "post-extract" },
|
|
12322
|
+
{ label: "Ask Your Documents", slug: "post-ask" },
|
|
11364
12323
|
{ label: "Filter Documents", slug: "filter-documents" },
|
|
11365
12324
|
{ label: "Schema Formats", slug: "extract-schemas" },
|
|
11366
12325
|
{ label: "Processing Modes", slug: "extract-processing-mode" }
|
|
11367
12326
|
],
|
|
11368
12327
|
faq: [
|
|
11369
|
-
{ question: "How do I get started with the Talonic API?", answer: "Three modes: (1) send a file with no schema for auto-detect, (2) send a file with a schema for exact extraction, (3) POST /v1/documents/filter to query already-ingested data. All you need is an API key from Settings \u2192 API Keys." },
|
|
12328
|
+
{ question: "How do I get started with the Talonic API?", answer: "Three modes: (1) send a file with no schema for auto-detect, (2) send a file with a schema for exact extraction, (3) POST /v1/documents/filter to query already-ingested data. All you need is an API key from Settings \u2192 API Keys. Once documents are in, POST /v1/ask answers natural-language questions over the whole corpus with cited, verified answers." },
|
|
12329
|
+
{ question: "Can I get an API key without a dashboard?", answer: "On deployments where self-serve signup is enabled, yes: POST /v1/auth/register with your email sends a magic link, and confirming it returns a scoped tlnc_ key plus a seeded example workspace, so you can make your first extract and ask calls within a minute." },
|
|
11370
12330
|
{ question: "Do I need to create a schema first?", answer: "No. Mode 1 auto-detects all fields. Mode 2 accepts an inline schema. Save it with POST /v1/schemas later for reuse." },
|
|
11371
12331
|
{ question: "Can I query previously extracted data without re-extracting?", answer: "Yes. POST /v1/documents/filter lets you search across all previously extracted documents by field values. No AI cost \u2014 ingest once, query forever." }
|
|
11372
12332
|
],
|
|
@@ -11528,7 +12488,7 @@ curl -X POST https://api.talonic.com/v1/extract \\
|
|
|
11528
12488
|
];
|
|
11529
12489
|
|
|
11530
12490
|
// src/content/api/extract.ts
|
|
11531
|
-
var
|
|
12491
|
+
var sections21 = [
|
|
11532
12492
|
{
|
|
11533
12493
|
slug: "post-extract",
|
|
11534
12494
|
parentSlug: "extract",
|
|
@@ -12112,7 +13072,7 @@ curl https://api.talonic.com/v1/documents/c3d4e5f6-a7b8-9012-cdef-123456789012/e
|
|
|
12112
13072
|
];
|
|
12113
13073
|
|
|
12114
13074
|
// src/content/api/documents.ts
|
|
12115
|
-
var
|
|
13075
|
+
var sections22 = [
|
|
12116
13076
|
{
|
|
12117
13077
|
slug: "list-documents",
|
|
12118
13078
|
parentSlug: "documents",
|
|
@@ -12793,7 +13753,7 @@ var sections21 = [
|
|
|
12793
13753
|
];
|
|
12794
13754
|
|
|
12795
13755
|
// src/content/api/extractions.ts
|
|
12796
|
-
var
|
|
13756
|
+
var sections23 = [
|
|
12797
13757
|
{
|
|
12798
13758
|
slug: "list-extractions",
|
|
12799
13759
|
parentSlug: "extractions",
|
|
@@ -13263,7 +14223,7 @@ curl -s "https://api.talonic.com/v1/extractions/a1b2c3d4-e5f6-7890-abcd-ef123456
|
|
|
13263
14223
|
];
|
|
13264
14224
|
|
|
13265
14225
|
// src/content/api/schemas.ts
|
|
13266
|
-
var
|
|
14226
|
+
var sections24 = [
|
|
13267
14227
|
{
|
|
13268
14228
|
slug: "list-schemas",
|
|
13269
14229
|
parentSlug: "schemas",
|
|
@@ -13821,7 +14781,7 @@ var sections23 = [
|
|
|
13821
14781
|
];
|
|
13822
14782
|
|
|
13823
14783
|
// src/content/api/jobs.ts
|
|
13824
|
-
var
|
|
14784
|
+
var sections25 = [
|
|
13825
14785
|
{
|
|
13826
14786
|
slug: "list-jobs",
|
|
13827
14787
|
parentSlug: "jobs",
|
|
@@ -14353,7 +15313,7 @@ var sections24 = [
|
|
|
14353
15313
|
];
|
|
14354
15314
|
|
|
14355
15315
|
// src/content/api/sources.ts
|
|
14356
|
-
var
|
|
15316
|
+
var sections26 = [
|
|
14357
15317
|
{
|
|
14358
15318
|
slug: "list-sources",
|
|
14359
15319
|
parentSlug: "sources",
|
|
@@ -14977,7 +15937,7 @@ var sections25 = [
|
|
|
14977
15937
|
];
|
|
14978
15938
|
|
|
14979
15939
|
// src/content/api/filter-search.ts
|
|
14980
|
-
var
|
|
15940
|
+
var sections27 = [
|
|
14981
15941
|
{
|
|
14982
15942
|
slug: "field-autocomplete",
|
|
14983
15943
|
parentSlug: "filter-search",
|
|
@@ -15632,7 +16592,7 @@ var sections26 = [
|
|
|
15632
16592
|
];
|
|
15633
16593
|
|
|
15634
16594
|
// src/content/api/webhooks.ts
|
|
15635
|
-
var
|
|
16595
|
+
var sections28 = [
|
|
15636
16596
|
{
|
|
15637
16597
|
slug: "webhook-events",
|
|
15638
16598
|
parentSlug: "webhooks",
|
|
@@ -16201,7 +17161,7 @@ printf '%s' '{"event":"extraction.complete","delivery_id":"dlv_a1b2c3d4e5f67890"
|
|
|
16201
17161
|
];
|
|
16202
17162
|
|
|
16203
17163
|
// src/content/api/resolutions.ts
|
|
16204
|
-
var
|
|
17164
|
+
var sections29 = [
|
|
16205
17165
|
{
|
|
16206
17166
|
slug: "list-resolutions",
|
|
16207
17167
|
parentSlug: "resolutions",
|
|
@@ -16742,7 +17702,7 @@ var sections28 = [
|
|
|
16742
17702
|
];
|
|
16743
17703
|
|
|
16744
17704
|
// src/content/api/linking.ts
|
|
16745
|
-
var
|
|
17705
|
+
var sections30 = [
|
|
16746
17706
|
{
|
|
16747
17707
|
slug: "list-link-keys",
|
|
16748
17708
|
parentSlug: "linking",
|
|
@@ -17516,7 +18476,7 @@ var sections29 = [
|
|
|
17516
18476
|
];
|
|
17517
18477
|
|
|
17518
18478
|
// src/content/api/nshot.ts
|
|
17519
|
-
var
|
|
18479
|
+
var sections31 = [
|
|
17520
18480
|
{
|
|
17521
18481
|
slug: "nshot-summary",
|
|
17522
18482
|
parentSlug: "nshot",
|
|
@@ -18051,7 +19011,7 @@ var sections30 = [
|
|
|
18051
19011
|
];
|
|
18052
19012
|
|
|
18053
19013
|
// src/content/api/schema-graph.ts
|
|
18054
|
-
var
|
|
19014
|
+
var sections32 = [
|
|
18055
19015
|
{
|
|
18056
19016
|
slug: "list-schema-graph-classes",
|
|
18057
19017
|
parentSlug: "schema-graph",
|
|
@@ -18881,7 +19841,7 @@ var sections31 = [
|
|
|
18881
19841
|
];
|
|
18882
19842
|
|
|
18883
19843
|
// src/content/api/structuring.ts
|
|
18884
|
-
var
|
|
19844
|
+
var sections33 = [
|
|
18885
19845
|
{
|
|
18886
19846
|
slug: "list-structuring-checks",
|
|
18887
19847
|
parentSlug: "structuring",
|
|
@@ -19883,7 +20843,7 @@ var sections32 = [
|
|
|
19883
20843
|
];
|
|
19884
20844
|
|
|
19885
20845
|
// src/content/api/telemetry.ts
|
|
19886
|
-
var
|
|
20846
|
+
var sections34 = [
|
|
19887
20847
|
{
|
|
19888
20848
|
slug: "schema-telemetry-summary",
|
|
19889
20849
|
parentSlug: "telemetry",
|
|
@@ -20276,7 +21236,7 @@ var sections33 = [
|
|
|
20276
21236
|
];
|
|
20277
21237
|
|
|
20278
21238
|
// src/content/api/validation.ts
|
|
20279
|
-
var
|
|
21239
|
+
var sections35 = [
|
|
20280
21240
|
{
|
|
20281
21241
|
slug: "list-ground-truth",
|
|
20282
21242
|
parentSlug: "validation",
|
|
@@ -20809,7 +21769,7 @@ var sections34 = [
|
|
|
20809
21769
|
];
|
|
20810
21770
|
|
|
20811
21771
|
// src/content/api/credits.ts
|
|
20812
|
-
var
|
|
21772
|
+
var sections36 = [
|
|
20813
21773
|
{
|
|
20814
21774
|
slug: "credits-balance",
|
|
20815
21775
|
parentSlug: "credits",
|
|
@@ -21276,7 +22236,7 @@ var sections35 = [
|
|
|
21276
22236
|
];
|
|
21277
22237
|
|
|
21278
22238
|
// src/content/api/agent.ts
|
|
21279
|
-
var
|
|
22239
|
+
var sections37 = [
|
|
21280
22240
|
{
|
|
21281
22241
|
slug: "agent-context",
|
|
21282
22242
|
parentSlug: "agent",
|
|
@@ -21395,9 +22355,9 @@ var sections36 = [
|
|
|
21395
22355
|
seoTitle: "Discover AI Agent Tools and Impact Levels \u2014 Talonic Docs",
|
|
21396
22356
|
description: "List all tools available to the Talonic embedded AI agent with impact levels from read to irreversible. Build permission-aware integrations and confirmation gates.",
|
|
21397
22357
|
content: [
|
|
21398
|
-
{ type: "paragraph", text: "The **agent tools** endpoint
|
|
21399
|
-
{ type: "paragraph", text: "Call this endpoint at startup to populate your integration's tool registry, or periodically to detect newly added capabilities
|
|
21400
|
-
{ type: "paragraph", text: "The `totalCount` field gives the total number of tools available. Each tool's `impact` field follows a four-level severity scale: `read`, `draft_mutation`, `live_mutation`, and `irreversible`. Use these levels to build confirmation gates
|
|
22358
|
+
{ type: "paragraph", text: "The **agent tools** endpoint returns the agent's **live tool registry**: it is read directly from the same registry the agent loop executes from, so the list can never drift from what actually runs. Each entry carries a stable `name`, a human-readable `description`, an **impact level** that classifies how consequential the operation is, and a **capability** tag naming the permission the tool requires. Use it for tool discovery: dynamically generating tool descriptions for external AI agents, auditing available capabilities, or building permission-aware integrations." },
|
|
22359
|
+
{ type: "paragraph", text: "Call this endpoint at startup to populate your integration's tool registry, or periodically to detect newly added capabilities: because the response reflects the live loop, a newly shipped tool appears here the moment it is deployed, with no docs lag." },
|
|
22360
|
+
{ type: "paragraph", text: "The `totalCount` field gives the total number of tools available. Each tool's `impact` field follows a four-level severity scale: `read`, `draft_mutation`, `live_mutation`, and `irreversible`. Use these levels to build confirmation gates: for example, auto-approve `read` tools but require user confirmation for `live_mutation` and above. The `capability` field is the finer-grained permission the loop checks against the caller's role before executing (for example `data.read`, `source.ingest`, `review.resolve`, `spec.author`): an API-key caller runs as a read-only viewer, so on the public ask surface only `read`-impact tools execute, and the rest are listed for transparency." },
|
|
21401
22361
|
{ type: "paragraph", text: "Pair this with the **Workspace Context** endpoint to give your external AI agent both situational awareness (context) and available actions (tools). The tool names returned here are stable identifiers that can be referenced in custom orchestration logic or permission policies." },
|
|
21402
22362
|
{ type: "callout", variant: "info", text: "Impact levels follow a severity scale: `read` (no side effects), `draft_mutation` (creates drafts only), `live_mutation` (modifies live data), and `irreversible` (permanent changes like deletion). Use these to implement confirmation gates in your integration." },
|
|
21403
22363
|
{
|
|
@@ -21420,9 +22380,10 @@ var sections36 = [
|
|
|
21420
22380
|
type: "param-table",
|
|
21421
22381
|
title: "Response fields",
|
|
21422
22382
|
params: [
|
|
21423
|
-
{ name: "tools", type: "array", description: "Array of tool descriptors." },
|
|
22383
|
+
{ name: "tools", type: "array", description: "Array of tool descriptors, read live from the agent loop's registry." },
|
|
21424
22384
|
{ name: "tools[].name", type: "string", description: "Unique tool identifier." },
|
|
21425
22385
|
{ name: "tools[].impact", type: "string", description: "Impact level: read, draft_mutation, live_mutation, or irreversible." },
|
|
22386
|
+
{ name: "tools[].capability", type: "string", description: "The permission the tool requires, checked against the caller's role before execution (e.g. data.read, data.promote, source.ingest, review.resolve, spec.author)." },
|
|
21426
22387
|
{ name: "tools[].description", type: "string", description: "Human-readable description of what the tool does." },
|
|
21427
22388
|
{ name: "totalCount", type: "integer", description: "Total number of available tools." }
|
|
21428
22389
|
]
|
|
@@ -21433,9 +22394,16 @@ var sections36 = [
|
|
|
21433
22394
|
code: `{
|
|
21434
22395
|
"tools": [
|
|
21435
22396
|
{
|
|
21436
|
-
"name": "
|
|
22397
|
+
"name": "query_data",
|
|
21437
22398
|
"impact": "read",
|
|
21438
|
-
"
|
|
22399
|
+
"capability": "data.read",
|
|
22400
|
+
"description": "Runs a read-only SQL query over the structured cell plane."
|
|
22401
|
+
},
|
|
22402
|
+
{
|
|
22403
|
+
"name": "promote_field",
|
|
22404
|
+
"impact": "draft_mutation",
|
|
22405
|
+
"capability": "data.promote",
|
|
22406
|
+
"description": "Makes an already-captured field queryable. No LLM call, reversible."
|
|
21439
22407
|
}
|
|
21440
22408
|
],
|
|
21441
22409
|
"totalCount": 35
|
|
@@ -21453,19 +22421,467 @@ var sections36 = [
|
|
|
21453
22421
|
],
|
|
21454
22422
|
related: [
|
|
21455
22423
|
{ label: "Get Workspace Context", slug: "agent-context" },
|
|
22424
|
+
{ label: "Ask Your Documents", slug: "post-ask" },
|
|
21456
22425
|
{ label: "Authentication", slug: "authentication" }
|
|
21457
22426
|
],
|
|
21458
22427
|
faq: [
|
|
21459
|
-
{ question: "Can I invoke agent tools directly via the API?", answer: "The tools endpoint lists available capabilities. Tool invocation happens through the embedded agent
|
|
22428
|
+
{ question: "Can I invoke agent tools directly via the API?", answer: "The tools endpoint lists available capabilities. Tool invocation happens through an agent turn: ask a question via POST /v1/ask (or the embedded agent in the app) and the agent selects and runs the tools itself. There are no direct REST calls to individual tools." },
|
|
22429
|
+
{ question: "Is this list ever out of date?", answer: "No. The response is read from the live tool registry the agent loop executes from, so it always matches what actually runs. A newly deployed tool appears immediately." },
|
|
21460
22430
|
{ question: "What impact levels are available?", answer: "Four levels: `read` (safe, no side effects), `draft_mutation` (creates drafts), `live_mutation` (modifies live data), and `irreversible` (permanent changes). Use these to build confirmation gates." },
|
|
21461
22431
|
{ question: "How do I use impact levels to gate tool execution?", answer: "Treat the four levels as an escalating approval ladder: auto-approve `read` tools, and require explicit user confirmation for `live_mutation` and `irreversible` tools. Tool names are stable identifiers, so you can reference them in permission policies." }
|
|
21462
22432
|
],
|
|
21463
|
-
mentions: ["agent tools", "capabilities", "impact levels", "tool discovery", "confirmation gates"]
|
|
22433
|
+
mentions: ["agent tools", "capabilities", "impact levels", "tool discovery", "confirmation gates", "live tool registry"]
|
|
22434
|
+
},
|
|
22435
|
+
{
|
|
22436
|
+
slug: "agent-query",
|
|
22437
|
+
parentSlug: "agent",
|
|
22438
|
+
title: "Agent Query (Legacy)",
|
|
22439
|
+
seoTitle: "Agent Query Endpoint (Legacy Alias of /v1/ask) \u2014 Talonic Docs",
|
|
22440
|
+
description: "POST /v1/agent/query is the legacy alias of POST /v1/ask: same read-only agent turn and same flat charge, but a minimal {status, answer} poll response.",
|
|
22441
|
+
content: [
|
|
22442
|
+
{ type: "paragraph", text: "`POST /v1/agent/query` is the **legacy alias** of [`POST /v1/ask`](post-ask). Both endpoints start exactly the same read-only agent turn over the workspace corpus, and both charge the same flat `agent_ask` unit (100 credits per accepted question, idempotent per turn). The difference is the result surface: the ask endpoints return the full payload with structured citations, the verification verdict, and usage, while the query poll returns a minimal `{status, answer}` body. New integrations should use `/v1/ask`; this alias remains supported for integrations built against the original surface." },
|
|
22443
|
+
{ type: "paragraph", text: "The request body carries one field, `query` (up to 20,000 characters), and the submission answers `202 Accepted` with a `turnId`. Poll `GET /v1/agent/query/:id` roughly every 2 seconds until `status` leaves `processing`. Like the ask surface, the alias requires a workspace-scoped key with the `read` scope, runs the turn under the least-privilege viewer role, and is tenant-isolated: a turn started by another workspace reads as 404." },
|
|
22444
|
+
{
|
|
22445
|
+
type: "endpoint",
|
|
22446
|
+
method: "POST",
|
|
22447
|
+
path: "/v1/agent/query",
|
|
22448
|
+
summary: "Start a read-only agent turn over the workspace corpus (legacy alias of POST /v1/ask).",
|
|
22449
|
+
description: "Requires read scope and a workspace-scoped API key. Returns 202 with a turnId to poll. Charges one agent_ask unit.",
|
|
22450
|
+
blocks: [
|
|
22451
|
+
{
|
|
22452
|
+
type: "param-table",
|
|
22453
|
+
title: "Request body (JSON)",
|
|
22454
|
+
params: [
|
|
22455
|
+
{ name: "query", type: "string", required: true, description: "The natural-language question, up to 20,000 characters." }
|
|
22456
|
+
]
|
|
22457
|
+
}
|
|
22458
|
+
]
|
|
22459
|
+
},
|
|
22460
|
+
{
|
|
22461
|
+
type: "endpoint",
|
|
22462
|
+
method: "GET",
|
|
22463
|
+
path: "/v1/agent/query/:id",
|
|
22464
|
+
summary: "Poll a previously started agent query for its status and final answer text.",
|
|
22465
|
+
description: "Requires read scope. Returns a minimal {status, answer} body; answer is empty until the turn completes.",
|
|
22466
|
+
blocks: []
|
|
22467
|
+
},
|
|
22468
|
+
{
|
|
22469
|
+
type: "code",
|
|
22470
|
+
title: "curl",
|
|
22471
|
+
language: "bash",
|
|
22472
|
+
code: `TURN_ID=$(curl -s -X POST https://api.talonic.com/v1/agent/query \\
|
|
22473
|
+
-H "Authorization: Bearer $TALONIC_API_KEY" \\
|
|
22474
|
+
-H "Content-Type: application/json" \\
|
|
22475
|
+
-d '{"query": "Summarize our open invoices by vendor."}' | jq -r '.turnId')
|
|
22476
|
+
|
|
22477
|
+
curl -s https://api.talonic.com/v1/agent/query/$TURN_ID \\
|
|
22478
|
+
-H "Authorization: Bearer $TALONIC_API_KEY"`
|
|
22479
|
+
},
|
|
22480
|
+
{
|
|
22481
|
+
type: "code",
|
|
22482
|
+
title: "Response (completed)",
|
|
22483
|
+
code: `{
|
|
22484
|
+
"status": "completed",
|
|
22485
|
+
"answer": "You have 12 open invoices across 4 vendors. Northwind Supplies Ltd accounts for..."
|
|
22486
|
+
}`
|
|
22487
|
+
},
|
|
22488
|
+
{
|
|
22489
|
+
type: "param-table",
|
|
22490
|
+
title: "Poll response fields",
|
|
22491
|
+
params: [
|
|
22492
|
+
{ name: "status", type: "string", description: "processing, completed, or error." },
|
|
22493
|
+
{ name: "answer", type: "string", description: "The final answer text as markdown, including inline citation links. Empty string until the turn completes." }
|
|
22494
|
+
]
|
|
22495
|
+
},
|
|
22496
|
+
{ type: "callout", variant: "info", text: "The answer text is identical to what /v1/ask returns; only the envelope is smaller. If you want the structured citations array, the verification verdict, or usage reporting, poll the same class of turn via POST /v1/ask instead: it is the same engine and the same price." },
|
|
22497
|
+
{ type: "heading", level: 2, id: "agent-query-errors", text: "Errors" },
|
|
22498
|
+
{
|
|
22499
|
+
type: "param-table",
|
|
22500
|
+
title: "Error responses",
|
|
22501
|
+
params: [
|
|
22502
|
+
{ name: "400", type: "validation_error", description: "Missing or over-length query, or the API key is not workspace-scoped." },
|
|
22503
|
+
{ name: "401", type: "unauthorized", description: "Missing or invalid API key." },
|
|
22504
|
+
{ name: "402", type: "insufficient_credits", description: "Balance cannot cover one agent_ask unit." },
|
|
22505
|
+
{ name: "404", type: "not_found", description: "On the poll: no turn with this id exists in your workspace." }
|
|
22506
|
+
]
|
|
22507
|
+
}
|
|
22508
|
+
],
|
|
22509
|
+
related: [
|
|
22510
|
+
{ label: "Ask Your Documents", slug: "post-ask" },
|
|
22511
|
+
{ label: "Poll & Results", slug: "ask-results" },
|
|
22512
|
+
{ label: "Get Workspace Context", slug: "agent-context" },
|
|
22513
|
+
{ label: "List Agent Tools", slug: "agent-tools" }
|
|
22514
|
+
],
|
|
22515
|
+
faq: [
|
|
22516
|
+
{ question: "Should I use /v1/agent/query or /v1/ask?", answer: "Use POST /v1/ask for anything new: it runs the identical turn at the identical price but returns structured citations, the verification verdict, and usage alongside the answer. The query alias exists so integrations built against the original minimal surface keep working." },
|
|
22517
|
+
{ question: "Does the alias cost the same as an ask?", answer: "Yes. Both charge one flat agent_ask unit (100 credits) per accepted question, keyed to the turn so retries never double-bill." },
|
|
22518
|
+
{ question: "Can I poll a turn started via /v1/agent/query through /v1/ask/:id?", answer: "The turn id is the same underlying identifier, but treat the two surfaces as separate contracts: poll the surface you submitted on, and migrate the submission to /v1/ask when you want the richer payload." }
|
|
22519
|
+
],
|
|
22520
|
+
mentions: ["legacy alias", "agent query", "turnId", "minimal response", "migration to /v1/ask"]
|
|
22521
|
+
}
|
|
22522
|
+
];
|
|
22523
|
+
|
|
22524
|
+
// src/content/api/ask.ts
|
|
22525
|
+
var sections38 = [
|
|
22526
|
+
{
|
|
22527
|
+
slug: "post-ask",
|
|
22528
|
+
parentSlug: "ask",
|
|
22529
|
+
title: "POST /v1/ask",
|
|
22530
|
+
seoTitle: "Ask Your Documents in Natural Language \u2014 Talonic Docs",
|
|
22531
|
+
description: "POST /v1/ask asks a natural-language question over every document in your workspace and returns a cited, verified answer. One flat credit per question, no RAG stack.",
|
|
22532
|
+
content: [
|
|
22533
|
+
{ type: "paragraph", text: '`POST /v1/ask` is the natural-language front door to your document corpus: send a question, get back an answer grounded in your own documents, with a citation for every load-bearing claim and a verification verdict on the answer as a whole. There is no index to build, no embeddings to manage, and no retrieval pipeline to tune. Every document you ingest with `ingestion_target: "ingest"` (the default on [`POST /v1/run`](run-spec)) is askable, and the question runs over the entire workspace corpus, not a top-k slice of it.' },
|
|
22534
|
+
{ type: "paragraph", text: "The endpoint accepts one JSON field, `question`, up to 20,000 characters. It answers `202 Accepted` immediately with an `ask_id` and a `poll_url`; the answer itself is produced asynchronously and collected via [`GET /v1/ask/:id`](ask-results). A turn typically takes 10 to 60 seconds, which is why the surface is async-only by design: a synchronous response would sit inside edge and proxy timeouts. Authentication is a standard `tlnc_` Bearer key with the `read` scope. The key must be workspace-scoped: asks are tenant-isolated end to end." },
|
|
22535
|
+
{ type: "heading", level: 2, id: "post-ask-why", text: "Why this replaces a RAG stack" },
|
|
22536
|
+
{ type: "paragraph", text: "A conventional RAG pipeline embeds document chunks, retrieves the top-k nearest ones, and hopes the answer is inside that slice. An ask on Talonic instead runs a **read-only agent turn** over a corpus that was structured at ingestion. The agent retrieves across **three planes at once**: a semantic match against the field registry (the deduplicated graph of every field concept discovered in your documents), a lexical match over the extracted cell values themselves, and semantic plus full-text search over the raw document text through a persistent chunk index. A question about a number, a date, or a counterparty does not depend on the right paragraph landing in a context window: the value was already extracted, typed, and bound to a canonical concept." },
|
|
22537
|
+
{ type: "paragraph", text: 'On top of retrieval, the agent runs **read-only SQL over the structured cell plane**. Questions RAG is structurally bad at, such as "how many of our contracts auto-renew?" or "what is the total value of invoices from Q2?", become aggregate queries over extracted cells with the denominator taken from real corpus coverage, never estimated from a handful of retrieved chunks. And the corpus improves as it is questioned: when a question exposes a coverage gap, the platform extracts and persists at query time, promoting or mining the concept into the structured plane, so the second time anyone asks, the answer is a plain SQL read. Your corpus gets faster and cheaper to query the more it is used, which is the opposite of a RAG stack.' },
|
|
22538
|
+
{ type: "paragraph", text: `Two more properties matter for trust. First, the coverage plane turns absence into evidence: "no document in the workspace mentions a termination penalty" is a checkable statement backed by corpus-wide coverage, not a guess from an empty retrieval. Second, every answer passes through a **post-answer verification step** that re-checks the answer's claims against the evidence the turn itself gathered, and the verdict ships in the response. See [Citations & Verification](ask-citations-verification) for how to consume both.` },
|
|
22539
|
+
{ type: "callout", variant: "info", text: "An ask never modifies your workspace. The turn runs under a least-privilege read-only role: documents, schemas, pipelines, and settings cannot be changed by a question, and every mutating tool is denied before it executes." },
|
|
22540
|
+
{
|
|
22541
|
+
type: "endpoint",
|
|
22542
|
+
method: "POST",
|
|
22543
|
+
path: "/v1/ask",
|
|
22544
|
+
summary: "Ask a natural-language question over the workspace corpus. Returns 202 with an ask_id to poll.",
|
|
22545
|
+
description: "Requires read scope and a workspace-scoped API key. Charges one flat agent_ask credit unit per accepted ask.",
|
|
22546
|
+
blocks: [
|
|
22547
|
+
{
|
|
22548
|
+
type: "param-table",
|
|
22549
|
+
title: "Request body (JSON)",
|
|
22550
|
+
params: [
|
|
22551
|
+
{ name: "question", type: "string", required: true, description: "The natural-language question, up to 20,000 characters. Markdown is fine; the agent reads it as plain intent." }
|
|
22552
|
+
]
|
|
22553
|
+
}
|
|
22554
|
+
]
|
|
22555
|
+
},
|
|
22556
|
+
{
|
|
22557
|
+
type: "code",
|
|
22558
|
+
title: "curl",
|
|
22559
|
+
language: "bash",
|
|
22560
|
+
code: `curl -s -X POST https://api.talonic.com/v1/ask \\
|
|
22561
|
+
-H "Authorization: Bearer $TALONIC_API_KEY" \\
|
|
22562
|
+
-H "Content-Type: application/json" \\
|
|
22563
|
+
-d '{"question": "Which of our agreements auto-renew, and what notice period does each one require?"}'`
|
|
22564
|
+
},
|
|
22565
|
+
{
|
|
22566
|
+
type: "code",
|
|
22567
|
+
title: "Response (202)",
|
|
22568
|
+
code: `{
|
|
22569
|
+
"ask_id": "7c2f0a4e-9d31-4b8a-b3e6-2f1c5d9a8e07",
|
|
22570
|
+
"status": "processing",
|
|
22571
|
+
"poll_url": "/v1/ask/7c2f0a4e-9d31-4b8a-b3e6-2f1c5d9a8e07"
|
|
22572
|
+
}`
|
|
22573
|
+
},
|
|
22574
|
+
{ type: "heading", level: 2, id: "post-ask-pricing", text: "Pricing" },
|
|
22575
|
+
{ type: "paragraph", text: "Each accepted ask charges one flat `agent_ask` credit unit: **100 credits, or 0.10 EUR** (1,000 credits = 1 EUR). The charge is taken when the ask is accepted and is keyed to the turn, so it is idempotent: a network retry of the same submission, or polling the result any number of times, never bills twice. There is no per-token or per-document component; a question over 10 documents and a question over 10,000 cost the same. The completed response reports the charge back in `usage.credits_charged`, and the full catalog is public at [`GET /v1/pricing`](pricing-overview)." },
|
|
22576
|
+
{ type: "paragraph", text: "When your balance cannot cover one unit, the ask is rejected up front with `402 insufficient_credits` before any work starts. The 402 body follows the platform's agent-actionable credits contract: it names the unit, the shortfall, and a `buy_credits_url`, so an autonomous integration can top up and resubmit without human interpretation." },
|
|
22577
|
+
{ type: "heading", level: 2, id: "post-ask-rate-limits", text: "Rate limits" },
|
|
22578
|
+
{ type: "paragraph", text: "Ask submissions are metered in their own daily rate-limit namespace, `ask`, separate from extraction and platform reads. Polling `GET /v1/ask/:id` counts against the general read namespace, never against the ask budget, so tight polling loops are free with respect to this cap." },
|
|
22579
|
+
{
|
|
22580
|
+
type: "param-table",
|
|
22581
|
+
title: "Daily ask caps by plan",
|
|
22582
|
+
params: [
|
|
22583
|
+
{ name: "free", type: "tier", description: "200 asks per day." },
|
|
22584
|
+
{ name: "individual", type: "tier", description: "100 asks per day." },
|
|
22585
|
+
{ name: "pro", type: "tier", description: "5,000 asks per day." },
|
|
22586
|
+
{ name: "enterprise", type: "tier", description: "Unlimited." }
|
|
22587
|
+
]
|
|
22588
|
+
},
|
|
22589
|
+
{ type: "heading", level: 2, id: "post-ask-first-key", text: "Getting a key and a corpus" },
|
|
22590
|
+
{ type: "paragraph", text: 'If your workspace already has documents, any `read`-scoped key works immediately. On deployments where self-serve signup is enabled, there is a zero-dashboard path from email to first answer: `POST /v1/auth/register` with your email sends a magic link, and following it (`GET /v1/auth/register/confirm`) returns a scoped `tlnc_` key together with a seeded workspace containing two example documents, a Northwind invoice and an Acme/Globex master services agreement, so your very first `POST /v1/ask` has something real to answer against. To make your own documents askable, ingest them via [`POST /v1/run`](run-spec) with the default `ingestion_target: "ingest"`.' },
|
|
22591
|
+
{ type: "heading", level: 2, id: "post-ask-errors", text: "Errors" },
|
|
22592
|
+
{
|
|
22593
|
+
type: "param-table",
|
|
22594
|
+
title: "Error responses",
|
|
22595
|
+
params: [
|
|
22596
|
+
{ name: "400", type: "validation_error", description: "Missing or over-length question, or the API key is not workspace-scoped." },
|
|
22597
|
+
{ name: "401", type: "unauthorized", description: "Missing or invalid API key." },
|
|
22598
|
+
{ name: "402", type: "insufficient_credits", description: "Balance cannot cover one agent_ask unit. Body includes the shortfall and a buy_credits_url." },
|
|
22599
|
+
{ name: "403", type: "insufficient_scope", description: "The key lacks the read scope." },
|
|
22600
|
+
{ name: "429", type: "rate_limit_exceeded", description: "Daily ask cap for your plan exhausted. Retry after the period in the Retry-After header." }
|
|
22601
|
+
]
|
|
22602
|
+
}
|
|
22603
|
+
],
|
|
22604
|
+
related: [
|
|
22605
|
+
{ label: "Poll & Results", slug: "ask-results" },
|
|
22606
|
+
{ label: "Citations & Verification", slug: "ask-citations-verification" },
|
|
22607
|
+
{ label: "Run a Spec (make documents askable)", slug: "run-spec" },
|
|
22608
|
+
{ label: "Pricing Catalog", slug: "pricing-overview" },
|
|
22609
|
+
{ label: "Authentication", slug: "authentication" }
|
|
22610
|
+
],
|
|
22611
|
+
faq: [
|
|
22612
|
+
{ question: "How is /v1/ask different from RAG?", answer: "RAG embeds chunks and answers from the top-k retrieved slice. An ask runs a read-only agent turn over a corpus that was structured at ingestion: it retrieves across the field registry, the extracted cell values, and the full document text simultaneously, runs read-only SQL for aggregate questions, and extracts missing concepts at query time so repeat questions become plain structured reads. Every claim is cited to an exact source span and the answer is re-verified against the turn's own evidence." },
|
|
22613
|
+
{ question: "What does an ask cost?", answer: "One flat agent_ask unit per accepted question: 100 credits, or 0.10 EUR. The charge is idempotent per turn, so retries and polling never double-bill, and there is no per-token or per-document component." },
|
|
22614
|
+
{ question: "Why is there no synchronous mode?", answer: "A turn takes 10 to 60 seconds depending on how much retrieval, SQL, and verification the question needs. That exceeds common edge and proxy timeouts, so the surface is async-only: submit, get 202 with an ask_id, and poll GET /v1/ask/:id roughly every 2 seconds." },
|
|
22615
|
+
{ question: "Can an ask change anything in my workspace?", answer: "No. The turn runs under a least-privilege read-only role. Mutating tools are denied before execution, so documents, schemas, pipelines, and settings are never modified by a question." },
|
|
22616
|
+
{ question: "Which documents can the agent see?", answer: 'Every document in the workspace the API key belongs to, and only those. Asks are tenant-isolated: an ask_id from another workspace reads as 404. Documents become askable when ingested with ingestion_target "ingest" (the default on POST /v1/run); markdown-only ingestion ("extract") keeps them out of the askable corpus.' }
|
|
22617
|
+
],
|
|
22618
|
+
mentions: ["natural-language ask", "RAG replacement", "agent turn", "three-plane retrieval", "field registry", "read-only SQL", "extract-and-persist", "agent_ask credit unit", "rate limits"]
|
|
22619
|
+
},
|
|
22620
|
+
{
|
|
22621
|
+
slug: "ask-results",
|
|
22622
|
+
parentSlug: "ask",
|
|
22623
|
+
title: "Poll & Results",
|
|
22624
|
+
seoTitle: "Poll an Ask and Read the Answer \u2014 GET /v1/ask/:id \u2014 Talonic Docs",
|
|
22625
|
+
description: "GET /v1/ask/:id polls a natural-language ask: processing, completed with a cited markdown answer, structured citations, verification verdict, and usage, or error.",
|
|
22626
|
+
content: [
|
|
22627
|
+
{ type: "paragraph", text: "`GET /v1/ask/:id` polls an ask started with [`POST /v1/ask`](post-ask). Poll roughly every 2 seconds: turns settle in 10 to 60 seconds, so a 2-second interval finds the answer promptly without wasted requests. Polling is metered under the general read namespace, not the `ask` namespace, so a polling loop never consumes your daily ask budget. The endpoint is tenant-isolated: an `ask_id` created by another workspace returns `404`, exactly as if it never existed." },
|
|
22628
|
+
{ type: "paragraph", text: "The response is one of three shapes, discriminated by `status`. While the turn runs you get the minimal `processing` body: `ask_id`, `status`, and `poll_url`. When the turn settles successfully, `status` is `completed` and the body carries the full result: the answer, the structured citations, the verification verdict, and usage. When the turn fails, `status` is `error` with a stable `error` code and a human-readable `message`." },
|
|
22629
|
+
{ type: "heading", level: 2, id: "ask-results-endpoint", text: "Endpoint" },
|
|
22630
|
+
{
|
|
22631
|
+
type: "endpoint",
|
|
22632
|
+
method: "GET",
|
|
22633
|
+
path: "/v1/ask/:id",
|
|
22634
|
+
summary: "Poll a previously started ask for its status and, once completed, the full answer payload.",
|
|
22635
|
+
description: "Requires read scope. Metered under the general read namespace, so polling never burns the daily ask cap.",
|
|
22636
|
+
blocks: [
|
|
22637
|
+
{ type: "param-table", title: "Path parameters", params: [{ name: "id", type: "uuid", required: true, description: "The ask_id returned by POST /v1/ask." }] }
|
|
22638
|
+
]
|
|
22639
|
+
},
|
|
22640
|
+
{
|
|
22641
|
+
type: "code",
|
|
22642
|
+
title: "Polling loop (bash)",
|
|
22643
|
+
language: "bash",
|
|
22644
|
+
code: `ASK_ID=$(curl -s -X POST https://api.talonic.com/v1/ask \\
|
|
22645
|
+
-H "Authorization: Bearer $TALONIC_API_KEY" \\
|
|
22646
|
+
-H "Content-Type: application/json" \\
|
|
22647
|
+
-d '{"question": "What is the total value of the Acme master services agreement?"}' \\
|
|
22648
|
+
| jq -r '.ask_id')
|
|
22649
|
+
|
|
22650
|
+
while true; do
|
|
22651
|
+
RESULT=$(curl -s https://api.talonic.com/v1/ask/$ASK_ID \\
|
|
22652
|
+
-H "Authorization: Bearer $TALONIC_API_KEY")
|
|
22653
|
+
STATUS=$(echo "$RESULT" | jq -r '.status')
|
|
22654
|
+
[ "$STATUS" != "processing" ] && break
|
|
22655
|
+
sleep 2
|
|
22656
|
+
done
|
|
22657
|
+
|
|
22658
|
+
echo "$RESULT" | jq '{status, answer, verdict: .verification.verdict}'`
|
|
22659
|
+
},
|
|
22660
|
+
{ type: "heading", level: 2, id: "ask-results-completed", text: "The completed payload" },
|
|
22661
|
+
{
|
|
22662
|
+
type: "param-table",
|
|
22663
|
+
title: "Response fields (completed)",
|
|
22664
|
+
params: [
|
|
22665
|
+
{ name: "ask_id", type: "uuid", description: "The ask id." },
|
|
22666
|
+
{ name: "status", type: "string", description: "processing, completed, or error." },
|
|
22667
|
+
{ name: "poll_url", type: "string", description: "Relative URL of this endpoint, echoed for convenience." },
|
|
22668
|
+
{ name: "answer", type: "string", description: "The answer as markdown. Citations appear inline as markdown links whose targets deep-link into the Talonic app with the source span highlighted." },
|
|
22669
|
+
{ name: "citations", type: "array", description: "The same citations in structured form: quote, document_id, kind, reference, app_url. See Citations & Verification." },
|
|
22670
|
+
{ name: "verification", type: "object | null", description: "Post-answer verification verdict: verdict (supported / issues / unverifiable), checks_total, checks_unsupported, and an optional correction. null when the turn produced no verdict." },
|
|
22671
|
+
{ name: "usage.tokens", type: "integer | null", description: "Total LLM tokens the turn consumed, for transparency. Not billed per token." },
|
|
22672
|
+
{ name: "usage.credits_charged", type: "integer", description: "The flat charge for this ask: 100 credits." }
|
|
22673
|
+
]
|
|
22674
|
+
},
|
|
22675
|
+
{
|
|
22676
|
+
type: "code",
|
|
22677
|
+
title: "Response (completed)",
|
|
22678
|
+
code: `{
|
|
22679
|
+
"ask_id": "7c2f0a4e-9d31-4b8a-b3e6-2f1c5d9a8e07",
|
|
22680
|
+
"status": "completed",
|
|
22681
|
+
"poll_url": "/v1/ask/7c2f0a4e-9d31-4b8a-b3e6-2f1c5d9a8e07",
|
|
22682
|
+
"answer": "The Acme master services agreement has a total contract value of [EUR 96,000](https://app.talonic.com/documents/1b6f2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d?cite=contract_value) over a [24-month term](https://app.talonic.com/documents/1b6f2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d?cite=contract_term).",
|
|
22683
|
+
"citations": [
|
|
22684
|
+
{
|
|
22685
|
+
"quote": "EUR 96,000",
|
|
22686
|
+
"document_id": "1b6f2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
|
|
22687
|
+
"kind": "field",
|
|
22688
|
+
"reference": "contract_value",
|
|
22689
|
+
"app_url": "https://app.talonic.com/documents/1b6f2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d?cite=contract_value"
|
|
22690
|
+
},
|
|
22691
|
+
{
|
|
22692
|
+
"quote": "24-month term",
|
|
22693
|
+
"document_id": "1b6f2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
|
|
22694
|
+
"kind": "field",
|
|
22695
|
+
"reference": "contract_term",
|
|
22696
|
+
"app_url": "https://app.talonic.com/documents/1b6f2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d?cite=contract_term"
|
|
22697
|
+
}
|
|
22698
|
+
],
|
|
22699
|
+
"verification": {
|
|
22700
|
+
"verdict": "supported",
|
|
22701
|
+
"checks_total": 3,
|
|
22702
|
+
"checks_unsupported": 0
|
|
22703
|
+
},
|
|
22704
|
+
"usage": {
|
|
22705
|
+
"tokens": 18432,
|
|
22706
|
+
"credits_charged": 100
|
|
22707
|
+
}
|
|
22708
|
+
}`
|
|
22709
|
+
},
|
|
22710
|
+
{ type: "paragraph", text: "The `answer` field is ready to render as-is in any markdown surface: chat UIs, Slack, a support console. Because the inline citation links and the structured `citations` array describe the same evidence, you can also strip the links and render your own citation affordances from the array; the two are guaranteed to agree since the array is parsed from the answer itself." },
|
|
22711
|
+
{ type: "heading", level: 2, id: "ask-results-typescript", text: "A typed client" },
|
|
22712
|
+
{
|
|
22713
|
+
type: "code",
|
|
22714
|
+
title: "TypeScript polling helper",
|
|
22715
|
+
language: "typescript",
|
|
22716
|
+
code: `const BASE = 'https://api.talonic.com';
|
|
22717
|
+
const headers = {
|
|
22718
|
+
Authorization: \`Bearer \${process.env.TALONIC_API_KEY}\`,
|
|
22719
|
+
'Content-Type': 'application/json',
|
|
22720
|
+
};
|
|
22721
|
+
|
|
22722
|
+
interface AskResult {
|
|
22723
|
+
ask_id: string;
|
|
22724
|
+
status: 'processing' | 'completed' | 'error';
|
|
22725
|
+
poll_url: string;
|
|
22726
|
+
answer?: string;
|
|
22727
|
+
citations?: { quote: string; document_id: string; kind: 'field' | 'quote'; reference: string; app_url: string }[];
|
|
22728
|
+
verification?: { verdict: 'supported' | 'issues' | 'unverifiable'; checks_total: number; checks_unsupported: number; correction?: string } | null;
|
|
22729
|
+
usage?: { tokens: number | null; credits_charged: number };
|
|
22730
|
+
error?: string;
|
|
22731
|
+
message?: string;
|
|
22732
|
+
}
|
|
22733
|
+
|
|
22734
|
+
async function ask(question: string): Promise<AskResult> {
|
|
22735
|
+
const submit = await fetch(\`\${BASE}/v1/ask\`, {
|
|
22736
|
+
method: 'POST',
|
|
22737
|
+
headers,
|
|
22738
|
+
body: JSON.stringify({ question }),
|
|
22739
|
+
});
|
|
22740
|
+
if (submit.status === 402) throw new Error('Out of credits: top up and retry.');
|
|
22741
|
+
const { ask_id } = await submit.json();
|
|
22742
|
+
|
|
22743
|
+
while (true) {
|
|
22744
|
+
await new Promise((r) => setTimeout(r, 2000));
|
|
22745
|
+
const res = await fetch(\`\${BASE}/v1/ask/\${ask_id}\`, { headers });
|
|
22746
|
+
const turn: AskResult = await res.json();
|
|
22747
|
+
if (turn.status !== 'processing') return turn;
|
|
22748
|
+
}
|
|
22749
|
+
}
|
|
22750
|
+
|
|
22751
|
+
const result = await ask('Which invoices are overdue as of today?');
|
|
22752
|
+
if (result.status === 'completed') {
|
|
22753
|
+
console.log(result.answer);
|
|
22754
|
+
console.log(\`Verification: \${result.verification?.verdict ?? 'none'}\`);
|
|
22755
|
+
}`
|
|
22756
|
+
},
|
|
22757
|
+
{ type: "heading", level: 2, id: "ask-results-errors", text: "Error turns and error responses" },
|
|
22758
|
+
{ type: "paragraph", text: 'A turn that fails internally settles to an **error turn**, delivered with HTTP 200 and `status: "error"` in the body, because the poll itself succeeded. The body carries `error: "ask_failed"` and a message. The right handling is to submit the question again as a fresh ask: turns are independent, and the failed turn does not poison anything. Distinguish this from HTTP-level errors on the poll request itself, which mean the request never reached a turn.' },
|
|
22759
|
+
{
|
|
22760
|
+
type: "code",
|
|
22761
|
+
title: "Response (error turn)",
|
|
22762
|
+
code: `{
|
|
22763
|
+
"ask_id": "7c2f0a4e-9d31-4b8a-b3e6-2f1c5d9a8e07",
|
|
22764
|
+
"status": "error",
|
|
22765
|
+
"poll_url": "/v1/ask/7c2f0a4e-9d31-4b8a-b3e6-2f1c5d9a8e07",
|
|
22766
|
+
"error": "ask_failed",
|
|
22767
|
+
"message": "The agent turn failed. Ask again; the question was not charged twice."
|
|
22768
|
+
}`
|
|
22769
|
+
},
|
|
22770
|
+
{
|
|
22771
|
+
type: "param-table",
|
|
22772
|
+
title: "HTTP error responses",
|
|
22773
|
+
params: [
|
|
22774
|
+
{ name: "400", type: "validation_error", description: "The id is not a UUID." },
|
|
22775
|
+
{ name: "401", type: "unauthorized", description: "Missing or invalid API key." },
|
|
22776
|
+
{ name: "404", type: "not_found", description: "No ask with this id exists in your workspace. Cross-tenant ids also read as 404." }
|
|
22777
|
+
]
|
|
22778
|
+
},
|
|
22779
|
+
{ type: "callout", variant: "info", text: "There is no result expiry race to worry about: keep the ask_id and fetch the completed payload whenever convenient. The poll is a plain read, so it is safe to poll from multiple consumers." }
|
|
22780
|
+
],
|
|
22781
|
+
related: [
|
|
22782
|
+
{ label: "POST /v1/ask", slug: "post-ask" },
|
|
22783
|
+
{ label: "Citations & Verification", slug: "ask-citations-verification" },
|
|
22784
|
+
{ label: "Rate Limits", slug: "rate-limits" },
|
|
22785
|
+
{ label: "Credits Balance", slug: "credits-balance" }
|
|
22786
|
+
],
|
|
22787
|
+
faq: [
|
|
22788
|
+
{ question: "How often should I poll?", answer: "Roughly every 2 seconds. Turns settle in 10 to 60 seconds, and polling is metered under the general read namespace rather than the ask namespace, so a 2-second loop never touches your daily ask cap." },
|
|
22789
|
+
{ question: "What does an error turn mean and am I charged for it?", answer: 'status "error" with error "ask_failed" means the agent turn failed internally. Submit the question again as a fresh ask. Charging is keyed to the turn and idempotent, so a retry never results in a double bill for the same turn.' },
|
|
22790
|
+
{ question: "Why did my poll return 404?", answer: "Either the id is wrong or the ask belongs to a different workspace: asks are tenant-isolated, and a cross-tenant id is indistinguishable from a nonexistent one by design." },
|
|
22791
|
+
{ question: "Is usage.tokens what I am billed on?", answer: "No. Billing is the flat agent_ask unit reported in usage.credits_charged (100 credits per ask). usage.tokens is informational transparency about how much LLM work the turn did." }
|
|
22792
|
+
],
|
|
22793
|
+
mentions: ["polling", "ask_id", "completed payload", "error turn", "markdown answer", "tenant isolation", "usage"]
|
|
22794
|
+
},
|
|
22795
|
+
{
|
|
22796
|
+
slug: "ask-citations-verification",
|
|
22797
|
+
parentSlug: "ask",
|
|
22798
|
+
title: "Citations & Verification",
|
|
22799
|
+
seoTitle: "Ask Citations, Deep Links, and Verification \u2014 Talonic Docs",
|
|
22800
|
+
description: "Every ask answer carries per-claim citations with exact source spans, app deep links, and a post-answer verification verdict: supported, issues, or unverifiable.",
|
|
22801
|
+
content: [
|
|
22802
|
+
{ type: "paragraph", text: `An answer you cannot check is an answer you cannot ship. Every completed ask therefore carries two trust layers: **citations**, which bind each load-bearing claim in the answer to an exact span in a source document, and **verification**, a post-answer pass that re-checks the answer's claims against the evidence the turn itself collected and ships a verdict alongside the answer. Together they turn "the model said so" into "this document says so, and a second pass agrees".` },
|
|
22803
|
+
{ type: "heading", level: 2, id: "ask-citations-schema", text: "The citations array" },
|
|
22804
|
+
{ type: "paragraph", text: "Citations appear twice in the completed payload, and they always agree: inline in the `answer` markdown as links, and structured in the `citations` array, which is parsed from those same links. Each entry binds one quoted claim to one source document." },
|
|
22805
|
+
{
|
|
22806
|
+
type: "param-table",
|
|
22807
|
+
title: "Citation fields",
|
|
22808
|
+
params: [
|
|
22809
|
+
{ name: "quote", type: "string", description: "The claim text the citation grounds, as it appears in the answer." },
|
|
22810
|
+
{ name: "document_id", type: "uuid", description: "The source document. Resolvable via GET /v1/documents/:id, and its extracted fields via GET /v1/documents/:id/fields." },
|
|
22811
|
+
{ name: "kind", type: "string", description: "field or quote. field cites a captured field's provenance span; quote cites a verbatim passage of document text." },
|
|
22812
|
+
{ name: "reference", type: "string", description: "For kind field: the cited field key. For kind quote: the quoted search text." },
|
|
22813
|
+
{ name: "app_url", type: "string", description: "Absolute deep link into the Talonic app that opens the document with the cited span highlighted." }
|
|
22814
|
+
]
|
|
22815
|
+
},
|
|
22816
|
+
{ type: "paragraph", text: "The two `kind` values reflect the two evidence planes an ask draws from. A `field` citation points at a **captured field**: a value that was extracted at ingestion, bound to a canonical concept in the field registry, and carries provenance back to the exact span it was read from. A `quote` citation points at **verbatim document text** the agent found through the chunk index, for claims that live in prose rather than in a structured value. A well-grounded answer about contract terms typically mixes both: field citations for amounts and dates, quote citations for clause language." },
|
|
22817
|
+
{
|
|
22818
|
+
type: "code",
|
|
22819
|
+
title: "A mixed citations array",
|
|
22820
|
+
code: `"citations": [
|
|
22821
|
+
{
|
|
22822
|
+
"quote": "EUR 96,000",
|
|
22823
|
+
"document_id": "1b6f2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
|
|
22824
|
+
"kind": "field",
|
|
22825
|
+
"reference": "contract_value",
|
|
22826
|
+
"app_url": "https://app.talonic.com/documents/1b6f2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d?cite=contract_value"
|
|
22827
|
+
},
|
|
22828
|
+
{
|
|
22829
|
+
"quote": "either party may terminate with ninety (90) days written notice",
|
|
22830
|
+
"document_id": "1b6f2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
|
|
22831
|
+
"kind": "quote",
|
|
22832
|
+
"reference": "either party may terminate with ninety (90) days written notice",
|
|
22833
|
+
"app_url": "https://app.talonic.com/documents/1b6f2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d?citeq=either%20party%20may%20terminate%20with%20ninety%20(90)%20days%20written%20notice"
|
|
22834
|
+
}
|
|
22835
|
+
]`
|
|
22836
|
+
},
|
|
22837
|
+
{ type: "paragraph", text: 'The `app_url` is built for human review handoff: opening it lands a reviewer inside the Talonic document viewer with the cited span highlighted, so "check this claim" is one click, not a search. If you are building your own UI, render `quote` as the visible citation text and use `app_url` as its href; users signed in to the workspace get the highlighted source instantly. For programmatic verification, `document_id` plus `reference` lets you re-fetch the same evidence over the API: [`GET /v1/documents/:id/fields`](get-document-fields) returns the captured field with its value and confidence for `field` citations.' },
|
|
22838
|
+
{ type: "heading", level: 2, id: "ask-verification-verdicts", text: "Verification verdicts" },
|
|
22839
|
+
{ type: "paragraph", text: "After the answer is written, a separate verification pass decomposes it into individual claims and re-checks each one against the tool evidence the turn actually gathered: the SQL results, the retrieved spans, the coverage numbers. The result ships as the `verification` object with a three-value `verdict`, the check counts, and, when the pass found a fixable discrepancy, a suggested `correction`." },
|
|
22840
|
+
{
|
|
22841
|
+
type: "param-table",
|
|
22842
|
+
title: "Verification object",
|
|
22843
|
+
params: [
|
|
22844
|
+
{ name: "verdict", type: "string", description: "supported: every checked claim is backed by the turn's evidence. issues: at least one claim did not match the evidence. unverifiable: the claims could not be checked against the gathered evidence." },
|
|
22845
|
+
{ name: "checks_total", type: "integer", description: "How many claims the pass checked." },
|
|
22846
|
+
{ name: "checks_unsupported", type: "integer", description: "How many of them it could not support." },
|
|
22847
|
+
{ name: "correction", type: "string", description: "Present only when the pass produced a corrected statement for the unsupported claims." }
|
|
22848
|
+
]
|
|
22849
|
+
},
|
|
22850
|
+
{ type: "paragraph", text: "Treat the verdict as routing signal, not as ground truth. `supported` means the answer and the evidence agree, which is the normal case and safe to pass through automatically. `issues` is a **review pointer**: it does not prove the answer wrong, it flags that a second reading of the evidence disagreed with at least one claim, so route the answer to a human, show the `correction` if present, and lean on the citation deep links for the check. `unverifiable` usually means the answer is analytic or aggregative in a way the claim-checker could not bind to specific evidence; weigh it by how much your use case tolerates unreviewed synthesis. `verification` can also be `null` when no verdict was produced; treat that like `unverifiable`." },
|
|
22851
|
+
{ type: "callout", variant: "warning", text: "The verification pass checks the answer against the evidence this turn collected, not against the whole corpus from scratch. It catches the model contradicting its own sources, which is the dominant hallucination mode, but it is a safety net, not a substitute for the citations themselves." },
|
|
22852
|
+
{ type: "heading", level: 2, id: "ask-coverage", text: "Coverage statements: evidence-backed absence" },
|
|
22853
|
+
{ type: "paragraph", text: `The hardest answer for a retrieval system is "it is not there": plain RAG cannot distinguish "not in the top-k chunks" from "not in the corpus". Talonic's coverage plane can, because ingestion structures every document. When the agent answers "none of the 421 agreements in the workspace contains an exclusivity clause", the denominator comes from real corpus coverage and the absence claim is checked over the structured plane plus full-text search, not over a retrieval sample. Negative answers therefore arrive with the same confidence machinery as positive ones, and the verification pass checks them the same way.` },
|
|
22854
|
+
{
|
|
22855
|
+
type: "code",
|
|
22856
|
+
title: "Handling verdicts in code",
|
|
22857
|
+
language: "typescript",
|
|
22858
|
+
code: `function routeAnswer(turn: AskResult): 'auto' | 'review' {
|
|
22859
|
+
const v = turn.verification;
|
|
22860
|
+
if (v?.verdict === 'supported') return 'auto';
|
|
22861
|
+
// issues, unverifiable, and null all get a human look.
|
|
22862
|
+
// Surface the correction and the citation deep links to the reviewer.
|
|
22863
|
+
return 'review';
|
|
22864
|
+
}`
|
|
22865
|
+
}
|
|
22866
|
+
],
|
|
22867
|
+
related: [
|
|
22868
|
+
{ label: "POST /v1/ask", slug: "post-ask" },
|
|
22869
|
+
{ label: "Poll & Results", slug: "ask-results" },
|
|
22870
|
+
{ label: "Get Document", slug: "get-document" },
|
|
22871
|
+
{ label: "Get Document Fields", slug: "get-document-fields" }
|
|
22872
|
+
],
|
|
22873
|
+
faq: [
|
|
22874
|
+
{ question: "What is the difference between field and quote citations?", answer: "A field citation grounds a claim in a captured field: a value extracted at ingestion with provenance back to its exact source span, referenced by its field key. A quote citation grounds a claim in verbatim document text found via full-text and semantic search. Both carry a document_id and an app_url deep link that opens the document with the span highlighted." },
|
|
22875
|
+
{ question: "How should I treat a verdict of issues?", answer: "As a review pointer, not a falsification. It means the post-answer pass could not support at least one claim from the turn's own evidence. Route the answer to a human, show the correction field if present, and use the citation deep links to check the flagged claims at the source." },
|
|
22876
|
+
{ question: "Can verification be null?", answer: "Yes. verification is null when the turn produced no verdict. Treat it like unverifiable: fine for exploratory use, route to review where the answer feeds a decision." },
|
|
22877
|
+
{ question: "Do citation links work for people outside my Talonic workspace?", answer: "No. The app_url deep links open the document inside the Talonic app and require a signed-in member of the same workspace. For external consumers, resolve the evidence over the API instead: GET /v1/documents/:id and GET /v1/documents/:id/fields with your API key." }
|
|
22878
|
+
],
|
|
22879
|
+
mentions: ["citations", "provenance spans", "deep links", "verification verdict", "supported", "issues", "unverifiable", "coverage plane", "evidence-backed absence", "hallucination detection"]
|
|
21464
22880
|
}
|
|
21465
22881
|
];
|
|
21466
22882
|
|
|
21467
22883
|
// src/content/api/matching.ts
|
|
21468
|
-
var
|
|
22884
|
+
var sections39 = [
|
|
21469
22885
|
{
|
|
21470
22886
|
slug: "list-matching-configs",
|
|
21471
22887
|
parentSlug: "matching",
|
|
@@ -22800,7 +24216,7 @@ var sections37 = [
|
|
|
22800
24216
|
];
|
|
22801
24217
|
|
|
22802
24218
|
// src/content/api/delivery.ts
|
|
22803
|
-
var
|
|
24219
|
+
var sections40 = [
|
|
22804
24220
|
{
|
|
22805
24221
|
slug: "list-delivery-destinations",
|
|
22806
24222
|
parentSlug: "delivery",
|
|
@@ -24240,7 +25656,7 @@ var sections38 = [
|
|
|
24240
25656
|
];
|
|
24241
25657
|
|
|
24242
25658
|
// src/content/api/batches.ts
|
|
24243
|
-
var
|
|
25659
|
+
var sections41 = [
|
|
24244
25660
|
{
|
|
24245
25661
|
slug: "list-batches",
|
|
24246
25662
|
parentSlug: "batches",
|
|
@@ -24676,7 +26092,7 @@ var sections39 = [
|
|
|
24676
26092
|
];
|
|
24677
26093
|
|
|
24678
26094
|
// src/content/api/cases.ts
|
|
24679
|
-
var
|
|
26095
|
+
var sections42 = [
|
|
24680
26096
|
{
|
|
24681
26097
|
slug: "list-cases",
|
|
24682
26098
|
parentSlug: "cases",
|
|
@@ -25581,7 +26997,7 @@ var sections40 = [
|
|
|
25581
26997
|
];
|
|
25582
26998
|
|
|
25583
26999
|
// src/content/api/review.ts
|
|
25584
|
-
var
|
|
27000
|
+
var sections43 = [
|
|
25585
27001
|
{
|
|
25586
27002
|
slug: "list-review-items",
|
|
25587
27003
|
parentSlug: "review",
|
|
@@ -26085,7 +27501,7 @@ var sections41 = [
|
|
|
26085
27501
|
];
|
|
26086
27502
|
|
|
26087
27503
|
// src/content/api/quality.ts
|
|
26088
|
-
var
|
|
27504
|
+
var sections44 = [
|
|
26089
27505
|
{
|
|
26090
27506
|
slug: "list-quality-datasets",
|
|
26091
27507
|
parentSlug: "quality",
|
|
@@ -26831,7 +28247,7 @@ var sections42 = [
|
|
|
26831
28247
|
];
|
|
26832
28248
|
|
|
26833
28249
|
// src/content/api/routing-rules.ts
|
|
26834
|
-
var
|
|
28250
|
+
var sections45 = [
|
|
26835
28251
|
{
|
|
26836
28252
|
slug: "list-routing-rules",
|
|
26837
28253
|
parentSlug: "routing-rules",
|
|
@@ -27261,7 +28677,7 @@ var sections43 = [
|
|
|
27261
28677
|
];
|
|
27262
28678
|
|
|
27263
28679
|
// src/content/api/billing.ts
|
|
27264
|
-
var
|
|
28680
|
+
var sections46 = [
|
|
27265
28681
|
{
|
|
27266
28682
|
slug: "billing-settings",
|
|
27267
28683
|
parentSlug: "billing",
|
|
@@ -27666,7 +29082,7 @@ X-Talonic-Cells-Resolved-AI: 1`
|
|
|
27666
29082
|
];
|
|
27667
29083
|
|
|
27668
29084
|
// src/content/api/registry.ts
|
|
27669
|
-
var
|
|
29085
|
+
var sections47 = [
|
|
27670
29086
|
{
|
|
27671
29087
|
slug: "registry-query",
|
|
27672
29088
|
parentSlug: "registry",
|
|
@@ -27885,7 +29301,7 @@ var sections45 = [
|
|
|
27885
29301
|
];
|
|
27886
29302
|
|
|
27887
29303
|
// src/content/api/customer-ontologies.ts
|
|
27888
|
-
var
|
|
29304
|
+
var sections48 = [
|
|
27889
29305
|
{
|
|
27890
29306
|
slug: "customer-ontologies-overview",
|
|
27891
29307
|
parentSlug: "customer-ontologies",
|
|
@@ -28204,7 +29620,7 @@ var sections46 = [
|
|
|
28204
29620
|
];
|
|
28205
29621
|
|
|
28206
29622
|
// src/content/api/account.ts
|
|
28207
|
-
var
|
|
29623
|
+
var sections49 = [
|
|
28208
29624
|
{
|
|
28209
29625
|
slug: "get-account",
|
|
28210
29626
|
parentSlug: "account",
|
|
@@ -28370,7 +29786,7 @@ var sections47 = [
|
|
|
28370
29786
|
];
|
|
28371
29787
|
|
|
28372
29788
|
// src/content/api/nodes.ts
|
|
28373
|
-
var
|
|
29789
|
+
var sections50 = [
|
|
28374
29790
|
{
|
|
28375
29791
|
slug: "node-jobs",
|
|
28376
29792
|
parentSlug: "nodes",
|
|
@@ -28577,7 +29993,7 @@ var sections48 = [
|
|
|
28577
29993
|
];
|
|
28578
29994
|
|
|
28579
29995
|
// src/content/api/process.ts
|
|
28580
|
-
var
|
|
29996
|
+
var sections51 = [
|
|
28581
29997
|
{
|
|
28582
29998
|
slug: "submit-process",
|
|
28583
29999
|
parentSlug: "process",
|
|
@@ -28825,7 +30241,7 @@ var sections49 = [
|
|
|
28825
30241
|
];
|
|
28826
30242
|
|
|
28827
30243
|
// src/content/api/run.ts
|
|
28828
|
-
var
|
|
30244
|
+
var sections52 = [
|
|
28829
30245
|
{
|
|
28830
30246
|
slug: "run-spec",
|
|
28831
30247
|
parentSlug: "run",
|
|
@@ -28837,6 +30253,7 @@ var sections50 = [
|
|
|
28837
30253
|
{ type: "paragraph", text: "Inputs are flexible: attach up to 20 `files` as multipart parts, pass remote `file_urls` for documents the platform should download, or mix both in one call. At least one input is required. The endpoint always answers `202 Accepted` immediately with a `run_id` and a `poll_url` \u2014 ingestion and the pipeline run continue asynchronously, so the caller never blocks on OCR or LLM work." },
|
|
28838
30254
|
{ type: "paragraph", text: "Two optional tagging fields ride along and are stamped on **every document** the call ingests: `batch_id`, an opaque grouping key for correlating the run with an external job or batch, and `metadata`, a flat key-value object for anything else the caller wants to carry through. Both are echoed back by `GET /v1/run/:id`, and both surface on the ingested documents (`batch_id` / `metadata` on the document reads)." },
|
|
28839
30255
|
{ type: "paragraph", text: "The 202 response carries a `documents[]` array \u2014 one entry per input, in the order you sent them \u2014 so you always know which platform document each upload became. Each entry has `document_id`, `filename`, `size_bytes`, and `source` (`file` or `file_url`). `document_id` is the **canonical** document: for a byte-identical re-upload it resolves to the existing document already on the platform rather than minting a new one, and the entry additionally carries `deduplicated: true` plus `linked_document_id`, the id of the thin per-upload link row created for this call. A first-time upload carries `deduplicated: false` and no `linked_document_id`." },
|
|
30256
|
+
{ type: "paragraph", text: "The `ingestion_target` field controls how deep ingestion goes after OCR. The default, `ingest`, makes every document **askable**: once a document's OCR markdown is ready, Stage-2 field capture runs asynchronously in the background, extracting every field into the workspace corpus that [`POST /v1/ask`](post-ask) answers over and feeding the field registry. Capture follows the answers, it never delays them: the Spec pipeline starts the moment OCR markdown is ready, without waiting for capture. Pass `extract` to restore markdown-only ingestion: no background capture runs, and the documents do not join the askable corpus." },
|
|
28840
30257
|
{ type: "callout", variant: "info", text: "Unlike POST /v1/process, this endpoint does not deduplicate submissions \u2014 every call starts a fresh run. Byte-identical documents are still content-deduplicated at the ingestion layer (the run reads the canonical document's data)." },
|
|
28841
30258
|
{
|
|
28842
30259
|
type: "endpoint",
|
|
@@ -28854,7 +30271,8 @@ var sections50 = [
|
|
|
28854
30271
|
{ name: "file_urls", type: "string[]", description: "Zero or more remote document URLs the platform downloads (SSRF-guarded)." },
|
|
28855
30272
|
{ name: "name", type: "string", description: "Optional display name for the run (max 200 chars)." },
|
|
28856
30273
|
{ name: "batch_id", type: "string", description: "Optional opaque grouping key (max 200 chars), stamped on every ingested document and echoed by GET /v1/run/:id." },
|
|
28857
|
-
{ name: "metadata", type: "string", 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. Persisted on the run and stamped on every ingested document." }
|
|
30274
|
+
{ name: "metadata", type: "string", 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. Persisted on the run and stamped on every ingested document." },
|
|
30275
|
+
{ name: "ingestion_target", type: "string", default: "ingest", description: "ingest (default) or extract. ingest kicks async Stage-2 field capture after OCR so the documents become askable via POST /v1/ask; the Spec pipeline starts on the OCR markdown either way and never waits for capture. extract is markdown-only: no capture, documents are not askable." }
|
|
28858
30276
|
]
|
|
28859
30277
|
}
|
|
28860
30278
|
]
|
|
@@ -28935,6 +30353,7 @@ var sections50 = [
|
|
|
28935
30353
|
related: [
|
|
28936
30354
|
{ label: "Poll a Run", slug: "poll-spec-run" },
|
|
28937
30355
|
{ label: "Run a Pipeline (documents already uploaded)", slug: "run-pipeline" },
|
|
30356
|
+
{ label: "Ask Your Documents", slug: "post-ask" },
|
|
28938
30357
|
{ label: "Webhook Events", slug: "webhook-events" },
|
|
28939
30358
|
{ label: "Credits & Usage", slug: "credits-usage" }
|
|
28940
30359
|
],
|
|
@@ -28944,6 +30363,7 @@ var sections50 = [
|
|
|
28944
30363
|
{ question: "What are batch_id and metadata for?", answer: "They are caller-owned tags. batch_id is an opaque grouping key (your ERP job number, import batch, ticket id); metadata is a flat key-value object for anything else. Both are stamped on every document the call ingests and echoed back when polling the run, so you can correlate platform output with your own systems without a lookup table." },
|
|
28945
30364
|
{ question: "Does polling count against my rate limit?", answer: "Polling GET /v1/run/:id is metered under the general read namespace, not the run submission namespace \u2014 frequent polling never burns your daily submission quota." },
|
|
28946
30365
|
{ question: "What happens if I run out of credits?", answer: "The call is rejected up front with 402 insufficient_credits before any document is ingested \u2014 no partial run is created. Top up and resubmit the same call." },
|
|
30366
|
+
{ question: "What does ingestion_target do?", answer: "It sets how deep ingestion goes after OCR. The default, ingest, kicks asynchronous Stage-2 field capture once a document's OCR markdown is ready, which puts the document into the corpus POST /v1/ask answers over and feeds the field registry. The Spec pipeline starts on the OCR markdown in both modes and never waits for capture, so the default costs you no run latency. Pass extract for the old markdown-only behavior; those documents will not be askable." },
|
|
28947
30367
|
{ question: "How do I match run.completed results back to my uploads?", answer: "Use document_id. Each entry in the submit response's documents[] array carries the canonical document_id for that input, and each row in the run.completed webhook's records[] array carries the same document_id (plus filename) for the output it produced \u2014 join on that field to attribute a structured row back to the file or URL you sent. For a deduplicated upload (deduplicated: true), document_id points at the pre-existing canonical document, and linked_document_id identifies the link row created for this specific call." }
|
|
28948
30368
|
],
|
|
28949
30369
|
mentions: ["spec", "pipeline run", "one-call ingest", "batch_id", "client metadata", "multipart upload", "file_urls", "webhook", "documents[]", "deduplication", "linked_document_id"]
|
|
@@ -29052,7 +30472,7 @@ var sections50 = [
|
|
|
29052
30472
|
];
|
|
29053
30473
|
|
|
29054
30474
|
// src/content/api/reference-data.ts
|
|
29055
|
-
var
|
|
30475
|
+
var sections53 = [
|
|
29056
30476
|
{
|
|
29057
30477
|
slug: "list-reference-data",
|
|
29058
30478
|
parentSlug: "reference-data",
|
|
@@ -29486,7 +30906,7 @@ V003,Initech Ltd,DE,DE987654321`
|
|
|
29486
30906
|
];
|
|
29487
30907
|
|
|
29488
30908
|
// src/content/api/errors-rate-limits.ts
|
|
29489
|
-
var
|
|
30909
|
+
var sections54 = [
|
|
29490
30910
|
{
|
|
29491
30911
|
slug: "error-format",
|
|
29492
30912
|
parentSlug: "errors-rate-limits",
|
|
@@ -29657,7 +31077,7 @@ X-RateLimit-Reset: 2026-04-26T00:00:00.000Z`
|
|
|
29657
31077
|
];
|
|
29658
31078
|
|
|
29659
31079
|
// src/content/api/usage.ts
|
|
29660
|
-
var
|
|
31080
|
+
var sections55 = [
|
|
29661
31081
|
{
|
|
29662
31082
|
slug: "usage-overview",
|
|
29663
31083
|
parentSlug: "usage",
|
|
@@ -29931,7 +31351,7 @@ var sections53 = [
|
|
|
29931
31351
|
];
|
|
29932
31352
|
|
|
29933
31353
|
// src/content/api/pricing.ts
|
|
29934
|
-
var
|
|
31354
|
+
var sections56 = [
|
|
29935
31355
|
{
|
|
29936
31356
|
slug: "pricing-overview",
|
|
29937
31357
|
parentSlug: "pricing",
|
|
@@ -30044,7 +31464,7 @@ console.log(\`Batch: \${batchCredits} credits (\${batchCredits / pricing.cred
|
|
|
30044
31464
|
];
|
|
30045
31465
|
|
|
30046
31466
|
// src/content/api/document-types.ts
|
|
30047
|
-
var
|
|
31467
|
+
var sections57 = [
|
|
30048
31468
|
{
|
|
30049
31469
|
slug: "list-document-types",
|
|
30050
31470
|
parentSlug: "document-types",
|
|
@@ -30210,7 +31630,7 @@ var sections55 = [
|
|
|
30210
31630
|
];
|
|
30211
31631
|
|
|
30212
31632
|
// src/content/api/dialects.ts
|
|
30213
|
-
var
|
|
31633
|
+
var sections58 = [
|
|
30214
31634
|
{
|
|
30215
31635
|
slug: "list-dialects",
|
|
30216
31636
|
parentSlug: "dialects",
|
|
@@ -30758,7 +32178,7 @@ var sections56 = [
|
|
|
30758
32178
|
];
|
|
30759
32179
|
|
|
30760
32180
|
// src/content/api/fields.ts
|
|
30761
|
-
var
|
|
32181
|
+
var sections59 = [
|
|
30762
32182
|
{
|
|
30763
32183
|
slug: "list-fields",
|
|
30764
32184
|
parentSlug: "fields",
|
|
@@ -31207,7 +32627,7 @@ var sections57 = [
|
|
|
31207
32627
|
];
|
|
31208
32628
|
|
|
31209
32629
|
// src/content/api/data-products.ts
|
|
31210
|
-
var
|
|
32630
|
+
var sections60 = [
|
|
31211
32631
|
{
|
|
31212
32632
|
slug: "list-data-products",
|
|
31213
32633
|
parentSlug: "data-products",
|
|
@@ -31862,7 +33282,7 @@ curl -s https://api.talonic.com/v1/data-products/6ecb46fa-24ba-4b5d-93ee-b8b6c6b
|
|
|
31862
33282
|
];
|
|
31863
33283
|
|
|
31864
33284
|
// src/content/api/data-policies.ts
|
|
31865
|
-
var
|
|
33285
|
+
var sections61 = [
|
|
31866
33286
|
{
|
|
31867
33287
|
slug: "list-data-policies",
|
|
31868
33288
|
parentSlug: "data-policies",
|
|
@@ -32667,7 +34087,7 @@ var sections59 = [
|
|
|
32667
34087
|
];
|
|
32668
34088
|
|
|
32669
34089
|
// src/content/api/record-sets.ts
|
|
32670
|
-
var
|
|
34090
|
+
var sections62 = [
|
|
32671
34091
|
{
|
|
32672
34092
|
slug: "list-record-sets",
|
|
32673
34093
|
parentSlug: "record-sets",
|
|
@@ -33187,7 +34607,7 @@ var sections60 = [
|
|
|
33187
34607
|
];
|
|
33188
34608
|
|
|
33189
34609
|
// src/content/api/pipelines.ts
|
|
33190
|
-
var
|
|
34610
|
+
var sections63 = [
|
|
33191
34611
|
{
|
|
33192
34612
|
slug: "run-pipeline",
|
|
33193
34613
|
parentSlug: "pipelines",
|
|
@@ -33813,7 +35233,7 @@ var sections61 = [
|
|
|
33813
35233
|
];
|
|
33814
35234
|
|
|
33815
35235
|
// src/content/api/field-reviews.ts
|
|
33816
|
-
var
|
|
35236
|
+
var sections64 = [
|
|
33817
35237
|
{
|
|
33818
35238
|
slug: "list-field-reviews",
|
|
33819
35239
|
parentSlug: "field-reviews",
|
|
@@ -34693,7 +36113,7 @@ dec_uuid_1,a1b2c3d4-e5f6-7890-abcd-ef1234567890,lease_oct.pdf,total_amount,gate,
|
|
|
34693
36113
|
];
|
|
34694
36114
|
|
|
34695
36115
|
// src/content/api/spec-config.ts
|
|
34696
|
-
var
|
|
36116
|
+
var sections65 = [
|
|
34697
36117
|
{
|
|
34698
36118
|
slug: "get-spec-rail",
|
|
34699
36119
|
parentSlug: "spec-config",
|
|
@@ -35705,7 +37125,7 @@ var sections63 = [
|
|
|
35705
37125
|
];
|
|
35706
37126
|
|
|
35707
37127
|
// src/content/api/reconciliation.ts
|
|
35708
|
-
var
|
|
37128
|
+
var sections66 = [
|
|
35709
37129
|
{
|
|
35710
37130
|
slug: "analyze-reconciliation",
|
|
35711
37131
|
parentSlug: "reconciliation",
|
|
@@ -36296,7 +37716,7 @@ var sections64 = [
|
|
|
36296
37716
|
];
|
|
36297
37717
|
|
|
36298
37718
|
// src/content/api/matching-packages.ts
|
|
36299
|
-
var
|
|
37719
|
+
var sections67 = [
|
|
36300
37720
|
{
|
|
36301
37721
|
slug: "create-matching-package-config",
|
|
36302
37722
|
parentSlug: "matching-packages",
|
|
@@ -37242,7 +38662,7 @@ talonic --help` }
|
|
|
37242
38662
|
];
|
|
37243
38663
|
|
|
37244
38664
|
// src/content/sdk/index.ts
|
|
37245
|
-
var
|
|
38665
|
+
var sections68 = sections_default;
|
|
37246
38666
|
|
|
37247
38667
|
// src/content/mcp/sections.json
|
|
37248
38668
|
var sections_default2 = [
|
|
@@ -39737,7 +41157,7 @@ var sections_default2 = [
|
|
|
39737
41157
|
];
|
|
39738
41158
|
|
|
39739
41159
|
// src/content/mcp/index.ts
|
|
39740
|
-
var
|
|
41160
|
+
var sections69 = sections_default2;
|
|
39741
41161
|
|
|
39742
41162
|
// src/content/index.ts
|
|
39743
41163
|
var ALL_PLATFORM_RAW = [
|
|
@@ -39758,10 +41178,10 @@ var ALL_PLATFORM_RAW = [
|
|
|
39758
41178
|
...sections15,
|
|
39759
41179
|
...sections16,
|
|
39760
41180
|
...sections17,
|
|
39761
|
-
...sections18
|
|
41181
|
+
...sections18,
|
|
41182
|
+
...sections19
|
|
39762
41183
|
];
|
|
39763
41184
|
var ALL_API_RAW = [
|
|
39764
|
-
...sections19,
|
|
39765
41185
|
...sections20,
|
|
39766
41186
|
...sections21,
|
|
39767
41187
|
...sections22,
|
|
@@ -39794,8 +41214,8 @@ var ALL_API_RAW = [
|
|
|
39794
41214
|
...sections49,
|
|
39795
41215
|
...sections50,
|
|
39796
41216
|
...sections51,
|
|
41217
|
+
...sections52,
|
|
39797
41218
|
...sections53,
|
|
39798
|
-
...sections54,
|
|
39799
41219
|
...sections55,
|
|
39800
41220
|
...sections56,
|
|
39801
41221
|
...sections57,
|
|
@@ -39807,10 +41227,12 @@ var ALL_API_RAW = [
|
|
|
39807
41227
|
...sections63,
|
|
39808
41228
|
...sections64,
|
|
39809
41229
|
...sections65,
|
|
39810
|
-
...
|
|
41230
|
+
...sections66,
|
|
41231
|
+
...sections67,
|
|
41232
|
+
...sections54
|
|
39811
41233
|
];
|
|
39812
|
-
var ALL_SDK_RAW = [...
|
|
39813
|
-
var ALL_MCP_RAW = [...
|
|
41234
|
+
var ALL_SDK_RAW = [...sections68];
|
|
41235
|
+
var ALL_MCP_RAW = [...sections69];
|
|
39814
41236
|
function enrich(raw, navSections, domain) {
|
|
39815
41237
|
return raw.map((r) => {
|
|
39816
41238
|
const { prev, next } = derivePrevNext(navSections, r.slug);
|