@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/seo.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ declare const PLATFORM_FAQ: {
|
|
|
42
42
|
question: string;
|
|
43
43
|
answer: string;
|
|
44
44
|
}[];
|
|
45
|
-
declare const LLMS_TXT = "# Talonic\n\n> The data registry for unstructured documents. Agents extract once, query forever. 529 document types, 25+ file formats, per-cell provenance. Co-author of DIN SPEC 91491.\n\n## For Agents\n\n- [MCP Server](https://mcp.talonic.com/mcp): Hosted MCP endpoint \u2014 zero install, native Model Context Protocol\n- [MCP Setup Guide](https://talonic.com/docs/mcp): Claude Desktop, Cursor, Cline, Continue, Cowork configuration\n- [Cost Headers](https://talonic.com/developers#billing): X-Talonic-Cost-Credits and X-Talonic-Balance-Credits on every response\n- [Credit Balance & Runway](https://talonic.com/docs/api/credits): GET /v1/credits/balance \u2014 check remaining budget before calls\n- [Idempotency-Key](https://talonic.com/docs/api#idempotency): Safe retries \u2014 pass Idempotency-Key header to deduplicate requests\n- [Auto Top-Up](https://talonic.com/developers#billing): Human-gated credit replenishment \u2014 agents can check, humans approve\n- [Sync/Async Contract](https://talonic.com/docs/api/extract): \u22645 pages \u2192 200 sync response; larger \u2192 202 with poll_url\n\n## Three Modes\n\n- [Mode 1 \u2014 Extract Everything](https://talonic.com/developers#trio): POST /v1/extract with no schema \u2014 discover all fields in any document\n- [Mode 2 \u2014 Extract a Shape](https://talonic.com/developers#trio): POST /v1/extract with a schema \u2014 get exactly the fields you define\n- [Mode 3 \u2014 Query Without Re-extracting](https://talonic.com/developers#trio): POST /v1/documents/filter \u2014 query the Field Registry across previously extracted documents\n\n## API Quickstart\n\n- [Getting Started](https://talonic.com/docs/getting-started): Authentication, first extraction, schema creation\n- [POST /v1/extract](https://talonic.com/docs/api/extract): Primary extraction endpoint \u2014 sync, async, and batch modes\n- [Documents](https://talonic.com/docs/api/documents): List, retrieve, delete documents and get markdown\n- [Extractions](https://talonic.com/docs/api/extractions): Query extraction results and submit corrections\n- [Schemas](https://talonic.com/docs/api/schemas): Create, update, list, and delete extraction schemas\n- [Jobs](https://talonic.com/docs/api/jobs): Track async extraction jobs and results\n- [Webhooks](https://talonic.com/docs/api/webhooks): Event-driven flow \u2014 HMAC-SHA256 signed, exponential backoff retries\n- [Search & Filter](https://talonic.com/docs/api/search): Omnisearch, document filtering, field autocomplete\n- [OpenAPI 3.1 Spec](https://talonic.com/openapi.json): Machine-readable API specification\n\n## Concepts\n\n- [Field Registry](https://talonic.com/docs/concepts/field-registry): Unified knowledge graph of all extracted fields \u2014 tiers, clusters, master instructions\n- [Provenance & Confidence](https://talonic.com/docs/concepts/provenance): Per-cell confidence scores (0.0\u20131.0), resolution types, reasoning traces\n- [Cases & Document Linking](https://talonic.com/docs/concepts/cases): Entity matching, case formation, evidence chains\n- [4-Phase Pipeline](https://talonic.com/docs/concepts/pipeline): Resolve \u2192 Agent \u2192 Validation \u2192 Re-read\n- [Document Ontology](https://talonic.com/docs/concepts/ontology): 529-type classification across 10 categories\n- [Schemas](https://talonic.com/docs/concepts/schemas): Generated schemas vs. user templates, field matching, versioning\n\n## SDKs\n\n- [Node SDK](https://talonic.com/docs/sdk): Official Node.js/TypeScript SDK \u2014 extract, documents, schemas, jobs\n- [MCP Server Docs](https://talonic.com/docs/mcp): 7 tools \u2014 extract, search, filter, get_document, to_markdown, list_schemas, save_schema\n- [Authentication](https://talonic.com/docs/authentication): API key creation, scopes, Bearer token usage\n- [Error Codes](https://talonic.com/docs/errors): Error response format and code reference\n- [Rate Limits](https://talonic.com/docs/rate-limits): Rate limit tiers by plan and headers\n\n## Platform Guide\n\n- [Platform Overview](https://talonic.com/docs/platform): Core concepts, platform flow, supported formats\n- [Field Intelligence](https://talonic.com/docs/platform/tier-system): Tier system, semantic clusters, master instructions\n- [Schemas & Templates](https://talonic.com/docs/platform/generated-schemas): Schema creation, field matching, versioning, dialects\n- [Extraction Jobs](https://talonic.com/docs/platform/creating-job): Creating jobs, reviewing results, confidence and provenance\n- [Linking & Cases](https://talonic.com/docs/platform/entity-linking): Entity linking, link keys, cases, anomaly detection\n- [Validation & Quality](https://talonic.com/docs/platform/validation-checks): Golden samples, approval gates, ground truth benchmarks\n- [Delivery](https://talonic.com/docs/platform/destinations): Webhooks, REST, SFTP, email, S3/R2, field mappings, triggers\n\n## Document Types\n\n- [Financial & Tax](https://talonic.com/document-types/financial-tax): Schedule K-1, VAT Returns, Balance Sheets, SWIFT MT103, and 49 more\n- [Procurement & Invoicing](https://talonic.com/document-types/procurement-invoicing): Purchase Orders, Commercial Invoices, RFPs, and 50 more\n- [Trade & Logistics](https://talonic.com/document-types/trade-logistics): Bills of Lading, Air Waybills, Customs Declarations, and 50 more\n- [Legal & Contracts](https://talonic.com/document-types/legal-contracts): NDAs, MSAs, Loan Agreements, DPAs, and 48 more\n- [Corporate & Governance](https://talonic.com/document-types/corporate-governance): KYC Packages, Board Resolutions, ESG Reports, and 50 more\n- [Healthcare & Life Sciences](https://talonic.com/document-types/healthcare-life-sciences): Discharge Summaries, Clinical Trials, 510(k), and 50 more\n- [Manufacturing & Quality](https://talonic.com/document-types/manufacturing-quality): Certificates of Analysis, FMEA, BOM, PPAP, and 49 more\n- [Insurance & Claims](https://talonic.com/document-types/insurance-claims): FNOL Reports, Policy Declarations, Reinsurance, and 50 more\n- [Real Estate & Construction](https://talonic.com/document-types/real-estate-construction): Property Deeds, AIA G702, Lien Waivers, and 50 more\n- [HR & Employee Records](https://talonic.com/document-types/hr-employee-records): I-9 Forms, FMLA Certifications, Payroll Registers, and 49 more\n\n## Company\n\n- [Product](https://talonic.com/product): Full platform walkthrough for technical evaluation\n- [Pricing](https://talonic.com/pricing): Free (5,000 credits/mo), Pro (\u20AC49/mo), Enterprise (custom)\n- [Developers](https://talonic.com/developers): Three Modes, API, SDK, MCP server overview\n- [DIN SPEC 91491](https://talonic.com/din-91491): Europe's first standard for AI-ready data\n- [Security](https://talonic.com/security): GDPR
|
|
45
|
+
declare const LLMS_TXT = "# Talonic\n\n> The data registry for unstructured documents. Agents extract once, query forever. 529 document types, 25+ file formats, per-cell provenance. Co-author of DIN SPEC 91491.\n\n## For Agents\n\n- [MCP Server](https://mcp.talonic.com/mcp): Hosted MCP endpoint \u2014 zero install, native Model Context Protocol\n- [MCP Setup Guide](https://talonic.com/docs/mcp): Claude Desktop, Cursor, Cline, Continue, Cowork configuration\n- [Cost Headers](https://talonic.com/developers#billing): X-Talonic-Cost-Credits and X-Talonic-Balance-Credits on every response\n- [Credit Balance & Runway](https://talonic.com/docs/api/credits): GET /v1/credits/balance \u2014 check remaining budget before calls\n- [Idempotency-Key](https://talonic.com/docs/api#idempotency): Safe retries \u2014 pass Idempotency-Key header to deduplicate requests\n- [Auto Top-Up](https://talonic.com/developers#billing): Human-gated credit replenishment \u2014 agents can check, humans approve\n- [Sync/Async Contract](https://talonic.com/docs/api/extract): \u22645 pages \u2192 200 sync response; larger \u2192 202 with poll_url\n\n## Three Modes\n\n- [Mode 1 \u2014 Extract Everything](https://talonic.com/developers#trio): POST /v1/extract with no schema \u2014 discover all fields in any document\n- [Mode 2 \u2014 Extract a Shape](https://talonic.com/developers#trio): POST /v1/extract with a schema \u2014 get exactly the fields you define\n- [Mode 3 \u2014 Query Without Re-extracting](https://talonic.com/developers#trio): POST /v1/documents/filter \u2014 query the Field Registry across previously extracted documents\n\n## API Quickstart\n\n- [Getting Started](https://talonic.com/docs/getting-started): Authentication, first extraction, schema creation\n- [POST /v1/extract](https://talonic.com/docs/api/extract): Primary extraction endpoint \u2014 sync, async, and batch modes\n- [Documents](https://talonic.com/docs/api/documents): List, retrieve, delete documents and get markdown\n- [Extractions](https://talonic.com/docs/api/extractions): Query extraction results and submit corrections\n- [Schemas](https://talonic.com/docs/api/schemas): Create, update, list, and delete extraction schemas\n- [Jobs](https://talonic.com/docs/api/jobs): Track async extraction jobs and results\n- [Webhooks](https://talonic.com/docs/api/webhooks): Event-driven flow \u2014 HMAC-SHA256 signed, exponential backoff retries\n- [Search & Filter](https://talonic.com/docs/api/search): Omnisearch, document filtering, field autocomplete\n- [OpenAPI 3.1 Spec](https://talonic.com/openapi.json): Machine-readable API specification\n\n## Concepts\n\n- [Field Registry](https://talonic.com/docs/concepts/field-registry): Unified knowledge graph of all extracted fields \u2014 tiers, clusters, master instructions\n- [Provenance & Confidence](https://talonic.com/docs/concepts/provenance): Per-cell confidence scores (0.0\u20131.0), resolution types, reasoning traces\n- [Cases & Document Linking](https://talonic.com/docs/concepts/cases): Entity matching, case formation, evidence chains\n- [4-Phase Pipeline](https://talonic.com/docs/concepts/pipeline): Resolve \u2192 Agent \u2192 Validation \u2192 Re-read\n- [Document Ontology](https://talonic.com/docs/concepts/ontology): 529-type classification across 10 categories\n- [Schemas](https://talonic.com/docs/concepts/schemas): Generated schemas vs. user templates, field matching, versioning\n\n## SDKs\n\n- [Node SDK](https://talonic.com/docs/sdk): Official Node.js/TypeScript SDK \u2014 extract, documents, schemas, jobs\n- [MCP Server Docs](https://talonic.com/docs/mcp): 7 tools \u2014 extract, search, filter, get_document, to_markdown, list_schemas, save_schema\n- [Authentication](https://talonic.com/docs/authentication): API key creation, scopes, Bearer token usage\n- [Error Codes](https://talonic.com/docs/errors): Error response format and code reference\n- [Rate Limits](https://talonic.com/docs/rate-limits): Rate limit tiers by plan and headers\n\n## Platform Guide\n\n- [Platform Overview](https://talonic.com/docs/platform): Core concepts, platform flow, supported formats\n- [Field Intelligence](https://talonic.com/docs/platform/tier-system): Tier system, semantic clusters, master instructions\n- [Schemas & Templates](https://talonic.com/docs/platform/generated-schemas): Schema creation, field matching, versioning, dialects\n- [Extraction Jobs](https://talonic.com/docs/platform/creating-job): Creating jobs, reviewing results, confidence and provenance\n- [Linking & Cases](https://talonic.com/docs/platform/entity-linking): Entity linking, link keys, cases, anomaly detection\n- [Validation & Quality](https://talonic.com/docs/platform/validation-checks): Golden samples, approval gates, ground truth benchmarks\n- [Delivery](https://talonic.com/docs/platform/destinations): Webhooks, REST, SFTP, email, S3/R2, field mappings, triggers\n- [Enterprise Archive](https://talonic.com/docs/platform/archive-overview): Retention policies, legal holds, review-gated disposition, tamper-evident audit trail\n- [Archive Security Architecture](https://talonic.com/docs/platform/security-architecture): Fixity verification cycles, hash-chain anchoring, write-once encrypted storage, compartments, MFA/step-up, SCIM, export bundles\n\n## Document Types\n\n- [Financial & Tax](https://talonic.com/document-types/financial-tax): Schedule K-1, VAT Returns, Balance Sheets, SWIFT MT103, and 49 more\n- [Procurement & Invoicing](https://talonic.com/document-types/procurement-invoicing): Purchase Orders, Commercial Invoices, RFPs, and 50 more\n- [Trade & Logistics](https://talonic.com/document-types/trade-logistics): Bills of Lading, Air Waybills, Customs Declarations, and 50 more\n- [Legal & Contracts](https://talonic.com/document-types/legal-contracts): NDAs, MSAs, Loan Agreements, DPAs, and 48 more\n- [Corporate & Governance](https://talonic.com/document-types/corporate-governance): KYC Packages, Board Resolutions, ESG Reports, and 50 more\n- [Healthcare & Life Sciences](https://talonic.com/document-types/healthcare-life-sciences): Discharge Summaries, Clinical Trials, 510(k), and 50 more\n- [Manufacturing & Quality](https://talonic.com/document-types/manufacturing-quality): Certificates of Analysis, FMEA, BOM, PPAP, and 49 more\n- [Insurance & Claims](https://talonic.com/document-types/insurance-claims): FNOL Reports, Policy Declarations, Reinsurance, and 50 more\n- [Real Estate & Construction](https://talonic.com/document-types/real-estate-construction): Property Deeds, AIA G702, Lien Waivers, and 50 more\n- [HR & Employee Records](https://talonic.com/document-types/hr-employee-records): I-9 Forms, FMLA Certifications, Payroll Registers, and 49 more\n\n## Company\n\n- [Product](https://talonic.com/product): Full platform walkthrough for technical evaluation\n- [Pricing](https://talonic.com/pricing): Free (5,000 credits/mo), Pro (\u20AC49/mo), Enterprise (custom)\n- [Developers](https://talonic.com/developers): Three Modes, API, SDK, MCP server overview\n- [DIN SPEC 91491](https://talonic.com/din-91491): Europe's first standard for AI-ready data\n- [Security](https://talonic.com/security): GDPR-aligned archive controls (retention, legal hold, erasure, tamper-evident audit), EU data residency\n- [Contact](https://talonic.com/contact): Book a demo or request a schema audit\n\n## Optional\n\n- [Full Documentation for AI Models](https://talonic.com/llms-full.txt): Concatenated full reference \u2014 API, platform, pricing, compliance\n- [Talonic vs Reducto](https://talonic.com/vs/reducto): Schema-first vs. parse-first comparison\n- [Talonic vs Instabase](https://talonic.com/vs/instabase): Platform architecture comparison\n";
|
|
46
46
|
declare const LLMS_FULL_TXT_HEADER = "# Talonic \u2014 Full Documentation\n\n> This file contains the complete Talonic documentation for LLM consumption.\n> For a summary, see llms.txt.\n\n";
|
|
47
47
|
|
|
48
48
|
export { API_FAQ, API_NAV_SECTIONS, API_SECTION_META, LLMS_FULL_TXT_HEADER, LLMS_TXT, MCP_FAQ, MCP_NAV_SECTIONS, MCP_SECTION_META, OPENAPI_SPEC, PLATFORM_FAQ, PLATFORM_NAV_SECTIONS, PLATFORM_SECTION_META, SDK_FAQ, SDK_NAV_SECTIONS, SDK_SECTION_META, type SectionMeta };
|
package/dist/seo.js
CHANGED
|
@@ -10040,6 +10040,314 @@ var openapi_default = {
|
|
|
10040
10040
|
}
|
|
10041
10041
|
}
|
|
10042
10042
|
},
|
|
10043
|
+
"/v1/ask": {
|
|
10044
|
+
post: {
|
|
10045
|
+
operationId: "ask",
|
|
10046
|
+
summary: "Ask a question over your documents",
|
|
10047
|
+
description: 'Ask a natural-language question over the workspace corpus and get back a cited,\nverified answer. This is the "replace your RAG stack" endpoint: instead of\nchunk-embed-retrieve, the Talonic agent plans over the structured field plane\n(three-plane retrieval: semantic field match, lexical value match, and document\ntext search), runs read-only SQL over extracted cells, extracts-and-persists\nmissing fields at query time, and grounds every load-bearing claim in an exact\nsource span.\n\nThe turn runs detached and typically takes 10-60 seconds, so the endpoint is\nasynchronous: it returns `202` with an `ask_id` immediately \u2014 poll\n`GET /v1/ask/{id}` (about every 2 seconds) for the answer.\n\nEach accepted ask charges one flat `agent_ask` credit unit (see `GET /v1/pricing`).\nThe turn is pinned to the least-privilege viewer role: only read tools run, every\nmutation is denied before it executes.\n',
|
|
10048
|
+
tags: [
|
|
10049
|
+
"Agent"
|
|
10050
|
+
],
|
|
10051
|
+
requestBody: {
|
|
10052
|
+
required: true,
|
|
10053
|
+
content: {
|
|
10054
|
+
"application/json": {
|
|
10055
|
+
schema: {
|
|
10056
|
+
type: "object",
|
|
10057
|
+
required: [
|
|
10058
|
+
"question"
|
|
10059
|
+
],
|
|
10060
|
+
properties: {
|
|
10061
|
+
question: {
|
|
10062
|
+
type: "string",
|
|
10063
|
+
maxLength: 2e4,
|
|
10064
|
+
description: "The natural-language question to answer over the workspace corpus.",
|
|
10065
|
+
example: "What is the payment term in the Globex contract, and where does it say so?"
|
|
10066
|
+
}
|
|
10067
|
+
}
|
|
10068
|
+
}
|
|
10069
|
+
}
|
|
10070
|
+
}
|
|
10071
|
+
},
|
|
10072
|
+
responses: {
|
|
10073
|
+
"202": {
|
|
10074
|
+
description: "Ask accepted; poll `poll_url` for the answer.",
|
|
10075
|
+
content: {
|
|
10076
|
+
"application/json": {
|
|
10077
|
+
schema: {
|
|
10078
|
+
type: "object",
|
|
10079
|
+
properties: {
|
|
10080
|
+
ask_id: {
|
|
10081
|
+
type: "string",
|
|
10082
|
+
format: "uuid"
|
|
10083
|
+
},
|
|
10084
|
+
status: {
|
|
10085
|
+
type: "string",
|
|
10086
|
+
enum: [
|
|
10087
|
+
"processing"
|
|
10088
|
+
]
|
|
10089
|
+
},
|
|
10090
|
+
poll_url: {
|
|
10091
|
+
type: "string",
|
|
10092
|
+
example: "/v1/ask/3fa85f64-5717-4562-b3fc-2c963f66afa6"
|
|
10093
|
+
}
|
|
10094
|
+
}
|
|
10095
|
+
}
|
|
10096
|
+
}
|
|
10097
|
+
}
|
|
10098
|
+
},
|
|
10099
|
+
"400": {
|
|
10100
|
+
$ref: "#/components/responses/BadRequest"
|
|
10101
|
+
},
|
|
10102
|
+
"401": {
|
|
10103
|
+
$ref: "#/components/responses/Unauthorized"
|
|
10104
|
+
},
|
|
10105
|
+
"402": {
|
|
10106
|
+
description: "Insufficient credits. The body is the agent-actionable `insufficient_credits` contract with `buy_credits_url` and `pricing_url`."
|
|
10107
|
+
},
|
|
10108
|
+
"429": {
|
|
10109
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
10110
|
+
}
|
|
10111
|
+
}
|
|
10112
|
+
}
|
|
10113
|
+
},
|
|
10114
|
+
"/v1/ask/{id}": {
|
|
10115
|
+
get: {
|
|
10116
|
+
operationId: "getAsk",
|
|
10117
|
+
summary: "Poll an ask for its answer",
|
|
10118
|
+
description: 'Poll a previously-started ask. Tenant-isolated: an ask that belongs to a different\nworkspace reads as not found. While the turn runs the response is\n`{ "status": "processing" }`; once completed it carries:\n\n- `answer` \u2014 the full answer in markdown, citations inline as links.\n- `citations[]` \u2014 the same citations structured: source `document_id`, the cited\n `quote`, whether it grounds a captured `field` or a verbatim `quote`, and a deep\n `app_url` that opens the document with the span highlighted.\n- `verification` \u2014 the post-answer verification verdict: a fast model re-checks the\n answer\'s claims against the turn\'s own tool evidence (`supported` | `issues` |\n `unverifiable`, with check counts and an optional correction). Treat `issues` as a\n review pointer, not ground truth.\n- `usage` \u2014 token count and the flat `credits_charged`.\n',
|
|
10119
|
+
tags: [
|
|
10120
|
+
"Agent"
|
|
10121
|
+
],
|
|
10122
|
+
parameters: [
|
|
10123
|
+
{
|
|
10124
|
+
name: "id",
|
|
10125
|
+
in: "path",
|
|
10126
|
+
required: true,
|
|
10127
|
+
schema: {
|
|
10128
|
+
type: "string",
|
|
10129
|
+
format: "uuid"
|
|
10130
|
+
}
|
|
10131
|
+
}
|
|
10132
|
+
],
|
|
10133
|
+
responses: {
|
|
10134
|
+
"200": {
|
|
10135
|
+
description: "The ask's current state (processing, completed, or error).",
|
|
10136
|
+
content: {
|
|
10137
|
+
"application/json": {
|
|
10138
|
+
schema: {
|
|
10139
|
+
type: "object",
|
|
10140
|
+
properties: {
|
|
10141
|
+
ask_id: {
|
|
10142
|
+
type: "string",
|
|
10143
|
+
format: "uuid"
|
|
10144
|
+
},
|
|
10145
|
+
status: {
|
|
10146
|
+
type: "string",
|
|
10147
|
+
enum: [
|
|
10148
|
+
"processing",
|
|
10149
|
+
"completed",
|
|
10150
|
+
"error"
|
|
10151
|
+
]
|
|
10152
|
+
},
|
|
10153
|
+
poll_url: {
|
|
10154
|
+
type: "string"
|
|
10155
|
+
},
|
|
10156
|
+
answer: {
|
|
10157
|
+
type: "string",
|
|
10158
|
+
description: "Markdown answer (present when completed)."
|
|
10159
|
+
},
|
|
10160
|
+
citations: {
|
|
10161
|
+
type: "array",
|
|
10162
|
+
items: {
|
|
10163
|
+
type: "object",
|
|
10164
|
+
properties: {
|
|
10165
|
+
quote: {
|
|
10166
|
+
type: "string"
|
|
10167
|
+
},
|
|
10168
|
+
document_id: {
|
|
10169
|
+
type: "string",
|
|
10170
|
+
format: "uuid"
|
|
10171
|
+
},
|
|
10172
|
+
kind: {
|
|
10173
|
+
type: "string",
|
|
10174
|
+
enum: [
|
|
10175
|
+
"field",
|
|
10176
|
+
"quote"
|
|
10177
|
+
]
|
|
10178
|
+
},
|
|
10179
|
+
reference: {
|
|
10180
|
+
type: "string"
|
|
10181
|
+
},
|
|
10182
|
+
app_url: {
|
|
10183
|
+
type: "string"
|
|
10184
|
+
}
|
|
10185
|
+
}
|
|
10186
|
+
}
|
|
10187
|
+
},
|
|
10188
|
+
verification: {
|
|
10189
|
+
type: "object",
|
|
10190
|
+
nullable: true,
|
|
10191
|
+
properties: {
|
|
10192
|
+
verdict: {
|
|
10193
|
+
type: "string",
|
|
10194
|
+
enum: [
|
|
10195
|
+
"supported",
|
|
10196
|
+
"issues",
|
|
10197
|
+
"unverifiable"
|
|
10198
|
+
]
|
|
10199
|
+
},
|
|
10200
|
+
checks_total: {
|
|
10201
|
+
type: "integer"
|
|
10202
|
+
},
|
|
10203
|
+
checks_unsupported: {
|
|
10204
|
+
type: "integer"
|
|
10205
|
+
},
|
|
10206
|
+
correction: {
|
|
10207
|
+
type: "string"
|
|
10208
|
+
}
|
|
10209
|
+
}
|
|
10210
|
+
},
|
|
10211
|
+
usage: {
|
|
10212
|
+
type: "object",
|
|
10213
|
+
properties: {
|
|
10214
|
+
tokens: {
|
|
10215
|
+
type: "integer",
|
|
10216
|
+
nullable: true
|
|
10217
|
+
},
|
|
10218
|
+
credits_charged: {
|
|
10219
|
+
type: "integer"
|
|
10220
|
+
}
|
|
10221
|
+
}
|
|
10222
|
+
}
|
|
10223
|
+
}
|
|
10224
|
+
}
|
|
10225
|
+
}
|
|
10226
|
+
}
|
|
10227
|
+
},
|
|
10228
|
+
"401": {
|
|
10229
|
+
$ref: "#/components/responses/Unauthorized"
|
|
10230
|
+
},
|
|
10231
|
+
"404": {
|
|
10232
|
+
$ref: "#/components/responses/NotFound"
|
|
10233
|
+
},
|
|
10234
|
+
"429": {
|
|
10235
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
10236
|
+
}
|
|
10237
|
+
}
|
|
10238
|
+
}
|
|
10239
|
+
},
|
|
10240
|
+
"/v1/agent/query": {
|
|
10241
|
+
post: {
|
|
10242
|
+
operationId: "startAgentQuery",
|
|
10243
|
+
summary: "Ask the agent (legacy alias of /v1/ask)",
|
|
10244
|
+
description: "Legacy alias of `POST /v1/ask` with a minimal response shape. Starts a read-only\nagent turn (202) to poll via `GET /v1/agent/query/{id}`, which returns only\n`status` and the plain `answer` text. New integrations should use `/v1/ask`,\nwhich adds structured citations, the verification verdict, and usage. Charges the\nsame flat `agent_ask` unit.\n",
|
|
10245
|
+
tags: [
|
|
10246
|
+
"Agent"
|
|
10247
|
+
],
|
|
10248
|
+
requestBody: {
|
|
10249
|
+
required: true,
|
|
10250
|
+
content: {
|
|
10251
|
+
"application/json": {
|
|
10252
|
+
schema: {
|
|
10253
|
+
type: "object",
|
|
10254
|
+
required: [
|
|
10255
|
+
"query"
|
|
10256
|
+
],
|
|
10257
|
+
properties: {
|
|
10258
|
+
query: {
|
|
10259
|
+
type: "string",
|
|
10260
|
+
maxLength: 2e4
|
|
10261
|
+
}
|
|
10262
|
+
}
|
|
10263
|
+
}
|
|
10264
|
+
}
|
|
10265
|
+
}
|
|
10266
|
+
},
|
|
10267
|
+
responses: {
|
|
10268
|
+
"202": {
|
|
10269
|
+
description: "Turn started.",
|
|
10270
|
+
content: {
|
|
10271
|
+
"application/json": {
|
|
10272
|
+
schema: {
|
|
10273
|
+
type: "object",
|
|
10274
|
+
properties: {
|
|
10275
|
+
turnId: {
|
|
10276
|
+
type: "string",
|
|
10277
|
+
format: "uuid"
|
|
10278
|
+
}
|
|
10279
|
+
}
|
|
10280
|
+
}
|
|
10281
|
+
}
|
|
10282
|
+
}
|
|
10283
|
+
},
|
|
10284
|
+
"400": {
|
|
10285
|
+
$ref: "#/components/responses/BadRequest"
|
|
10286
|
+
},
|
|
10287
|
+
"401": {
|
|
10288
|
+
$ref: "#/components/responses/Unauthorized"
|
|
10289
|
+
},
|
|
10290
|
+
"402": {
|
|
10291
|
+
description: "Insufficient credits (`insufficient_credits` contract)."
|
|
10292
|
+
},
|
|
10293
|
+
"429": {
|
|
10294
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
10295
|
+
}
|
|
10296
|
+
}
|
|
10297
|
+
}
|
|
10298
|
+
},
|
|
10299
|
+
"/v1/agent/query/{id}": {
|
|
10300
|
+
get: {
|
|
10301
|
+
operationId: "getAgentQuery",
|
|
10302
|
+
summary: "Poll an agent query (legacy alias)",
|
|
10303
|
+
description: "Poll a turn started via `POST /v1/agent/query`. Returns `status` and the plain answer text; empty until the turn completes.",
|
|
10304
|
+
tags: [
|
|
10305
|
+
"Agent"
|
|
10306
|
+
],
|
|
10307
|
+
parameters: [
|
|
10308
|
+
{
|
|
10309
|
+
name: "id",
|
|
10310
|
+
in: "path",
|
|
10311
|
+
required: true,
|
|
10312
|
+
schema: {
|
|
10313
|
+
type: "string",
|
|
10314
|
+
format: "uuid"
|
|
10315
|
+
}
|
|
10316
|
+
}
|
|
10317
|
+
],
|
|
10318
|
+
responses: {
|
|
10319
|
+
"200": {
|
|
10320
|
+
description: "The turn's status and answer.",
|
|
10321
|
+
content: {
|
|
10322
|
+
"application/json": {
|
|
10323
|
+
schema: {
|
|
10324
|
+
type: "object",
|
|
10325
|
+
properties: {
|
|
10326
|
+
status: {
|
|
10327
|
+
type: "string",
|
|
10328
|
+
enum: [
|
|
10329
|
+
"processing",
|
|
10330
|
+
"completed",
|
|
10331
|
+
"error"
|
|
10332
|
+
]
|
|
10333
|
+
},
|
|
10334
|
+
answer: {
|
|
10335
|
+
type: "string"
|
|
10336
|
+
}
|
|
10337
|
+
}
|
|
10338
|
+
}
|
|
10339
|
+
}
|
|
10340
|
+
}
|
|
10341
|
+
},
|
|
10342
|
+
"401": {
|
|
10343
|
+
$ref: "#/components/responses/Unauthorized"
|
|
10344
|
+
},
|
|
10345
|
+
"404": {
|
|
10346
|
+
$ref: "#/components/responses/NotFound"
|
|
10347
|
+
}
|
|
10348
|
+
}
|
|
10349
|
+
}
|
|
10350
|
+
},
|
|
10043
10351
|
"/v1/agent/context": {
|
|
10044
10352
|
get: {
|
|
10045
10353
|
operationId: "getAgentContext",
|
|
@@ -17141,7 +17449,7 @@ var openapi_default = {
|
|
|
17141
17449
|
document_ids: {
|
|
17142
17450
|
type: "array",
|
|
17143
17451
|
minItems: 1,
|
|
17144
|
-
maxItems:
|
|
17452
|
+
maxItems: 3e3,
|
|
17145
17453
|
items: {
|
|
17146
17454
|
type: "string",
|
|
17147
17455
|
format: "uuid"
|
|
@@ -17163,6 +17471,15 @@ var openapi_default = {
|
|
|
17163
17471
|
},
|
|
17164
17472
|
"400": {
|
|
17165
17473
|
description: "The Spec has no composed rail, or the body failed validation."
|
|
17474
|
+
},
|
|
17475
|
+
"413": {
|
|
17476
|
+
description: "The request exceeds the tested per-run document ceiling."
|
|
17477
|
+
},
|
|
17478
|
+
"429": {
|
|
17479
|
+
description: "The pipeline queue lacks tested headroom; retry after the advised delay."
|
|
17480
|
+
},
|
|
17481
|
+
"503": {
|
|
17482
|
+
description: "Pipeline queue headroom or durable fan-out could not be verified."
|
|
17166
17483
|
}
|
|
17167
17484
|
}
|
|
17168
17485
|
}
|
|
@@ -17418,6 +17735,15 @@ var openapi_default = {
|
|
|
17418
17735
|
metadata: {
|
|
17419
17736
|
type: "string",
|
|
17420
17737
|
description: "Optional JSON string of a FLAT object `{ [key]: string | number | boolean | null }` (nested objects/arrays are rejected 400; limits: \u226450 keys, key \u2264128 chars, string value \u22641024 chars). The validated object is persisted on the run request (echoed by GET /v1/run/{id}) AND stamped on every ingested document as documents.client_metadata.\n"
|
|
17738
|
+
},
|
|
17739
|
+
ingestion_target: {
|
|
17740
|
+
type: "string",
|
|
17741
|
+
enum: [
|
|
17742
|
+
"ingest",
|
|
17743
|
+
"extract"
|
|
17744
|
+
],
|
|
17745
|
+
default: "ingest",
|
|
17746
|
+
description: "How far the platform processes the run's documents beyond the Spec pipeline. `ingest` (default): after OCR, Stage-2 field capture runs asynchronously so the corpus becomes queryable by the agent surfaces (POST /v1/ask) and the pipeline's Transfer phase \u2014 the pipeline still starts the moment OCR markdown is ready, capture never delays it. `extract`: markdown-only; the documents are not askable.\n"
|
|
17421
17747
|
}
|
|
17422
17748
|
}
|
|
17423
17749
|
}
|
|
@@ -17522,7 +17848,10 @@ var openapi_default = {
|
|
|
17522
17848
|
description: "A file exceeds the tier's per-file size cap."
|
|
17523
17849
|
},
|
|
17524
17850
|
"429": {
|
|
17525
|
-
|
|
17851
|
+
description: "API rate limit or pipeline-queue admission limit reached; retry after the advised delay."
|
|
17852
|
+
},
|
|
17853
|
+
"503": {
|
|
17854
|
+
description: "Pipeline queue headroom could not be verified before ingest."
|
|
17526
17855
|
}
|
|
17527
17856
|
}
|
|
17528
17857
|
}
|
|
@@ -25440,6 +25769,11 @@ var API_NAV_SECTIONS = [
|
|
|
25440
25769
|
{ id: "extract-include-markdown", label: "Options" },
|
|
25441
25770
|
{ id: "extract-processing-mode", label: "Responses" }
|
|
25442
25771
|
] },
|
|
25772
|
+
{ id: "ask", label: "Ask", children: [
|
|
25773
|
+
{ id: "post-ask", label: "POST /v1/ask" },
|
|
25774
|
+
{ id: "ask-results", label: "Poll & Results" },
|
|
25775
|
+
{ id: "ask-citations-verification", label: "Citations & Verification" }
|
|
25776
|
+
] },
|
|
25443
25777
|
{ id: "documents", label: "Documents", children: [
|
|
25444
25778
|
{ id: "list-documents", label: "List Documents" },
|
|
25445
25779
|
{ id: "get-document", label: "Get Document" },
|
|
@@ -25569,7 +25903,8 @@ var API_NAV_SECTIONS = [
|
|
|
25569
25903
|
] },
|
|
25570
25904
|
{ id: "agent", label: "Agent", children: [
|
|
25571
25905
|
{ id: "agent-context", label: "Get Workspace Context" },
|
|
25572
|
-
{ id: "agent-tools", label: "List Agent Tools" }
|
|
25906
|
+
{ id: "agent-tools", label: "List Agent Tools" },
|
|
25907
|
+
{ id: "agent-query", label: "Agent Query (Legacy)" }
|
|
25573
25908
|
] },
|
|
25574
25909
|
{ id: "matching", label: "Matching", children: [
|
|
25575
25910
|
{ id: "list-matching-configs", label: "List Configs" },
|
|
@@ -25780,6 +26115,8 @@ var PLATFORM_NAV_SECTIONS = [
|
|
|
25780
26115
|
] },
|
|
25781
26116
|
{ id: "agent", label: "AI Agent", children: [
|
|
25782
26117
|
{ id: "agent-capabilities", label: "Capabilities" },
|
|
26118
|
+
{ id: "agent-ask-workflow", label: "How the Agent Answers" },
|
|
26119
|
+
{ id: "agent-playground-onboarding", label: "Playground Onboarding" },
|
|
25783
26120
|
{ id: "agent-impact", label: "Impact Levels" },
|
|
25784
26121
|
{ id: "agent-dashboard", label: "Dashboard" }
|
|
25785
26122
|
] },
|
|
@@ -25873,6 +26210,14 @@ var PLATFORM_NAV_SECTIONS = [
|
|
|
25873
26210
|
{ id: "reference-primitives", label: "Reference Primitives" },
|
|
25874
26211
|
{ id: "change-review", label: "Change Review" }
|
|
25875
26212
|
] },
|
|
26213
|
+
{ id: "enterprise-archive", label: "Enterprise Archive", children: [
|
|
26214
|
+
{ id: "archive-overview", label: "Archive Overview" },
|
|
26215
|
+
{ id: "retention-and-deletion", label: "Retention & Deletion" },
|
|
26216
|
+
{ id: "legal-holds", label: "Legal Holds" },
|
|
26217
|
+
{ id: "audit-trail", label: "Audit Trail" },
|
|
26218
|
+
{ id: "security-architecture", label: "Security Architecture" },
|
|
26219
|
+
{ id: "export-bundle-format", label: "Export Bundle Format" }
|
|
26220
|
+
] },
|
|
25876
26221
|
{ id: "search-filtering", label: "Search & Filtering", children: [
|
|
25877
26222
|
{ id: "omnisearch", label: "Omnisearch" },
|
|
25878
26223
|
{ id: "document-filters", label: "Document Filters" }
|
|
@@ -25892,6 +26237,7 @@ var PLATFORM_NAV_SECTIONS = [
|
|
|
25892
26237
|
var API_SECTION_META = [
|
|
25893
26238
|
{ id: "overview", title: "API Overview", description: "Introduction, authentication, base URL, and quick start guide for the Talonic document extraction API." },
|
|
25894
26239
|
{ id: "extract", title: "Extract Endpoint", description: "POST /v1/extract \u2014 send a document and schema, receive structured validated data. Supports PDF, DOCX, images, and 25+ formats." },
|
|
26240
|
+
{ id: "ask", title: "Ask API", description: "POST /v1/ask \u2014 natural-language questions over the whole workspace corpus with per-claim citations, source-span deep links, and a post-answer verification verdict. One flat credit unit per question." },
|
|
25895
26241
|
{ id: "documents", title: "Documents API", description: "List, retrieve, and delete documents. Each document retains its original file, extracted text, and metadata." },
|
|
25896
26242
|
{ id: "extractions", title: "Extractions API", description: "Query extraction results, retrieve structured data with confidence scores, and submit field corrections." },
|
|
25897
26243
|
{ id: "schemas", title: "Schemas API", description: "Create, update, and manage reusable extraction schemas. Supports JSON Schema, simplified fields, and flat key-type maps." },
|
|
@@ -25943,6 +26289,7 @@ var PLATFORM_SECTION_META = [
|
|
|
25943
26289
|
{ id: "validation-quality", title: "Validation & Benchmarks", description: "Automated validation checks, Ground Truth benchmarking, configurable review gates, and Record Review for flagged results." },
|
|
25944
26290
|
{ id: "delivery", title: "Outputs & Delivery", description: "Push structured data to webhooks, REST APIs, SFTP, email, or cloud storage with field mappings, triggers, delivery configuration, and telemetry." },
|
|
25945
26291
|
{ id: "workspace-settings", title: "Workspace Settings", description: "Shared dialects for output formatting, reference primitives for lookup tables, and change review governance for production workspaces." },
|
|
26292
|
+
{ id: "enterprise-archive", title: "Enterprise Archive", description: "Retention policies with review-gated disposition, fail-closed legal holds, archive mode with tombstones, and a tamper-evident hash-chained audit trail." },
|
|
25946
26293
|
{ id: "search-filtering", title: "Search & Filtering", description: "Global omnisearch (Cmd+K) and advanced document filtering by extracted field values with saved presets." },
|
|
25947
26294
|
{ id: "api-webhooks", title: "API & Webhooks", description: "API key management, public REST API overview, and webhook configuration for event-driven integrations." },
|
|
25948
26295
|
{ id: "team-admin", title: "Team & Admin", description: "Role-based access control, credit usage tracking, admin panel, and keyboard shortcuts." }
|
|
@@ -26104,6 +26451,8 @@ var LLMS_TXT = `# Talonic
|
|
|
26104
26451
|
- [Linking & Cases](https://talonic.com/docs/platform/entity-linking): Entity linking, link keys, cases, anomaly detection
|
|
26105
26452
|
- [Validation & Quality](https://talonic.com/docs/platform/validation-checks): Golden samples, approval gates, ground truth benchmarks
|
|
26106
26453
|
- [Delivery](https://talonic.com/docs/platform/destinations): Webhooks, REST, SFTP, email, S3/R2, field mappings, triggers
|
|
26454
|
+
- [Enterprise Archive](https://talonic.com/docs/platform/archive-overview): Retention policies, legal holds, review-gated disposition, tamper-evident audit trail
|
|
26455
|
+
- [Archive Security Architecture](https://talonic.com/docs/platform/security-architecture): Fixity verification cycles, hash-chain anchoring, write-once encrypted storage, compartments, MFA/step-up, SCIM, export bundles
|
|
26107
26456
|
|
|
26108
26457
|
## Document Types
|
|
26109
26458
|
|
|
@@ -26124,7 +26473,7 @@ var LLMS_TXT = `# Talonic
|
|
|
26124
26473
|
- [Pricing](https://talonic.com/pricing): Free (5,000 credits/mo), Pro (\u20AC49/mo), Enterprise (custom)
|
|
26125
26474
|
- [Developers](https://talonic.com/developers): Three Modes, API, SDK, MCP server overview
|
|
26126
26475
|
- [DIN SPEC 91491](https://talonic.com/din-91491): Europe's first standard for AI-ready data
|
|
26127
|
-
- [Security](https://talonic.com/security): GDPR
|
|
26476
|
+
- [Security](https://talonic.com/security): GDPR-aligned archive controls (retention, legal hold, erasure, tamper-evident audit), EU data residency
|
|
26128
26477
|
- [Contact](https://talonic.com/contact): Book a demo or request a schema audit
|
|
26129
26478
|
|
|
26130
26479
|
## Optional
|