@talonic/docs 0.20.26 → 0.20.28
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 +224 -22
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/seo.js +128 -2
- package/openapi.json +166 -45
- package/package.json +1 -1
package/dist/seo.js
CHANGED
|
@@ -14833,6 +14833,127 @@ var openapi_default = {
|
|
|
14833
14833
|
}
|
|
14834
14834
|
}
|
|
14835
14835
|
}
|
|
14836
|
+
},
|
|
14837
|
+
"/v1/usage/credits": {
|
|
14838
|
+
get: {
|
|
14839
|
+
operationId: "getCreditUsageByFunction",
|
|
14840
|
+
summary: "Per-function credit consumption",
|
|
14841
|
+
description: "Credit consumption grouped by platform function (operation_type) from the customer-pay ledger, plus the window total. Shows where credits went (extraction vs structuring vs intelligence ops). Populates once metering is enforcing.",
|
|
14842
|
+
tags: [
|
|
14843
|
+
"Usage"
|
|
14844
|
+
],
|
|
14845
|
+
parameters: [
|
|
14846
|
+
{
|
|
14847
|
+
name: "days",
|
|
14848
|
+
in: "query",
|
|
14849
|
+
required: false,
|
|
14850
|
+
schema: {
|
|
14851
|
+
type: "integer",
|
|
14852
|
+
minimum: 1,
|
|
14853
|
+
maximum: 365,
|
|
14854
|
+
default: 30
|
|
14855
|
+
},
|
|
14856
|
+
description: "Trailing reporting window in days (default 30)."
|
|
14857
|
+
}
|
|
14858
|
+
],
|
|
14859
|
+
responses: {
|
|
14860
|
+
"200": {
|
|
14861
|
+
description: "Per-function credit consumption.",
|
|
14862
|
+
content: {
|
|
14863
|
+
"application/json": {
|
|
14864
|
+
schema: {
|
|
14865
|
+
type: "object",
|
|
14866
|
+
properties: {
|
|
14867
|
+
period_days: {
|
|
14868
|
+
type: "integer"
|
|
14869
|
+
},
|
|
14870
|
+
total_credits: {
|
|
14871
|
+
type: "integer"
|
|
14872
|
+
},
|
|
14873
|
+
by_function: {
|
|
14874
|
+
type: "array",
|
|
14875
|
+
items: {
|
|
14876
|
+
type: "object",
|
|
14877
|
+
properties: {
|
|
14878
|
+
operation_type: {
|
|
14879
|
+
type: "string"
|
|
14880
|
+
},
|
|
14881
|
+
operations: {
|
|
14882
|
+
type: "integer"
|
|
14883
|
+
},
|
|
14884
|
+
credits: {
|
|
14885
|
+
type: "integer"
|
|
14886
|
+
}
|
|
14887
|
+
}
|
|
14888
|
+
}
|
|
14889
|
+
}
|
|
14890
|
+
}
|
|
14891
|
+
}
|
|
14892
|
+
}
|
|
14893
|
+
}
|
|
14894
|
+
}
|
|
14895
|
+
}
|
|
14896
|
+
}
|
|
14897
|
+
},
|
|
14898
|
+
"/v1/pricing": {
|
|
14899
|
+
get: {
|
|
14900
|
+
operationId: "getPricing",
|
|
14901
|
+
summary: "Credit pricing catalog",
|
|
14902
|
+
description: "Public (unauthenticated) machine-readable credit pricing catalog: fixed per-unit credit rates, EUR equivalents, the credits-per-EUR conversion rate, and processing-mode multipliers (e.g. batch at 0.5x). Predict spend before running anything.",
|
|
14903
|
+
tags: [
|
|
14904
|
+
"Pricing"
|
|
14905
|
+
],
|
|
14906
|
+
responses: {
|
|
14907
|
+
"200": {
|
|
14908
|
+
description: "The credit pricing catalog.",
|
|
14909
|
+
content: {
|
|
14910
|
+
"application/json": {
|
|
14911
|
+
schema: {
|
|
14912
|
+
type: "object",
|
|
14913
|
+
properties: {
|
|
14914
|
+
currency: {
|
|
14915
|
+
type: "string",
|
|
14916
|
+
example: "EUR"
|
|
14917
|
+
},
|
|
14918
|
+
credits_per_eur: {
|
|
14919
|
+
type: "number"
|
|
14920
|
+
},
|
|
14921
|
+
multipliers: {
|
|
14922
|
+
type: "object",
|
|
14923
|
+
additionalProperties: {
|
|
14924
|
+
type: "number"
|
|
14925
|
+
}
|
|
14926
|
+
},
|
|
14927
|
+
units: {
|
|
14928
|
+
type: "array",
|
|
14929
|
+
items: {
|
|
14930
|
+
type: "object",
|
|
14931
|
+
properties: {
|
|
14932
|
+
unit: {
|
|
14933
|
+
type: "string"
|
|
14934
|
+
},
|
|
14935
|
+
label: {
|
|
14936
|
+
type: "string"
|
|
14937
|
+
},
|
|
14938
|
+
credits: {
|
|
14939
|
+
type: "number"
|
|
14940
|
+
},
|
|
14941
|
+
eur: {
|
|
14942
|
+
type: "number"
|
|
14943
|
+
},
|
|
14944
|
+
free: {
|
|
14945
|
+
type: "boolean"
|
|
14946
|
+
}
|
|
14947
|
+
}
|
|
14948
|
+
}
|
|
14949
|
+
}
|
|
14950
|
+
}
|
|
14951
|
+
}
|
|
14952
|
+
}
|
|
14953
|
+
}
|
|
14954
|
+
}
|
|
14955
|
+
}
|
|
14956
|
+
}
|
|
14836
14957
|
}
|
|
14837
14958
|
},
|
|
14838
14959
|
components: {
|
|
@@ -21463,7 +21584,11 @@ var API_NAV_SECTIONS = [
|
|
|
21463
21584
|
{ id: "cost-headers", label: "Cost Headers" }
|
|
21464
21585
|
] },
|
|
21465
21586
|
{ id: "usage", label: "Usage", children: [
|
|
21466
|
-
{ id: "usage-overview", label: "Overview" }
|
|
21587
|
+
{ id: "usage-overview", label: "Overview" },
|
|
21588
|
+
{ id: "usage-credits", label: "Credit Usage" }
|
|
21589
|
+
] },
|
|
21590
|
+
{ id: "pricing", label: "Pricing", children: [
|
|
21591
|
+
{ id: "pricing-overview", label: "Pricing Catalog" }
|
|
21467
21592
|
] },
|
|
21468
21593
|
{ id: "document-types", label: "Document Types", children: [
|
|
21469
21594
|
{ id: "list-document-types", label: "Document Types" }
|
|
@@ -21667,7 +21792,8 @@ var API_SECTION_META = [
|
|
|
21667
21792
|
{ id: "routing-rules", title: "Routing Rules API", description: "Document routing rules \u2014 create, manage, and reorder priority-based rules for automatic document workflow assignment." },
|
|
21668
21793
|
{ id: "reference-data", title: "Reference Data API", description: "Upload, list, and manage reference data tables used as lookup targets for matching configurations. Supports JSON upload, paginated row access, and CSV export." },
|
|
21669
21794
|
{ id: "fields", title: "Fields API", description: "Read-only access to the field registry \u2014 list fields with filters, cross-schema harmonization analysis, field detail with occurrences, and embedding-based similarity search." },
|
|
21670
|
-
{ id: "usage", title: "Usage API", description: "AI token usage tracking \u2014 aggregate stats by operation type and model, per-document usage breakdown with cost estimates." },
|
|
21795
|
+
{ id: "usage", title: "Usage API", description: "AI token usage tracking \u2014 aggregate stats by operation type and model, per-document usage breakdown with cost estimates, and per-function credit consumption." },
|
|
21796
|
+
{ id: "pricing", title: "Pricing API", description: "Public machine-readable credit pricing catalog \u2014 fixed per-unit credit rates, EUR equivalents, the credits-per-EUR conversion, and processing-mode multipliers, so an agent can predict spend before running." },
|
|
21671
21797
|
{ id: "document-types", title: "Document Types API", description: "Document type classification \u2014 list workspace document types by frequency and retrieve the 529-type ontology taxonomy." },
|
|
21672
21798
|
{ id: "registry", title: "Registry API", description: "Query previously-extracted field values across all documents \u2014 ingest once, query forever. Zero re-extraction, zero AI calls." },
|
|
21673
21799
|
{ id: "billing", title: "Billing API", description: "Billing settings, auto top-up for AI agents, and cost response headers on extraction requests." },
|