@sixb/client 0.1.16 → 0.1.18
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.d.ts.map +1 -1
- package/dist/browser.js +12 -7
- package/dist/browser.js.map +3 -3
- package/dist/{chunk-tgyh8wz9.js → chunk-12s8gbwj.js} +3 -3
- package/dist/{chunk-nkx0fxxn.js → chunk-3aa3m9z6.js} +10 -7
- package/dist/{chunk-nkx0fxxn.js.map → chunk-3aa3m9z6.js.map} +3 -3
- package/dist/{chunk-1d0xnr6p.js → chunk-95bnb04n.js} +2 -2
- package/dist/{chunk-50rkzhcy.js → chunk-awbb496e.js} +8 -5
- package/dist/chunk-awbb496e.js.map +10 -0
- 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-6k1hzwk1.js → chunk-pvmd5f18.js} +8 -6
- package/dist/chunk-pvmd5f18.js.map +17 -0
- package/dist/{chunk-hdgztpzs.js → chunk-tkjkrcdt.js} +1 -3
- package/dist/{chunk-hdgztpzs.js.map → chunk-tkjkrcdt.js.map} +3 -3
- 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/events-builder.d.ts +2 -2
- package/dist/events-builder.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 +469 -137
- package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/sdk.gen.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/types.gen.d.ts +174 -30
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/hooks.js +6 -6
- package/dist/hooks.js.map +3 -3
- package/dist/index.js +6 -6
- package/dist/logs.js +4 -4
- package/dist/models.js +1 -1
- 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 +4 -4
- package/package.json +2 -2
- package/src/api.ts +6 -2
- package/src/browser.ts +11 -2
- package/src/client-authority.ts +9 -4
- package/src/events-builder.ts +2 -2
- package/src/file.ts +9 -1
- package/src/generated/@tanstack/react-query.gen.ts +1 -1
- package/src/generated/index.ts +1 -0
- package/src/generated/sdk.gen.ts +1 -3
- package/src/generated/types.gen.ts +193 -13
- package/src/query-hooks.ts +3 -3
- package/src/query.ts +7 -4
- package/dist/chunk-50rkzhcy.js.map +0 -10
- package/dist/chunk-6k1hzwk1.js.map +0 -17
- /package/dist/{chunk-tgyh8wz9.js.map → chunk-12s8gbwj.js.map} +0 -0
- /package/dist/{chunk-1d0xnr6p.js.map → chunk-95bnb04n.js.map} +0 -0
|
@@ -4,6 +4,11 @@ export type ClientOptions = {
|
|
|
4
4
|
export type ErrorResponse = {
|
|
5
5
|
error: string;
|
|
6
6
|
};
|
|
7
|
+
export type Redactions = {
|
|
8
|
+
[key: string]: {
|
|
9
|
+
reason: "missing_clearance";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
7
12
|
export type ObjectQueryObject = {
|
|
8
13
|
score?: number;
|
|
9
14
|
primaryId: string;
|
|
@@ -11,6 +16,7 @@ export type ObjectQueryObject = {
|
|
|
11
16
|
properties: {
|
|
12
17
|
[key: string]: unknown;
|
|
13
18
|
};
|
|
19
|
+
redactions?: Redactions;
|
|
14
20
|
createdAt: string;
|
|
15
21
|
updatedAt: string;
|
|
16
22
|
links?: {
|
|
@@ -27,7 +33,7 @@ export type ObjectQueryIssue = {
|
|
|
27
33
|
message: string;
|
|
28
34
|
};
|
|
29
35
|
export type ObjectQueryPlanSummary = {
|
|
30
|
-
mode: "pushdown" | "fallback" | "rejected";
|
|
36
|
+
mode: "pushdown" | "fallback" | "pipeline" | "rejected";
|
|
31
37
|
providerIssues: Array<ObjectQueryIssue>;
|
|
32
38
|
fallbackIssues: Array<ObjectQueryIssue>;
|
|
33
39
|
issues: Array<ObjectQueryIssue>;
|
|
@@ -60,6 +66,7 @@ export type ObjectQueryFacetResult = {
|
|
|
60
66
|
buckets: Array<ObjectQueryFacetBucket>;
|
|
61
67
|
};
|
|
62
68
|
export type ObjectQueryFacetsResponse = {
|
|
69
|
+
total: number;
|
|
63
70
|
facets: Array<ObjectQueryFacetResult>;
|
|
64
71
|
plan: ObjectQueryPlanSummary;
|
|
65
72
|
};
|
|
@@ -163,6 +170,13 @@ export type ObjectQuery = {
|
|
|
163
170
|
vector: string;
|
|
164
171
|
profile: string;
|
|
165
172
|
k: number;
|
|
173
|
+
} | {
|
|
174
|
+
kind: "rerank";
|
|
175
|
+
input: ObjectQuery;
|
|
176
|
+
model: {
|
|
177
|
+
provider: string;
|
|
178
|
+
modelId: string;
|
|
179
|
+
};
|
|
166
180
|
} | {
|
|
167
181
|
kind: "traverse";
|
|
168
182
|
input: ObjectQuery;
|
|
@@ -331,6 +345,7 @@ export type GetAuthSessionResponses = {
|
|
|
331
345
|
*/
|
|
332
346
|
200: {
|
|
333
347
|
authenticated: false;
|
|
348
|
+
authEnabled: boolean;
|
|
334
349
|
} | {
|
|
335
350
|
authenticated: true;
|
|
336
351
|
csrfToken?: string;
|
|
@@ -1614,6 +1629,10 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1614
1629
|
cacheWriteInputTokens?: number;
|
|
1615
1630
|
textOutputTokens?: number;
|
|
1616
1631
|
reasoningOutputTokens?: number;
|
|
1632
|
+
/**
|
|
1633
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1634
|
+
*/
|
|
1635
|
+
audioDurationMs?: number;
|
|
1617
1636
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1618
1637
|
};
|
|
1619
1638
|
usageCoverage: {
|
|
@@ -1629,6 +1648,7 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1629
1648
|
cacheWriteInputTokens: number;
|
|
1630
1649
|
textOutputTokens: number;
|
|
1631
1650
|
reasoningOutputTokens: number;
|
|
1651
|
+
audioDurationMs: number;
|
|
1632
1652
|
};
|
|
1633
1653
|
};
|
|
1634
1654
|
costs: {
|
|
@@ -1655,6 +1675,10 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1655
1675
|
cacheWriteInputTokens?: number;
|
|
1656
1676
|
textOutputTokens?: number;
|
|
1657
1677
|
reasoningOutputTokens?: number;
|
|
1678
|
+
/**
|
|
1679
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1680
|
+
*/
|
|
1681
|
+
audioDurationMs?: number;
|
|
1658
1682
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1659
1683
|
};
|
|
1660
1684
|
usageCoverage: {
|
|
@@ -1670,6 +1694,7 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1670
1694
|
cacheWriteInputTokens: number;
|
|
1671
1695
|
textOutputTokens: number;
|
|
1672
1696
|
reasoningOutputTokens: number;
|
|
1697
|
+
audioDurationMs: number;
|
|
1673
1698
|
};
|
|
1674
1699
|
};
|
|
1675
1700
|
costs: {
|
|
@@ -1698,6 +1723,10 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1698
1723
|
cacheWriteInputTokens?: number;
|
|
1699
1724
|
textOutputTokens?: number;
|
|
1700
1725
|
reasoningOutputTokens?: number;
|
|
1726
|
+
/**
|
|
1727
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1728
|
+
*/
|
|
1729
|
+
audioDurationMs?: number;
|
|
1701
1730
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1702
1731
|
};
|
|
1703
1732
|
usageCoverage: {
|
|
@@ -1713,6 +1742,7 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1713
1742
|
cacheWriteInputTokens: number;
|
|
1714
1743
|
textOutputTokens: number;
|
|
1715
1744
|
reasoningOutputTokens: number;
|
|
1745
|
+
audioDurationMs: number;
|
|
1716
1746
|
};
|
|
1717
1747
|
};
|
|
1718
1748
|
costs: {
|
|
@@ -1741,6 +1771,10 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1741
1771
|
cacheWriteInputTokens?: number;
|
|
1742
1772
|
textOutputTokens?: number;
|
|
1743
1773
|
reasoningOutputTokens?: number;
|
|
1774
|
+
/**
|
|
1775
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1776
|
+
*/
|
|
1777
|
+
audioDurationMs?: number;
|
|
1744
1778
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1745
1779
|
};
|
|
1746
1780
|
usageCoverage: {
|
|
@@ -1756,6 +1790,7 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1756
1790
|
cacheWriteInputTokens: number;
|
|
1757
1791
|
textOutputTokens: number;
|
|
1758
1792
|
reasoningOutputTokens: number;
|
|
1793
|
+
audioDurationMs: number;
|
|
1759
1794
|
};
|
|
1760
1795
|
};
|
|
1761
1796
|
costs: {
|
|
@@ -1782,6 +1817,10 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1782
1817
|
cacheWriteInputTokens?: number;
|
|
1783
1818
|
textOutputTokens?: number;
|
|
1784
1819
|
reasoningOutputTokens?: number;
|
|
1820
|
+
/**
|
|
1821
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1822
|
+
*/
|
|
1823
|
+
audioDurationMs?: number;
|
|
1785
1824
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1786
1825
|
};
|
|
1787
1826
|
usageCoverage: {
|
|
@@ -1797,6 +1836,7 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1797
1836
|
cacheWriteInputTokens: number;
|
|
1798
1837
|
textOutputTokens: number;
|
|
1799
1838
|
reasoningOutputTokens: number;
|
|
1839
|
+
audioDurationMs: number;
|
|
1800
1840
|
};
|
|
1801
1841
|
};
|
|
1802
1842
|
costs: {
|
|
@@ -1826,6 +1866,10 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1826
1866
|
cacheWriteInputTokens?: number;
|
|
1827
1867
|
textOutputTokens?: number;
|
|
1828
1868
|
reasoningOutputTokens?: number;
|
|
1869
|
+
/**
|
|
1870
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1871
|
+
*/
|
|
1872
|
+
audioDurationMs?: number;
|
|
1829
1873
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1830
1874
|
};
|
|
1831
1875
|
usageCoverage: {
|
|
@@ -1841,6 +1885,7 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
1841
1885
|
cacheWriteInputTokens: number;
|
|
1842
1886
|
textOutputTokens: number;
|
|
1843
1887
|
reasoningOutputTokens: number;
|
|
1888
|
+
audioDurationMs: number;
|
|
1844
1889
|
};
|
|
1845
1890
|
};
|
|
1846
1891
|
costs: {
|
|
@@ -1906,6 +1951,7 @@ export type ListAiModelCallsResponses = {
|
|
|
1906
1951
|
callId: string;
|
|
1907
1952
|
providerId: string;
|
|
1908
1953
|
requestedModelId: string;
|
|
1954
|
+
modelKind?: "language" | "image" | "video" | "embedding" | "decision" | "transcription" | "reranking";
|
|
1909
1955
|
requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
1910
1956
|
budgetTokens: number;
|
|
1911
1957
|
};
|
|
@@ -1925,6 +1971,10 @@ export type ListAiModelCallsResponses = {
|
|
|
1925
1971
|
cacheWriteInputTokens?: number;
|
|
1926
1972
|
textOutputTokens?: number;
|
|
1927
1973
|
reasoningOutputTokens?: number;
|
|
1974
|
+
/**
|
|
1975
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
1976
|
+
*/
|
|
1977
|
+
audioDurationMs?: number;
|
|
1928
1978
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1929
1979
|
};
|
|
1930
1980
|
occurredAt: string;
|
|
@@ -1966,7 +2016,7 @@ export type ListAiModelCallsResponses = {
|
|
|
1966
2016
|
amountNanos: string;
|
|
1967
2017
|
};
|
|
1968
2018
|
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";
|
|
2019
|
+
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
2020
|
quantity: string;
|
|
1971
2021
|
rateAmountNanosPerMillion: string;
|
|
1972
2022
|
chargeAmountNanos: string;
|
|
@@ -1974,7 +2024,7 @@ export type ListAiModelCallsResponses = {
|
|
|
1974
2024
|
} | {
|
|
1975
2025
|
status: "unpriceable";
|
|
1976
2026
|
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">;
|
|
2027
|
+
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
2028
|
};
|
|
1979
2029
|
billingIdentity: {
|
|
1980
2030
|
providerId: string;
|
|
@@ -2004,7 +2054,7 @@ export type ListAiModelCallsResponses = {
|
|
|
2004
2054
|
amountNanos: string;
|
|
2005
2055
|
};
|
|
2006
2056
|
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";
|
|
2057
|
+
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
2058
|
quantity: string;
|
|
2009
2059
|
rateAmountNanosPerMillion: string;
|
|
2010
2060
|
chargeAmountNanos: string;
|
|
@@ -2020,7 +2070,7 @@ export type ListAiModelCallsResponses = {
|
|
|
2020
2070
|
amountNanos: string;
|
|
2021
2071
|
};
|
|
2022
2072
|
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";
|
|
2073
|
+
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
2074
|
quantity: string;
|
|
2025
2075
|
rateAmountNanosPerMillion: string;
|
|
2026
2076
|
chargeAmountNanos: string;
|
|
@@ -2028,7 +2078,7 @@ export type ListAiModelCallsResponses = {
|
|
|
2028
2078
|
} | {
|
|
2029
2079
|
status: "unpriceable";
|
|
2030
2080
|
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">;
|
|
2081
|
+
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
2082
|
};
|
|
2033
2083
|
billingIdentity?: {
|
|
2034
2084
|
providerId: string;
|
|
@@ -2054,7 +2104,7 @@ export type ListAiModelCallsResponses = {
|
|
|
2054
2104
|
observedAt: string;
|
|
2055
2105
|
};
|
|
2056
2106
|
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">;
|
|
2107
|
+
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
2108
|
ratedAt: string;
|
|
2059
2109
|
};
|
|
2060
2110
|
valuationStatus: "rated" | "unpriceable" | "unvalued";
|
|
@@ -2667,6 +2717,8 @@ export type GetProjectInfoResponses = {
|
|
|
2667
2717
|
*/
|
|
2668
2718
|
200: {
|
|
2669
2719
|
id: string;
|
|
2720
|
+
locale: string;
|
|
2721
|
+
timeZone: string;
|
|
2670
2722
|
};
|
|
2671
2723
|
};
|
|
2672
2724
|
export type GetProjectInfoResponse = GetProjectInfoResponses[keyof GetProjectInfoResponses];
|
|
@@ -2697,10 +2749,6 @@ export type GetStatusResponses = {
|
|
|
2697
2749
|
retryingCount: number;
|
|
2698
2750
|
maxAttempts: number;
|
|
2699
2751
|
} | null;
|
|
2700
|
-
terminalSources: {
|
|
2701
|
-
count: number;
|
|
2702
|
-
oldestTerminalAt: string | null;
|
|
2703
|
-
} | null;
|
|
2704
2752
|
cleanup: {
|
|
2705
2753
|
publishedOutboxRowsDeleted: number;
|
|
2706
2754
|
terminalSourceRowsDeleted: number;
|
|
@@ -4136,7 +4184,7 @@ export type ListDatasetRowsData = {
|
|
|
4136
4184
|
};
|
|
4137
4185
|
query?: {
|
|
4138
4186
|
versionId?: string;
|
|
4139
|
-
columns?: string
|
|
4187
|
+
columns?: Array<string>;
|
|
4140
4188
|
limit?: string;
|
|
4141
4189
|
offset?: string;
|
|
4142
4190
|
};
|
|
@@ -4194,6 +4242,11 @@ export type ListDatasetRowsResponses = {
|
|
|
4194
4242
|
sizeBytes?: number;
|
|
4195
4243
|
};
|
|
4196
4244
|
columns: Array<string>;
|
|
4245
|
+
redactions?: {
|
|
4246
|
+
[key: string]: {
|
|
4247
|
+
reason: "missing_clearance";
|
|
4248
|
+
};
|
|
4249
|
+
};
|
|
4197
4250
|
rows: Array<{
|
|
4198
4251
|
[key: string]: unknown;
|
|
4199
4252
|
}>;
|
|
@@ -5624,6 +5677,10 @@ export type GetWorkflowRunResponses = {
|
|
|
5624
5677
|
cacheWriteInputTokens?: number;
|
|
5625
5678
|
textOutputTokens?: number;
|
|
5626
5679
|
reasoningOutputTokens?: number;
|
|
5680
|
+
/**
|
|
5681
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
5682
|
+
*/
|
|
5683
|
+
audioDurationMs?: number;
|
|
5627
5684
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
5628
5685
|
};
|
|
5629
5686
|
cost?: {
|
|
@@ -5690,6 +5747,10 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
5690
5747
|
cacheWriteInputTokens?: number;
|
|
5691
5748
|
textOutputTokens?: number;
|
|
5692
5749
|
reasoningOutputTokens?: number;
|
|
5750
|
+
/**
|
|
5751
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
5752
|
+
*/
|
|
5753
|
+
audioDurationMs?: number;
|
|
5693
5754
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
5694
5755
|
};
|
|
5695
5756
|
cost?: {
|
|
@@ -5714,6 +5775,8 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
5714
5775
|
providerMetadata?: string | number | boolean | Array<unknown> | {
|
|
5715
5776
|
[key: string]: unknown;
|
|
5716
5777
|
} | null;
|
|
5778
|
+
} | {
|
|
5779
|
+
type: "continuation";
|
|
5717
5780
|
} | {
|
|
5718
5781
|
type: "reasoning";
|
|
5719
5782
|
text: string;
|
|
@@ -5757,6 +5820,10 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
5757
5820
|
objectTypeId: string;
|
|
5758
5821
|
primaryId: string;
|
|
5759
5822
|
};
|
|
5823
|
+
/**
|
|
5824
|
+
* Shown in the chat instead of the object's title. Never sent to the model.
|
|
5825
|
+
*/
|
|
5826
|
+
label?: string;
|
|
5760
5827
|
} | {
|
|
5761
5828
|
kind: "app-state";
|
|
5762
5829
|
id: string;
|
|
@@ -5965,6 +6032,10 @@ export type CancelWorkflowRunResponses = {
|
|
|
5965
6032
|
cacheWriteInputTokens?: number;
|
|
5966
6033
|
textOutputTokens?: number;
|
|
5967
6034
|
reasoningOutputTokens?: number;
|
|
6035
|
+
/**
|
|
6036
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
6037
|
+
*/
|
|
6038
|
+
audioDurationMs?: number;
|
|
5968
6039
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
5969
6040
|
};
|
|
5970
6041
|
cost?: {
|
|
@@ -7157,6 +7228,11 @@ export type ListObjectsResponses = {
|
|
|
7157
7228
|
properties: {
|
|
7158
7229
|
[key: string]: unknown;
|
|
7159
7230
|
};
|
|
7231
|
+
redactions?: {
|
|
7232
|
+
[key: string]: {
|
|
7233
|
+
reason: "missing_clearance";
|
|
7234
|
+
};
|
|
7235
|
+
};
|
|
7160
7236
|
createdAt: string;
|
|
7161
7237
|
updatedAt: string;
|
|
7162
7238
|
}>;
|
|
@@ -7334,6 +7410,10 @@ export type GetObjectFileContentData = {
|
|
|
7334
7410
|
* Client cache key; the route still resolves the current file
|
|
7335
7411
|
*/
|
|
7336
7412
|
v?: string;
|
|
7413
|
+
/**
|
|
7414
|
+
* Share grant selector for elements that cannot send the x-sixb-share-grant header
|
|
7415
|
+
*/
|
|
7416
|
+
shareGrant?: string;
|
|
7337
7417
|
};
|
|
7338
7418
|
url: "/api/objects/{objectTypeId}/{objectId}/files/content";
|
|
7339
7419
|
};
|
|
@@ -7380,6 +7460,10 @@ export type HeadObjectFileContentData = {
|
|
|
7380
7460
|
* Client cache key; the route still resolves the current file
|
|
7381
7461
|
*/
|
|
7382
7462
|
v?: string;
|
|
7463
|
+
/**
|
|
7464
|
+
* Share grant selector for elements that cannot send the x-sixb-share-grant header
|
|
7465
|
+
*/
|
|
7466
|
+
shareGrant?: string;
|
|
7383
7467
|
};
|
|
7384
7468
|
url: "/api/objects/{objectTypeId}/{objectId}/files/content";
|
|
7385
7469
|
};
|
|
@@ -7437,6 +7521,11 @@ export type GetObjectResponses = {
|
|
|
7437
7521
|
properties: {
|
|
7438
7522
|
[key: string]: unknown;
|
|
7439
7523
|
};
|
|
7524
|
+
redactions?: {
|
|
7525
|
+
[key: string]: {
|
|
7526
|
+
reason: "missing_clearance";
|
|
7527
|
+
};
|
|
7528
|
+
};
|
|
7440
7529
|
createdAt: string;
|
|
7441
7530
|
updatedAt: string;
|
|
7442
7531
|
};
|
|
@@ -7487,6 +7576,11 @@ export type UpsertObjectResponses = {
|
|
|
7487
7576
|
properties: {
|
|
7488
7577
|
[key: string]: unknown;
|
|
7489
7578
|
};
|
|
7579
|
+
redactions?: {
|
|
7580
|
+
[key: string]: {
|
|
7581
|
+
reason: "missing_clearance";
|
|
7582
|
+
};
|
|
7583
|
+
};
|
|
7490
7584
|
createdAt: string;
|
|
7491
7585
|
updatedAt: string;
|
|
7492
7586
|
};
|
|
@@ -8567,6 +8661,8 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
8567
8661
|
providerMetadata?: string | number | boolean | Array<unknown> | {
|
|
8568
8662
|
[key: string]: unknown;
|
|
8569
8663
|
} | null;
|
|
8664
|
+
} | {
|
|
8665
|
+
type: "continuation";
|
|
8570
8666
|
} | {
|
|
8571
8667
|
type: "reasoning";
|
|
8572
8668
|
text: string;
|
|
@@ -8610,6 +8706,10 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
8610
8706
|
objectTypeId: string;
|
|
8611
8707
|
primaryId: string;
|
|
8612
8708
|
};
|
|
8709
|
+
/**
|
|
8710
|
+
* Shown in the chat instead of the object's title. Never sent to the model.
|
|
8711
|
+
*/
|
|
8712
|
+
label?: string;
|
|
8613
8713
|
} | {
|
|
8614
8714
|
kind: "app-state";
|
|
8615
8715
|
id: string;
|
|
@@ -8671,9 +8771,9 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
8671
8771
|
errorText: string;
|
|
8672
8772
|
}>;
|
|
8673
8773
|
annotations: Array<{
|
|
8674
|
-
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
|
|
8774
|
+
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
|
|
8675
8775
|
severity: "warning" | "error";
|
|
8676
|
-
scope: "output";
|
|
8776
|
+
scope: "output" | "run";
|
|
8677
8777
|
path?: string;
|
|
8678
8778
|
message: string;
|
|
8679
8779
|
}>;
|
|
@@ -8699,7 +8799,8 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
8699
8799
|
export type ListAgentThreadMessagesResponse = ListAgentThreadMessagesResponses[keyof ListAgentThreadMessagesResponses];
|
|
8700
8800
|
export type PostAgentThreadMessageData = {
|
|
8701
8801
|
body: {
|
|
8702
|
-
text
|
|
8802
|
+
text?: string;
|
|
8803
|
+
continue?: true;
|
|
8703
8804
|
model?: {
|
|
8704
8805
|
provider: string;
|
|
8705
8806
|
modelId: string;
|
|
@@ -8707,6 +8808,8 @@ export type PostAgentThreadMessageData = {
|
|
|
8707
8808
|
reasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
8708
8809
|
budgetTokens: number;
|
|
8709
8810
|
};
|
|
8811
|
+
timeZone?: string;
|
|
8812
|
+
locale?: string;
|
|
8710
8813
|
attachments?: Array<{
|
|
8711
8814
|
blobId: string;
|
|
8712
8815
|
digest: string;
|
|
@@ -8722,6 +8825,10 @@ export type PostAgentThreadMessageData = {
|
|
|
8722
8825
|
objectTypeId: string;
|
|
8723
8826
|
primaryId: string;
|
|
8724
8827
|
};
|
|
8828
|
+
/**
|
|
8829
|
+
* Shown in the chat instead of the object's title. Never sent to the model.
|
|
8830
|
+
*/
|
|
8831
|
+
label?: string;
|
|
8725
8832
|
} | {
|
|
8726
8833
|
kind: "app-state";
|
|
8727
8834
|
id: string;
|
|
@@ -8750,6 +8857,7 @@ export type PostAgentThreadMessageErrors = {
|
|
|
8750
8857
|
*/
|
|
8751
8858
|
400: {
|
|
8752
8859
|
error: string;
|
|
8860
|
+
code?: string;
|
|
8753
8861
|
};
|
|
8754
8862
|
/**
|
|
8755
8863
|
* Response for status 403
|
|
@@ -8816,7 +8924,7 @@ export type PostAgentThreadMessageResponses = {
|
|
|
8816
8924
|
budgetTokens: number;
|
|
8817
8925
|
};
|
|
8818
8926
|
modelId?: string;
|
|
8819
|
-
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "error" | "other" | "unknown";
|
|
8927
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "error" | "other" | "unknown";
|
|
8820
8928
|
usage?: {
|
|
8821
8929
|
inputTokens?: number;
|
|
8822
8930
|
outputTokens?: number;
|
|
@@ -8826,6 +8934,10 @@ export type PostAgentThreadMessageResponses = {
|
|
|
8826
8934
|
cacheWriteInputTokens?: number;
|
|
8827
8935
|
textOutputTokens?: number;
|
|
8828
8936
|
reasoningOutputTokens?: number;
|
|
8937
|
+
/**
|
|
8938
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
8939
|
+
*/
|
|
8940
|
+
audioDurationMs?: number;
|
|
8829
8941
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
8830
8942
|
};
|
|
8831
8943
|
cost?: {
|
|
@@ -8838,9 +8950,9 @@ export type PostAgentThreadMessageResponses = {
|
|
|
8838
8950
|
unvaluedCallCount: number;
|
|
8839
8951
|
};
|
|
8840
8952
|
diagnostics?: Array<{
|
|
8841
|
-
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
|
|
8953
|
+
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
|
|
8842
8954
|
severity: "warning" | "error";
|
|
8843
|
-
scope: "output";
|
|
8955
|
+
scope: "output" | "run";
|
|
8844
8956
|
path?: string;
|
|
8845
8957
|
message: string;
|
|
8846
8958
|
}>;
|
|
@@ -9027,7 +9139,7 @@ export type CancelAgentRunResponses = {
|
|
|
9027
9139
|
budgetTokens: number;
|
|
9028
9140
|
};
|
|
9029
9141
|
modelId?: string;
|
|
9030
|
-
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "error" | "other" | "unknown";
|
|
9142
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "error" | "other" | "unknown";
|
|
9031
9143
|
usage?: {
|
|
9032
9144
|
inputTokens?: number;
|
|
9033
9145
|
outputTokens?: number;
|
|
@@ -9037,6 +9149,10 @@ export type CancelAgentRunResponses = {
|
|
|
9037
9149
|
cacheWriteInputTokens?: number;
|
|
9038
9150
|
textOutputTokens?: number;
|
|
9039
9151
|
reasoningOutputTokens?: number;
|
|
9152
|
+
/**
|
|
9153
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
9154
|
+
*/
|
|
9155
|
+
audioDurationMs?: number;
|
|
9040
9156
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
9041
9157
|
};
|
|
9042
9158
|
cost?: {
|
|
@@ -9049,9 +9165,9 @@ export type CancelAgentRunResponses = {
|
|
|
9049
9165
|
unvaluedCallCount: number;
|
|
9050
9166
|
};
|
|
9051
9167
|
diagnostics?: Array<{
|
|
9052
|
-
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
|
|
9168
|
+
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
|
|
9053
9169
|
severity: "warning" | "error";
|
|
9054
|
-
scope: "output";
|
|
9170
|
+
scope: "output" | "run";
|
|
9055
9171
|
path?: string;
|
|
9056
9172
|
message: string;
|
|
9057
9173
|
}>;
|
|
@@ -9154,7 +9270,7 @@ export type RetryAgentRunResponses = {
|
|
|
9154
9270
|
budgetTokens: number;
|
|
9155
9271
|
};
|
|
9156
9272
|
modelId?: string;
|
|
9157
|
-
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "error" | "other" | "unknown";
|
|
9273
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "error" | "other" | "unknown";
|
|
9158
9274
|
usage?: {
|
|
9159
9275
|
inputTokens?: number;
|
|
9160
9276
|
outputTokens?: number;
|
|
@@ -9164,6 +9280,10 @@ export type RetryAgentRunResponses = {
|
|
|
9164
9280
|
cacheWriteInputTokens?: number;
|
|
9165
9281
|
textOutputTokens?: number;
|
|
9166
9282
|
reasoningOutputTokens?: number;
|
|
9283
|
+
/**
|
|
9284
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
9285
|
+
*/
|
|
9286
|
+
audioDurationMs?: number;
|
|
9167
9287
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
9168
9288
|
};
|
|
9169
9289
|
cost?: {
|
|
@@ -9176,9 +9296,9 @@ export type RetryAgentRunResponses = {
|
|
|
9176
9296
|
unvaluedCallCount: number;
|
|
9177
9297
|
};
|
|
9178
9298
|
diagnostics?: Array<{
|
|
9179
|
-
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
|
|
9299
|
+
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
|
|
9180
9300
|
severity: "warning" | "error";
|
|
9181
|
-
scope: "output";
|
|
9301
|
+
scope: "output" | "run";
|
|
9182
9302
|
path?: string;
|
|
9183
9303
|
message: string;
|
|
9184
9304
|
}>;
|
|
@@ -9263,7 +9383,7 @@ export type ListAgentThreadRunsResponses = {
|
|
|
9263
9383
|
budgetTokens: number;
|
|
9264
9384
|
};
|
|
9265
9385
|
modelId?: string;
|
|
9266
|
-
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "error" | "other" | "unknown";
|
|
9386
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "error" | "other" | "unknown";
|
|
9267
9387
|
usage?: {
|
|
9268
9388
|
inputTokens?: number;
|
|
9269
9389
|
outputTokens?: number;
|
|
@@ -9273,6 +9393,10 @@ export type ListAgentThreadRunsResponses = {
|
|
|
9273
9393
|
cacheWriteInputTokens?: number;
|
|
9274
9394
|
textOutputTokens?: number;
|
|
9275
9395
|
reasoningOutputTokens?: number;
|
|
9396
|
+
/**
|
|
9397
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
9398
|
+
*/
|
|
9399
|
+
audioDurationMs?: number;
|
|
9276
9400
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
9277
9401
|
};
|
|
9278
9402
|
cost?: {
|
|
@@ -9285,9 +9409,9 @@ export type ListAgentThreadRunsResponses = {
|
|
|
9285
9409
|
unvaluedCallCount: number;
|
|
9286
9410
|
};
|
|
9287
9411
|
diagnostics?: Array<{
|
|
9288
|
-
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
|
|
9412
|
+
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
|
|
9289
9413
|
severity: "warning" | "error";
|
|
9290
|
-
scope: "output";
|
|
9414
|
+
scope: "output" | "run";
|
|
9291
9415
|
path?: string;
|
|
9292
9416
|
message: string;
|
|
9293
9417
|
}>;
|
|
@@ -9368,7 +9492,7 @@ export type GetAgentRunResponses = {
|
|
|
9368
9492
|
budgetTokens: number;
|
|
9369
9493
|
};
|
|
9370
9494
|
modelId?: string;
|
|
9371
|
-
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "error" | "other" | "unknown";
|
|
9495
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "error" | "other" | "unknown";
|
|
9372
9496
|
usage?: {
|
|
9373
9497
|
inputTokens?: number;
|
|
9374
9498
|
outputTokens?: number;
|
|
@@ -9378,6 +9502,10 @@ export type GetAgentRunResponses = {
|
|
|
9378
9502
|
cacheWriteInputTokens?: number;
|
|
9379
9503
|
textOutputTokens?: number;
|
|
9380
9504
|
reasoningOutputTokens?: number;
|
|
9505
|
+
/**
|
|
9506
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
9507
|
+
*/
|
|
9508
|
+
audioDurationMs?: number;
|
|
9381
9509
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
9382
9510
|
};
|
|
9383
9511
|
cost?: {
|
|
@@ -9390,9 +9518,9 @@ export type GetAgentRunResponses = {
|
|
|
9390
9518
|
unvaluedCallCount: number;
|
|
9391
9519
|
};
|
|
9392
9520
|
diagnostics?: Array<{
|
|
9393
|
-
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
|
|
9521
|
+
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
|
|
9394
9522
|
severity: "warning" | "error";
|
|
9395
|
-
scope: "output";
|
|
9523
|
+
scope: "output" | "run";
|
|
9396
9524
|
path?: string;
|
|
9397
9525
|
message: string;
|
|
9398
9526
|
}>;
|
|
@@ -9451,6 +9579,7 @@ export type ListModelsResponses = {
|
|
|
9451
9579
|
contextWindowTokens?: number;
|
|
9452
9580
|
};
|
|
9453
9581
|
reasoningLevels: Array<"provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max">;
|
|
9582
|
+
defaultReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
9454
9583
|
}>;
|
|
9455
9584
|
};
|
|
9456
9585
|
};
|
|
@@ -9866,6 +9995,11 @@ export type ListEventsResponses = {
|
|
|
9866
9995
|
after: null;
|
|
9867
9996
|
};
|
|
9868
9997
|
};
|
|
9998
|
+
redactions?: {
|
|
9999
|
+
[key: string]: {
|
|
10000
|
+
reason: "missing_clearance";
|
|
10001
|
+
};
|
|
10002
|
+
};
|
|
9869
10003
|
};
|
|
9870
10004
|
} | {
|
|
9871
10005
|
id: string;
|
|
@@ -9975,6 +10109,11 @@ export type ListEventsResponses = {
|
|
|
9975
10109
|
after: null;
|
|
9976
10110
|
};
|
|
9977
10111
|
};
|
|
10112
|
+
redactions?: {
|
|
10113
|
+
[key: string]: {
|
|
10114
|
+
reason: "missing_clearance";
|
|
10115
|
+
};
|
|
10116
|
+
};
|
|
9978
10117
|
};
|
|
9979
10118
|
} | {
|
|
9980
10119
|
id: string;
|
|
@@ -10079,6 +10218,11 @@ export type ListEventsResponses = {
|
|
|
10079
10218
|
after: null;
|
|
10080
10219
|
};
|
|
10081
10220
|
};
|
|
10221
|
+
redactions?: {
|
|
10222
|
+
[key: string]: {
|
|
10223
|
+
reason: "missing_clearance";
|
|
10224
|
+
};
|
|
10225
|
+
};
|
|
10082
10226
|
};
|
|
10083
10227
|
} | {
|
|
10084
10228
|
id: string;
|