@sixb/client 0.1.16 → 0.1.17
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/browser.js +5 -5
- package/dist/browser.js.map +3 -3
- package/dist/{chunk-nkx0fxxn.js → chunk-aqpr0h1n.js} +9 -6
- package/dist/{chunk-nkx0fxxn.js.map → chunk-aqpr0h1n.js.map} +3 -3
- package/dist/{chunk-6k1hzwk1.js → chunk-bcyvstee.js} +7 -5
- package/dist/{chunk-6k1hzwk1.js.map → chunk-bcyvstee.js.map} +3 -3
- package/dist/{chunk-tgyh8wz9.js → chunk-bvasdctr.js} +2 -2
- package/dist/{chunk-ys86w6hc.js → chunk-j9t5h44d.js} +9 -6
- package/dist/{chunk-ys86w6hc.js.map → chunk-j9t5h44d.js.map} +3 -3
- package/dist/{chunk-1d0xnr6p.js → chunk-mjvdcaw4.js} +1 -1
- package/dist/{chunk-50rkzhcy.js → chunk-p1j3d7t0.js} +7 -4
- package/dist/chunk-p1j3d7t0.js.map +10 -0
- package/dist/client-authority.d.ts +3 -1
- package/dist/client-authority.d.ts.map +1 -1
- package/dist/connectors/queries.d.ts.map +1 -1
- package/dist/file.d.ts +7 -1
- package/dist/file.d.ts.map +1 -1
- package/dist/generated/@tanstack/react-query.gen.d.ts +161 -74
- package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/generated/types.gen.d.ts +90 -11
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/hooks.js +5 -5
- package/dist/hooks.js.map +2 -2
- package/dist/index.js +5 -5
- package/dist/logs.js +3 -3
- package/dist/query-hooks.d.ts +6 -6
- package/dist/query-hooks.d.ts.map +1 -1
- package/dist/query.d.ts.map +1 -1
- package/dist/query.js +3 -3
- package/package.json +2 -2
- package/src/api.ts +6 -2
- package/src/browser.ts +2 -2
- package/src/client-authority.ts +9 -4
- package/src/file.ts +9 -1
- package/src/generated/types.gen.ts +98 -5
- package/src/query-hooks.ts +3 -3
- package/src/query.ts +7 -4
- package/dist/chunk-50rkzhcy.js.map +0 -10
- /package/dist/{chunk-tgyh8wz9.js.map → chunk-bvasdctr.js.map} +0 -0
- /package/dist/{chunk-1d0xnr6p.js.map → chunk-mjvdcaw4.js.map} +0 -0
|
@@ -27,7 +27,7 @@ export type ObjectQueryIssue = {
|
|
|
27
27
|
message: string;
|
|
28
28
|
};
|
|
29
29
|
export type ObjectQueryPlanSummary = {
|
|
30
|
-
mode: "pushdown" | "fallback" | "rejected";
|
|
30
|
+
mode: "pushdown" | "fallback" | "pipeline" | "rejected";
|
|
31
31
|
providerIssues: Array<ObjectQueryIssue>;
|
|
32
32
|
fallbackIssues: Array<ObjectQueryIssue>;
|
|
33
33
|
issues: Array<ObjectQueryIssue>;
|
|
@@ -60,6 +60,7 @@ export type ObjectQueryFacetResult = {
|
|
|
60
60
|
buckets: Array<ObjectQueryFacetBucket>;
|
|
61
61
|
};
|
|
62
62
|
export type ObjectQueryFacetsResponse = {
|
|
63
|
+
total: number;
|
|
63
64
|
facets: Array<ObjectQueryFacetResult>;
|
|
64
65
|
plan: ObjectQueryPlanSummary;
|
|
65
66
|
};
|
|
@@ -163,6 +164,13 @@ export type ObjectQuery = {
|
|
|
163
164
|
vector: string;
|
|
164
165
|
profile: string;
|
|
165
166
|
k: number;
|
|
167
|
+
} | {
|
|
168
|
+
kind: "rerank";
|
|
169
|
+
input: ObjectQuery;
|
|
170
|
+
model: {
|
|
171
|
+
provider: string;
|
|
172
|
+
modelId: string;
|
|
173
|
+
};
|
|
166
174
|
} | {
|
|
167
175
|
kind: "traverse";
|
|
168
176
|
input: ObjectQuery;
|
|
@@ -1614,6 +1622,10 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1614
1622
|
cacheWriteInputTokens?: number;
|
|
1615
1623
|
textOutputTokens?: number;
|
|
1616
1624
|
reasoningOutputTokens?: number;
|
|
1625
|
+
/**
|
|
1626
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1627
|
+
*/
|
|
1628
|
+
audioDurationMs?: number;
|
|
1617
1629
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1618
1630
|
};
|
|
1619
1631
|
usageCoverage: {
|
|
@@ -1629,6 +1641,7 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1629
1641
|
cacheWriteInputTokens: number;
|
|
1630
1642
|
textOutputTokens: number;
|
|
1631
1643
|
reasoningOutputTokens: number;
|
|
1644
|
+
audioDurationMs: number;
|
|
1632
1645
|
};
|
|
1633
1646
|
};
|
|
1634
1647
|
costs: {
|
|
@@ -1655,6 +1668,10 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1655
1668
|
cacheWriteInputTokens?: number;
|
|
1656
1669
|
textOutputTokens?: number;
|
|
1657
1670
|
reasoningOutputTokens?: number;
|
|
1671
|
+
/**
|
|
1672
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1673
|
+
*/
|
|
1674
|
+
audioDurationMs?: number;
|
|
1658
1675
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1659
1676
|
};
|
|
1660
1677
|
usageCoverage: {
|
|
@@ -1670,6 +1687,7 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1670
1687
|
cacheWriteInputTokens: number;
|
|
1671
1688
|
textOutputTokens: number;
|
|
1672
1689
|
reasoningOutputTokens: number;
|
|
1690
|
+
audioDurationMs: number;
|
|
1673
1691
|
};
|
|
1674
1692
|
};
|
|
1675
1693
|
costs: {
|
|
@@ -1698,6 +1716,10 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1698
1716
|
cacheWriteInputTokens?: number;
|
|
1699
1717
|
textOutputTokens?: number;
|
|
1700
1718
|
reasoningOutputTokens?: number;
|
|
1719
|
+
/**
|
|
1720
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1721
|
+
*/
|
|
1722
|
+
audioDurationMs?: number;
|
|
1701
1723
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1702
1724
|
};
|
|
1703
1725
|
usageCoverage: {
|
|
@@ -1713,6 +1735,7 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1713
1735
|
cacheWriteInputTokens: number;
|
|
1714
1736
|
textOutputTokens: number;
|
|
1715
1737
|
reasoningOutputTokens: number;
|
|
1738
|
+
audioDurationMs: number;
|
|
1716
1739
|
};
|
|
1717
1740
|
};
|
|
1718
1741
|
costs: {
|
|
@@ -1741,6 +1764,10 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1741
1764
|
cacheWriteInputTokens?: number;
|
|
1742
1765
|
textOutputTokens?: number;
|
|
1743
1766
|
reasoningOutputTokens?: number;
|
|
1767
|
+
/**
|
|
1768
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1769
|
+
*/
|
|
1770
|
+
audioDurationMs?: number;
|
|
1744
1771
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1745
1772
|
};
|
|
1746
1773
|
usageCoverage: {
|
|
@@ -1756,6 +1783,7 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1756
1783
|
cacheWriteInputTokens: number;
|
|
1757
1784
|
textOutputTokens: number;
|
|
1758
1785
|
reasoningOutputTokens: number;
|
|
1786
|
+
audioDurationMs: number;
|
|
1759
1787
|
};
|
|
1760
1788
|
};
|
|
1761
1789
|
costs: {
|
|
@@ -1782,6 +1810,10 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1782
1810
|
cacheWriteInputTokens?: number;
|
|
1783
1811
|
textOutputTokens?: number;
|
|
1784
1812
|
reasoningOutputTokens?: number;
|
|
1813
|
+
/**
|
|
1814
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1815
|
+
*/
|
|
1816
|
+
audioDurationMs?: number;
|
|
1785
1817
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1786
1818
|
};
|
|
1787
1819
|
usageCoverage: {
|
|
@@ -1797,6 +1829,7 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1797
1829
|
cacheWriteInputTokens: number;
|
|
1798
1830
|
textOutputTokens: number;
|
|
1799
1831
|
reasoningOutputTokens: number;
|
|
1832
|
+
audioDurationMs: number;
|
|
1800
1833
|
};
|
|
1801
1834
|
};
|
|
1802
1835
|
costs: {
|
|
@@ -1826,6 +1859,10 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1826
1859
|
cacheWriteInputTokens?: number;
|
|
1827
1860
|
textOutputTokens?: number;
|
|
1828
1861
|
reasoningOutputTokens?: number;
|
|
1862
|
+
/**
|
|
1863
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1864
|
+
*/
|
|
1865
|
+
audioDurationMs?: number;
|
|
1829
1866
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1830
1867
|
};
|
|
1831
1868
|
usageCoverage: {
|
|
@@ -1841,6 +1878,7 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1841
1878
|
cacheWriteInputTokens: number;
|
|
1842
1879
|
textOutputTokens: number;
|
|
1843
1880
|
reasoningOutputTokens: number;
|
|
1881
|
+
audioDurationMs: number;
|
|
1844
1882
|
};
|
|
1845
1883
|
};
|
|
1846
1884
|
costs: {
|
|
@@ -1906,6 +1944,7 @@ export type ListAiModelCallsResponses = {
|
|
|
1906
1944
|
callId: string;
|
|
1907
1945
|
providerId: string;
|
|
1908
1946
|
requestedModelId: string;
|
|
1947
|
+
modelKind?: "language" | "image" | "video" | "embedding" | "decision" | "transcription" | "reranking";
|
|
1909
1948
|
requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
1910
1949
|
budgetTokens: number;
|
|
1911
1950
|
};
|
|
@@ -1925,6 +1964,10 @@ export type ListAiModelCallsResponses = {
|
|
|
1925
1964
|
cacheWriteInputTokens?: number;
|
|
1926
1965
|
textOutputTokens?: number;
|
|
1927
1966
|
reasoningOutputTokens?: number;
|
|
1967
|
+
/**
|
|
1968
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1969
|
+
*/
|
|
1970
|
+
audioDurationMs?: number;
|
|
1928
1971
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1929
1972
|
};
|
|
1930
1973
|
occurredAt: string;
|
|
@@ -1966,7 +2009,7 @@ export type ListAiModelCallsResponses = {
|
|
|
1966
2009
|
amountNanos: string;
|
|
1967
2010
|
};
|
|
1968
2011
|
components: Array<{
|
|
1969
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning";
|
|
2012
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
1970
2013
|
quantity: string;
|
|
1971
2014
|
rateAmountNanosPerMillion: string;
|
|
1972
2015
|
chargeAmountNanos: string;
|
|
@@ -1974,7 +2017,7 @@ export type ListAiModelCallsResponses = {
|
|
|
1974
2017
|
} | {
|
|
1975
2018
|
status: "unpriceable";
|
|
1976
2019
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
1977
|
-
missingMeters?: Array<"tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning">;
|
|
2020
|
+
missingMeters?: Array<"tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds">;
|
|
1978
2021
|
};
|
|
1979
2022
|
billingIdentity: {
|
|
1980
2023
|
providerId: string;
|
|
@@ -2004,7 +2047,7 @@ export type ListAiModelCallsResponses = {
|
|
|
2004
2047
|
amountNanos: string;
|
|
2005
2048
|
};
|
|
2006
2049
|
components: Array<{
|
|
2007
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning";
|
|
2050
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
2008
2051
|
quantity: string;
|
|
2009
2052
|
rateAmountNanosPerMillion: string;
|
|
2010
2053
|
chargeAmountNanos: string;
|
|
@@ -2020,7 +2063,7 @@ export type ListAiModelCallsResponses = {
|
|
|
2020
2063
|
amountNanos: string;
|
|
2021
2064
|
};
|
|
2022
2065
|
components: Array<{
|
|
2023
|
-
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning";
|
|
2066
|
+
meter: "tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds";
|
|
2024
2067
|
quantity: string;
|
|
2025
2068
|
rateAmountNanosPerMillion: string;
|
|
2026
2069
|
chargeAmountNanos: string;
|
|
@@ -2028,7 +2071,7 @@ export type ListAiModelCallsResponses = {
|
|
|
2028
2071
|
} | {
|
|
2029
2072
|
status: "unpriceable";
|
|
2030
2073
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2031
|
-
missingMeters?: Array<"tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning">;
|
|
2074
|
+
missingMeters?: Array<"tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds">;
|
|
2032
2075
|
};
|
|
2033
2076
|
billingIdentity?: {
|
|
2034
2077
|
providerId: string;
|
|
@@ -2054,7 +2097,7 @@ export type ListAiModelCallsResponses = {
|
|
|
2054
2097
|
observedAt: string;
|
|
2055
2098
|
};
|
|
2056
2099
|
reason: "missingBillingIdentity" | "missingRateCard" | "missingUsageMeter" | "unsupportedPricingDimension" | "invalidUsageForFormula";
|
|
2057
|
-
missingMeters?: Array<"tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning">;
|
|
2100
|
+
missingMeters?: Array<"tokens.input.total" | "tokens.input.uncached" | "tokens.input.cacheRead" | "tokens.input.cacheWrite" | "tokens.input.cacheWrite5m" | "tokens.input.cacheWrite1h" | "tokens.output.total" | "tokens.output.text" | "tokens.output.reasoning" | "audio.input.milliseconds">;
|
|
2058
2101
|
ratedAt: string;
|
|
2059
2102
|
};
|
|
2060
2103
|
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
@@ -2697,10 +2740,6 @@ export type GetStatusResponses = {
|
|
|
2697
2740
|
retryingCount: number;
|
|
2698
2741
|
maxAttempts: number;
|
|
2699
2742
|
} | null;
|
|
2700
|
-
terminalSources: {
|
|
2701
|
-
count: number;
|
|
2702
|
-
oldestTerminalAt: string | null;
|
|
2703
|
-
} | null;
|
|
2704
2743
|
cleanup: {
|
|
2705
2744
|
publishedOutboxRowsDeleted: number;
|
|
2706
2745
|
terminalSourceRowsDeleted: number;
|
|
@@ -5624,6 +5663,10 @@ export type GetWorkflowRunResponses = {
|
|
|
5624
5663
|
cacheWriteInputTokens?: number;
|
|
5625
5664
|
textOutputTokens?: number;
|
|
5626
5665
|
reasoningOutputTokens?: number;
|
|
5666
|
+
/**
|
|
5667
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
5668
|
+
*/
|
|
5669
|
+
audioDurationMs?: number;
|
|
5627
5670
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
5628
5671
|
};
|
|
5629
5672
|
cost?: {
|
|
@@ -5690,6 +5733,10 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
5690
5733
|
cacheWriteInputTokens?: number;
|
|
5691
5734
|
textOutputTokens?: number;
|
|
5692
5735
|
reasoningOutputTokens?: number;
|
|
5736
|
+
/**
|
|
5737
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
5738
|
+
*/
|
|
5739
|
+
audioDurationMs?: number;
|
|
5693
5740
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
5694
5741
|
};
|
|
5695
5742
|
cost?: {
|
|
@@ -5965,6 +6012,10 @@ export type CancelWorkflowRunResponses = {
|
|
|
5965
6012
|
cacheWriteInputTokens?: number;
|
|
5966
6013
|
textOutputTokens?: number;
|
|
5967
6014
|
reasoningOutputTokens?: number;
|
|
6015
|
+
/**
|
|
6016
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
6017
|
+
*/
|
|
6018
|
+
audioDurationMs?: number;
|
|
5968
6019
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
5969
6020
|
};
|
|
5970
6021
|
cost?: {
|
|
@@ -7334,6 +7385,10 @@ export type GetObjectFileContentData = {
|
|
|
7334
7385
|
* Client cache key; the route still resolves the current file
|
|
7335
7386
|
*/
|
|
7336
7387
|
v?: string;
|
|
7388
|
+
/**
|
|
7389
|
+
* Share grant selector for elements that cannot send the x-sixb-share-grant header
|
|
7390
|
+
*/
|
|
7391
|
+
shareGrant?: string;
|
|
7337
7392
|
};
|
|
7338
7393
|
url: "/api/objects/{objectTypeId}/{objectId}/files/content";
|
|
7339
7394
|
};
|
|
@@ -7380,6 +7435,10 @@ export type HeadObjectFileContentData = {
|
|
|
7380
7435
|
* Client cache key; the route still resolves the current file
|
|
7381
7436
|
*/
|
|
7382
7437
|
v?: string;
|
|
7438
|
+
/**
|
|
7439
|
+
* Share grant selector for elements that cannot send the x-sixb-share-grant header
|
|
7440
|
+
*/
|
|
7441
|
+
shareGrant?: string;
|
|
7383
7442
|
};
|
|
7384
7443
|
url: "/api/objects/{objectTypeId}/{objectId}/files/content";
|
|
7385
7444
|
};
|
|
@@ -8826,6 +8885,10 @@ export type PostAgentThreadMessageResponses = {
|
|
|
8826
8885
|
cacheWriteInputTokens?: number;
|
|
8827
8886
|
textOutputTokens?: number;
|
|
8828
8887
|
reasoningOutputTokens?: number;
|
|
8888
|
+
/**
|
|
8889
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
8890
|
+
*/
|
|
8891
|
+
audioDurationMs?: number;
|
|
8829
8892
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
8830
8893
|
};
|
|
8831
8894
|
cost?: {
|
|
@@ -9037,6 +9100,10 @@ export type CancelAgentRunResponses = {
|
|
|
9037
9100
|
cacheWriteInputTokens?: number;
|
|
9038
9101
|
textOutputTokens?: number;
|
|
9039
9102
|
reasoningOutputTokens?: number;
|
|
9103
|
+
/**
|
|
9104
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
9105
|
+
*/
|
|
9106
|
+
audioDurationMs?: number;
|
|
9040
9107
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
9041
9108
|
};
|
|
9042
9109
|
cost?: {
|
|
@@ -9164,6 +9231,10 @@ export type RetryAgentRunResponses = {
|
|
|
9164
9231
|
cacheWriteInputTokens?: number;
|
|
9165
9232
|
textOutputTokens?: number;
|
|
9166
9233
|
reasoningOutputTokens?: number;
|
|
9234
|
+
/**
|
|
9235
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
9236
|
+
*/
|
|
9237
|
+
audioDurationMs?: number;
|
|
9167
9238
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
9168
9239
|
};
|
|
9169
9240
|
cost?: {
|
|
@@ -9273,6 +9344,10 @@ export type ListAgentThreadRunsResponses = {
|
|
|
9273
9344
|
cacheWriteInputTokens?: number;
|
|
9274
9345
|
textOutputTokens?: number;
|
|
9275
9346
|
reasoningOutputTokens?: number;
|
|
9347
|
+
/**
|
|
9348
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
9349
|
+
*/
|
|
9350
|
+
audioDurationMs?: number;
|
|
9276
9351
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
9277
9352
|
};
|
|
9278
9353
|
cost?: {
|
|
@@ -9378,6 +9453,10 @@ export type GetAgentRunResponses = {
|
|
|
9378
9453
|
cacheWriteInputTokens?: number;
|
|
9379
9454
|
textOutputTokens?: number;
|
|
9380
9455
|
reasoningOutputTokens?: number;
|
|
9456
|
+
/**
|
|
9457
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
9458
|
+
*/
|
|
9459
|
+
audioDurationMs?: number;
|
|
9381
9460
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
9382
9461
|
};
|
|
9383
9462
|
cost?: {
|