@sixb/client 0.1.23 → 0.2.0
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/README.md +1 -1
- package/dist/agent-streams.d.ts +9 -2
- package/dist/agent-streams.d.ts.map +1 -1
- package/dist/browser.js +2 -2
- package/dist/browser.js.map +1 -1
- package/dist/{chunk-263m4e9p.js → chunk-1wdszw1c.js} +19 -13
- package/dist/{chunk-263m4e9p.js.map → chunk-1wdszw1c.js.map} +5 -5
- package/dist/{chunk-59f4fbnk.js → chunk-2qsekqcn.js} +108 -51
- package/dist/chunk-2qsekqcn.js.map +19 -0
- package/dist/{chunk-k2j71x7a.js → chunk-fnd56xxz.js} +2 -2
- package/dist/{chunk-k2j71x7a.js.map → chunk-fnd56xxz.js.map} +1 -1
- package/dist/chunk-j9t5h44d.js.map +1 -1
- package/dist/{chunk-9gz30dxy.js → chunk-mk0w4zr1.js} +1 -1
- package/dist/{chunk-9gz30dxy.js.map → chunk-mk0w4zr1.js.map} +1 -1
- package/dist/{chunk-tttfv49k.js → chunk-s2pagg09.js} +52 -4
- package/dist/chunk-s2pagg09.js.map +11 -0
- package/dist/{chunk-1v736aje.js → chunk-sh0f609h.js} +1 -1
- package/dist/connectors/queries.d.ts.map +1 -1
- package/dist/generated/@tanstack/react-query.gen.d.ts +2443 -96
- package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/sdk.gen.d.ts +48 -16
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/types.gen.d.ts +1233 -268
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/hooks.d.ts +3 -1
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +359 -77
- package/dist/hooks.js.map +9 -7
- package/dist/index.js +23 -15
- package/dist/index.js.map +1 -1
- package/dist/logs.js +3 -3
- package/dist/models.js +19 -11
- package/dist/models.js.map +1 -1
- package/dist/object-query-live-updates.d.ts +34 -0
- package/dist/object-query-live-updates.d.ts.map +1 -0
- package/dist/object-query-reads.d.ts +8 -0
- package/dist/object-query-reads.d.ts.map +1 -0
- package/dist/query.d.ts.map +1 -1
- package/dist/query.js +3 -3
- package/dist/useAgentActivityStream.d.ts +4 -1
- package/dist/useAgentActivityStream.d.ts.map +1 -1
- package/dist/useDesktop.d.ts +22 -0
- package/dist/useDesktop.d.ts.map +1 -0
- package/dist/users-hooks.d.ts +9 -5
- package/dist/users-hooks.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/agent-streams.ts +16 -2
- package/src/generated/@tanstack/react-query.gen.ts +241 -106
- package/src/generated/index.ts +47 -24
- package/src/generated/sdk.gen.ts +222 -85
- package/src/generated/types.gen.ts +1394 -245
- package/src/hooks.ts +6 -0
- package/src/object-query-live-updates.ts +276 -0
- package/src/object-query-reads.ts +72 -0
- package/src/query.ts +5 -0
- package/src/useAgentActivityStream.ts +11 -0
- package/src/useDesktop.ts +50 -0
- package/src/users-hooks.ts +36 -5
- package/dist/chunk-59f4fbnk.js.map +0 -19
- package/dist/chunk-tttfv49k.js.map +0 -10
- /package/dist/{chunk-1v736aje.js.map → chunk-sh0f609h.js.map} +0 -0
|
@@ -44,6 +44,10 @@ export type ObjectQueryIssue = {
|
|
|
44
44
|
message: string;
|
|
45
45
|
};
|
|
46
46
|
export type ObjectQueryPlanSummary = {
|
|
47
|
+
/**
|
|
48
|
+
* Every object type the query reads: where it starts, and what it traverses or expands
|
|
49
|
+
*/
|
|
50
|
+
readObjectTypeIds?: Array<string>;
|
|
47
51
|
mode: "pushdown" | "fallback" | "pipeline" | "rejected";
|
|
48
52
|
providerIssues: Array<ObjectQueryIssue>;
|
|
49
53
|
fallbackIssues: Array<ObjectQueryIssue>;
|
|
@@ -84,7 +88,7 @@ export type ObjectQueryFacetsResponse = {
|
|
|
84
88
|
export type ArtifactErrorResponse = {
|
|
85
89
|
error: string;
|
|
86
90
|
/**
|
|
87
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
91
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
88
92
|
*/
|
|
89
93
|
code?: string;
|
|
90
94
|
/**
|
|
@@ -368,7 +372,7 @@ export type AgentChild = {
|
|
|
368
372
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
369
373
|
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
370
374
|
error?: {
|
|
371
|
-
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
375
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
372
376
|
message: string;
|
|
373
377
|
retryable: boolean;
|
|
374
378
|
at: string;
|
|
@@ -435,7 +439,7 @@ export type AgentChildRun = {
|
|
|
435
439
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
436
440
|
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
437
441
|
error?: {
|
|
438
|
-
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
442
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
439
443
|
message: string;
|
|
440
444
|
retryable: boolean;
|
|
441
445
|
at: string;
|
|
@@ -635,6 +639,32 @@ export type GetAuthSessionResponses = {
|
|
|
635
639
|
avatarUrl?: string;
|
|
636
640
|
groupIds: Array<string>;
|
|
637
641
|
};
|
|
642
|
+
access: {
|
|
643
|
+
/**
|
|
644
|
+
* Members: a membership policy lets them invite, assign groups or suspend
|
|
645
|
+
*/
|
|
646
|
+
members: boolean;
|
|
647
|
+
/**
|
|
648
|
+
* Service accounts: a membership policy lets them manage them
|
|
649
|
+
*/
|
|
650
|
+
serviceAccounts: boolean;
|
|
651
|
+
/**
|
|
652
|
+
* Usage: they hold can.observe(agent.usage)
|
|
653
|
+
*/
|
|
654
|
+
usage: boolean;
|
|
655
|
+
/**
|
|
656
|
+
* Activity: they hold can.observe(project.activity)
|
|
657
|
+
*/
|
|
658
|
+
activity: boolean;
|
|
659
|
+
/**
|
|
660
|
+
* The Console: they hold can.observe(project.console)
|
|
661
|
+
*/
|
|
662
|
+
console: boolean;
|
|
663
|
+
/**
|
|
664
|
+
* Console › Logs: they hold can.observe(project.logs)
|
|
665
|
+
*/
|
|
666
|
+
logs: boolean;
|
|
667
|
+
};
|
|
638
668
|
session: {
|
|
639
669
|
id: string;
|
|
640
670
|
expiresAt: string;
|
|
@@ -1753,6 +1783,10 @@ export type ListAuthMembersResponses = {
|
|
|
1753
1783
|
suspend: boolean;
|
|
1754
1784
|
reactivate: boolean;
|
|
1755
1785
|
};
|
|
1786
|
+
/**
|
|
1787
|
+
* Their latest session's last request, or its sign-in; absent if they never signed in
|
|
1788
|
+
*/
|
|
1789
|
+
lastActiveAt?: string;
|
|
1756
1790
|
}>;
|
|
1757
1791
|
hasMore: boolean;
|
|
1758
1792
|
total: number;
|
|
@@ -1943,6 +1977,18 @@ export type GetAiAccountingOverviewData = {
|
|
|
1943
1977
|
to: string;
|
|
1944
1978
|
providerId?: string;
|
|
1945
1979
|
modelId?: string;
|
|
1980
|
+
/**
|
|
1981
|
+
* Calls one person or service account asked for, as user:<id> or serviceAccount:<id>, or none for those nobody did, such as a schedule's
|
|
1982
|
+
*/
|
|
1983
|
+
person?: string;
|
|
1984
|
+
/**
|
|
1985
|
+
* Calls from agent conversations and their sub-agents, actions, workflows or one as workflow:<id>, or other
|
|
1986
|
+
*/
|
|
1987
|
+
source?: string;
|
|
1988
|
+
/**
|
|
1989
|
+
* Calls to one kind of model
|
|
1990
|
+
*/
|
|
1991
|
+
kind?: "language" | "image" | "video" | "embedding" | "decision" | "transcription" | "speech" | "reranking";
|
|
1946
1992
|
bucket: "hour" | "day" | "week";
|
|
1947
1993
|
};
|
|
1948
1994
|
url: "/api/ai/accounting/overview";
|
|
@@ -2112,6 +2158,81 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
2112
2158
|
start: string;
|
|
2113
2159
|
end: string;
|
|
2114
2160
|
}>;
|
|
2161
|
+
/**
|
|
2162
|
+
* Each model's own series, every period included
|
|
2163
|
+
*/
|
|
2164
|
+
modelSeries: Array<{
|
|
2165
|
+
providerId: string;
|
|
2166
|
+
modelId: string;
|
|
2167
|
+
series: Array<{
|
|
2168
|
+
modelCallCount: number;
|
|
2169
|
+
/**
|
|
2170
|
+
* Sums of reported meters; unreported meters are absent. totalTokens sums available input and output counts and is a lower bound when coverage is incomplete.
|
|
2171
|
+
*/
|
|
2172
|
+
usage: {
|
|
2173
|
+
inputTokens?: number;
|
|
2174
|
+
outputTokens?: number;
|
|
2175
|
+
totalTokens?: number;
|
|
2176
|
+
uncachedInputTokens?: number;
|
|
2177
|
+
cacheReadInputTokens?: number;
|
|
2178
|
+
cacheWriteInputTokens?: number;
|
|
2179
|
+
textOutputTokens?: number;
|
|
2180
|
+
reasoningOutputTokens?: number;
|
|
2181
|
+
/**
|
|
2182
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
2183
|
+
*/
|
|
2184
|
+
audioDurationMs?: number;
|
|
2185
|
+
/**
|
|
2186
|
+
* Output tokens that encode generated images, within outputTokens.
|
|
2187
|
+
*/
|
|
2188
|
+
imageOutputTokens?: number;
|
|
2189
|
+
/**
|
|
2190
|
+
* Output tokens that encode generated audio, within outputTokens.
|
|
2191
|
+
*/
|
|
2192
|
+
audioOutputTokens?: number;
|
|
2193
|
+
/**
|
|
2194
|
+
* Images the call returned.
|
|
2195
|
+
*/
|
|
2196
|
+
outputImages?: number;
|
|
2197
|
+
/**
|
|
2198
|
+
* Input characters, counted by the provider's own billing rule.
|
|
2199
|
+
*/
|
|
2200
|
+
inputCharacters?: number;
|
|
2201
|
+
reportingStatus: "complete" | "partial" | "unavailable";
|
|
2202
|
+
};
|
|
2203
|
+
usageCoverage: {
|
|
2204
|
+
/**
|
|
2205
|
+
* Calls reporting both inputTokens and outputTokens.
|
|
2206
|
+
*/
|
|
2207
|
+
completeCallCount: number;
|
|
2208
|
+
fieldCallCounts: {
|
|
2209
|
+
inputTokens: number;
|
|
2210
|
+
outputTokens: number;
|
|
2211
|
+
uncachedInputTokens: number;
|
|
2212
|
+
cacheReadInputTokens: number;
|
|
2213
|
+
cacheWriteInputTokens: number;
|
|
2214
|
+
textOutputTokens: number;
|
|
2215
|
+
reasoningOutputTokens: number;
|
|
2216
|
+
audioDurationMs: number;
|
|
2217
|
+
imageOutputTokens: number;
|
|
2218
|
+
audioOutputTokens: number;
|
|
2219
|
+
outputImages: number;
|
|
2220
|
+
inputCharacters: number;
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
2223
|
+
costs: {
|
|
2224
|
+
amounts: Array<{
|
|
2225
|
+
currency: string;
|
|
2226
|
+
amountNanos: string;
|
|
2227
|
+
}>;
|
|
2228
|
+
ratedCallCount: number;
|
|
2229
|
+
unpriceableCallCount: number;
|
|
2230
|
+
unvaluedCallCount: number;
|
|
2231
|
+
};
|
|
2232
|
+
start: string;
|
|
2233
|
+
end: string;
|
|
2234
|
+
}>;
|
|
2235
|
+
}>;
|
|
2115
2236
|
models: Array<{
|
|
2116
2237
|
modelCallCount: number;
|
|
2117
2238
|
/**
|
|
@@ -2180,6 +2301,87 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
2180
2301
|
providerId: string;
|
|
2181
2302
|
modelId: string;
|
|
2182
2303
|
}>;
|
|
2304
|
+
/**
|
|
2305
|
+
* Who asked for the calls
|
|
2306
|
+
*/
|
|
2307
|
+
people: Array<{
|
|
2308
|
+
modelCallCount: number;
|
|
2309
|
+
/**
|
|
2310
|
+
* Sums of reported meters; unreported meters are absent. totalTokens sums available input and output counts and is a lower bound when coverage is incomplete.
|
|
2311
|
+
*/
|
|
2312
|
+
usage: {
|
|
2313
|
+
inputTokens?: number;
|
|
2314
|
+
outputTokens?: number;
|
|
2315
|
+
totalTokens?: number;
|
|
2316
|
+
uncachedInputTokens?: number;
|
|
2317
|
+
cacheReadInputTokens?: number;
|
|
2318
|
+
cacheWriteInputTokens?: number;
|
|
2319
|
+
textOutputTokens?: number;
|
|
2320
|
+
reasoningOutputTokens?: number;
|
|
2321
|
+
/**
|
|
2322
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
2323
|
+
*/
|
|
2324
|
+
audioDurationMs?: number;
|
|
2325
|
+
/**
|
|
2326
|
+
* Output tokens that encode generated images, within outputTokens.
|
|
2327
|
+
*/
|
|
2328
|
+
imageOutputTokens?: number;
|
|
2329
|
+
/**
|
|
2330
|
+
* Output tokens that encode generated audio, within outputTokens.
|
|
2331
|
+
*/
|
|
2332
|
+
audioOutputTokens?: number;
|
|
2333
|
+
/**
|
|
2334
|
+
* Images the call returned.
|
|
2335
|
+
*/
|
|
2336
|
+
outputImages?: number;
|
|
2337
|
+
/**
|
|
2338
|
+
* Input characters, counted by the provider's own billing rule.
|
|
2339
|
+
*/
|
|
2340
|
+
inputCharacters?: number;
|
|
2341
|
+
reportingStatus: "complete" | "partial" | "unavailable";
|
|
2342
|
+
};
|
|
2343
|
+
usageCoverage: {
|
|
2344
|
+
/**
|
|
2345
|
+
* Calls reporting both inputTokens and outputTokens.
|
|
2346
|
+
*/
|
|
2347
|
+
completeCallCount: number;
|
|
2348
|
+
fieldCallCounts: {
|
|
2349
|
+
inputTokens: number;
|
|
2350
|
+
outputTokens: number;
|
|
2351
|
+
uncachedInputTokens: number;
|
|
2352
|
+
cacheReadInputTokens: number;
|
|
2353
|
+
cacheWriteInputTokens: number;
|
|
2354
|
+
textOutputTokens: number;
|
|
2355
|
+
reasoningOutputTokens: number;
|
|
2356
|
+
audioDurationMs: number;
|
|
2357
|
+
imageOutputTokens: number;
|
|
2358
|
+
audioOutputTokens: number;
|
|
2359
|
+
outputImages: number;
|
|
2360
|
+
inputCharacters: number;
|
|
2361
|
+
};
|
|
2362
|
+
};
|
|
2363
|
+
costs: {
|
|
2364
|
+
amounts: Array<{
|
|
2365
|
+
currency: string;
|
|
2366
|
+
amountNanos: string;
|
|
2367
|
+
}>;
|
|
2368
|
+
ratedCallCount: number;
|
|
2369
|
+
unpriceableCallCount: number;
|
|
2370
|
+
unvaluedCallCount: number;
|
|
2371
|
+
};
|
|
2372
|
+
/**
|
|
2373
|
+
* Absent for the calls nobody asked for, such as a schedule's
|
|
2374
|
+
*/
|
|
2375
|
+
requester?: {
|
|
2376
|
+
type: "user" | "serviceAccount";
|
|
2377
|
+
id: string;
|
|
2378
|
+
/**
|
|
2379
|
+
* Their name, or a service account's
|
|
2380
|
+
*/
|
|
2381
|
+
name?: string;
|
|
2382
|
+
email?: string;
|
|
2383
|
+
};
|
|
2384
|
+
}>;
|
|
2183
2385
|
kinds: Array<{
|
|
2184
2386
|
modelCallCount: number;
|
|
2185
2387
|
/**
|
|
@@ -2463,6 +2665,18 @@ export type ListAiModelCallsData = {
|
|
|
2463
2665
|
to: string;
|
|
2464
2666
|
providerId?: string;
|
|
2465
2667
|
modelId?: string;
|
|
2668
|
+
/**
|
|
2669
|
+
* Calls one person or service account asked for, as user:<id> or serviceAccount:<id>, or none for those nobody did, such as a schedule's
|
|
2670
|
+
*/
|
|
2671
|
+
person?: string;
|
|
2672
|
+
/**
|
|
2673
|
+
* Calls from agent conversations and their sub-agents, actions, workflows or one as workflow:<id>, or other
|
|
2674
|
+
*/
|
|
2675
|
+
source?: string;
|
|
2676
|
+
/**
|
|
2677
|
+
* Calls to one kind of model
|
|
2678
|
+
*/
|
|
2679
|
+
kind?: "language" | "image" | "video" | "embedding" | "decision" | "transcription" | "speech" | "reranking";
|
|
2466
2680
|
executionId?: string;
|
|
2467
2681
|
valuationStatus?: "rated" | "unpriceable" | "unvalued";
|
|
2468
2682
|
limit?: string;
|
|
@@ -3158,9 +3372,25 @@ export type ListAiModelCallGroupsData = {
|
|
|
3158
3372
|
to: string;
|
|
3159
3373
|
providerId?: string;
|
|
3160
3374
|
modelId?: string;
|
|
3375
|
+
/**
|
|
3376
|
+
* Calls one person or service account asked for, as user:<id> or serviceAccount:<id>, or none for those nobody did, such as a schedule's
|
|
3377
|
+
*/
|
|
3378
|
+
person?: string;
|
|
3379
|
+
/**
|
|
3380
|
+
* Calls from agent conversations and their sub-agents, actions, workflows or one as workflow:<id>, or other
|
|
3381
|
+
*/
|
|
3382
|
+
source?: string;
|
|
3383
|
+
/**
|
|
3384
|
+
* Calls to one kind of model
|
|
3385
|
+
*/
|
|
3386
|
+
kind?: "language" | "image" | "video" | "embedding" | "decision" | "transcription" | "speech" | "reranking";
|
|
3161
3387
|
valuationStatus?: "rated" | "unpriceable" | "unvalued";
|
|
3162
3388
|
limit?: string;
|
|
3163
3389
|
offset?: string;
|
|
3390
|
+
/**
|
|
3391
|
+
* Most recent first, the default, or costliest first
|
|
3392
|
+
*/
|
|
3393
|
+
sort?: "recent" | "cost";
|
|
3164
3394
|
};
|
|
3165
3395
|
url: "/api/ai/model-call-groups";
|
|
3166
3396
|
};
|
|
@@ -3223,6 +3453,8 @@ export type ListAiModelCallGroupsResponses = {
|
|
|
3223
3453
|
* Present when every call that reports tokens did; images and speech don't.
|
|
3224
3454
|
*/
|
|
3225
3455
|
totalTokens?: number;
|
|
3456
|
+
inputTokens?: number;
|
|
3457
|
+
cacheReadInputTokens?: number;
|
|
3226
3458
|
outputImages?: number;
|
|
3227
3459
|
inputCharacters?: number;
|
|
3228
3460
|
audioDurationMs?: number;
|
|
@@ -3238,6 +3470,9 @@ export type ListAiModelCallGroupsResponses = {
|
|
|
3238
3470
|
firstCallAt: string;
|
|
3239
3471
|
lastCallAt: string;
|
|
3240
3472
|
label?: string;
|
|
3473
|
+
/**
|
|
3474
|
+
* A conversation's turns and sub-agents, or a workflow run's agent steps
|
|
3475
|
+
*/
|
|
3241
3476
|
executions: Array<{
|
|
3242
3477
|
executionId: string;
|
|
3243
3478
|
attribution?: {
|
|
@@ -3271,6 +3506,8 @@ export type ListAiModelCallGroupsResponses = {
|
|
|
3271
3506
|
* Present when every call that reports tokens did; images and speech don't.
|
|
3272
3507
|
*/
|
|
3273
3508
|
totalTokens?: number;
|
|
3509
|
+
inputTokens?: number;
|
|
3510
|
+
cacheReadInputTokens?: number;
|
|
3274
3511
|
outputImages?: number;
|
|
3275
3512
|
inputCharacters?: number;
|
|
3276
3513
|
audioDurationMs?: number;
|
|
@@ -3288,10 +3525,36 @@ export type ListAiModelCallGroupsResponses = {
|
|
|
3288
3525
|
models: Array<{
|
|
3289
3526
|
providerId: string;
|
|
3290
3527
|
modelId: string;
|
|
3528
|
+
modelCallCount: number;
|
|
3529
|
+
costs: {
|
|
3530
|
+
amounts: Array<{
|
|
3531
|
+
currency: string;
|
|
3532
|
+
amountNanos: string;
|
|
3533
|
+
}>;
|
|
3534
|
+
ratedCallCount: number;
|
|
3535
|
+
unpriceableCallCount: number;
|
|
3536
|
+
unvaluedCallCount: number;
|
|
3537
|
+
};
|
|
3291
3538
|
}>;
|
|
3292
3539
|
label?: string;
|
|
3540
|
+
/**
|
|
3541
|
+
* What a turn was asked, when the caller can read its conversation
|
|
3542
|
+
*/
|
|
3543
|
+
prompt?: string;
|
|
3293
3544
|
}>;
|
|
3294
3545
|
canOpenThread: boolean;
|
|
3546
|
+
/**
|
|
3547
|
+
* Who started it
|
|
3548
|
+
*/
|
|
3549
|
+
requester?: {
|
|
3550
|
+
type: "user" | "serviceAccount";
|
|
3551
|
+
id: string;
|
|
3552
|
+
/**
|
|
3553
|
+
* Their name, or a service account's
|
|
3554
|
+
*/
|
|
3555
|
+
name?: string;
|
|
3556
|
+
email?: string;
|
|
3557
|
+
};
|
|
3295
3558
|
}>;
|
|
3296
3559
|
total: number;
|
|
3297
3560
|
hasMore: boolean;
|
|
@@ -5236,6 +5499,7 @@ export type ListDatasetVersionsResponses = {
|
|
|
5236
5499
|
kind: "sync" | "pipeline" | "ingest";
|
|
5237
5500
|
id?: string;
|
|
5238
5501
|
runId?: string;
|
|
5502
|
+
stepId?: string;
|
|
5239
5503
|
};
|
|
5240
5504
|
inputs?: Array<{
|
|
5241
5505
|
datasetId: string;
|
|
@@ -5297,6 +5561,7 @@ export type GetDatasetVersionResponses = {
|
|
|
5297
5561
|
kind: "sync" | "pipeline" | "ingest";
|
|
5298
5562
|
id?: string;
|
|
5299
5563
|
runId?: string;
|
|
5564
|
+
stepId?: string;
|
|
5300
5565
|
};
|
|
5301
5566
|
inputs?: Array<{
|
|
5302
5567
|
datasetId: string;
|
|
@@ -5307,6 +5572,79 @@ export type GetDatasetVersionResponses = {
|
|
|
5307
5572
|
};
|
|
5308
5573
|
};
|
|
5309
5574
|
export type GetDatasetVersionResponse = GetDatasetVersionResponses[keyof GetDatasetVersionResponses];
|
|
5575
|
+
export type GetDatasetVersionLineageData = {
|
|
5576
|
+
body?: never;
|
|
5577
|
+
path: {
|
|
5578
|
+
datasetId: string;
|
|
5579
|
+
versionId: string;
|
|
5580
|
+
};
|
|
5581
|
+
query?: {
|
|
5582
|
+
depth?: string;
|
|
5583
|
+
};
|
|
5584
|
+
url: "/api/datasets/{datasetId}/versions/{versionId}/lineage";
|
|
5585
|
+
};
|
|
5586
|
+
export type GetDatasetVersionLineageErrors = {
|
|
5587
|
+
/**
|
|
5588
|
+
* Response for status 400
|
|
5589
|
+
*/
|
|
5590
|
+
400: {
|
|
5591
|
+
error: string;
|
|
5592
|
+
};
|
|
5593
|
+
/**
|
|
5594
|
+
* Response for status 404
|
|
5595
|
+
*/
|
|
5596
|
+
404: {
|
|
5597
|
+
error: string;
|
|
5598
|
+
/**
|
|
5599
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
5600
|
+
*/
|
|
5601
|
+
code: "dataset.not_found" | "dataset.version_not_found";
|
|
5602
|
+
};
|
|
5603
|
+
};
|
|
5604
|
+
export type GetDatasetVersionLineageError = GetDatasetVersionLineageErrors[keyof GetDatasetVersionLineageErrors];
|
|
5605
|
+
export type GetDatasetVersionLineageResponses = {
|
|
5606
|
+
/**
|
|
5607
|
+
* Response for status 200
|
|
5608
|
+
*/
|
|
5609
|
+
200: {
|
|
5610
|
+
nodes: Array<{
|
|
5611
|
+
datasetId: string;
|
|
5612
|
+
versionId: string;
|
|
5613
|
+
parentVersionId?: string;
|
|
5614
|
+
mode: "snapshot" | "append" | "merge" | "schema";
|
|
5615
|
+
createdAt: string;
|
|
5616
|
+
producer?: {
|
|
5617
|
+
kind: "sync" | "pipeline" | "ingest";
|
|
5618
|
+
id?: string;
|
|
5619
|
+
runId?: string;
|
|
5620
|
+
stepId?: string;
|
|
5621
|
+
};
|
|
5622
|
+
} | {
|
|
5623
|
+
datasetId: string;
|
|
5624
|
+
versionId: string;
|
|
5625
|
+
expired: true;
|
|
5626
|
+
}>;
|
|
5627
|
+
edges: Array<{
|
|
5628
|
+
from: {
|
|
5629
|
+
datasetId: string;
|
|
5630
|
+
versionId: string;
|
|
5631
|
+
};
|
|
5632
|
+
to: {
|
|
5633
|
+
datasetId: string;
|
|
5634
|
+
versionId: string;
|
|
5635
|
+
};
|
|
5636
|
+
}>;
|
|
5637
|
+
/**
|
|
5638
|
+
* Versions left out because the caller cannot view their dataset.
|
|
5639
|
+
*/
|
|
5640
|
+
restricted: number;
|
|
5641
|
+
/**
|
|
5642
|
+
* Whether the walk stopped at `depth` or at the node cap.
|
|
5643
|
+
*/
|
|
5644
|
+
truncated: boolean;
|
|
5645
|
+
};
|
|
5646
|
+
};
|
|
5647
|
+
export type GetDatasetVersionLineageResponse = GetDatasetVersionLineageResponses[keyof GetDatasetVersionLineageResponses];
|
|
5310
5648
|
export type ListDatasetRowsData = {
|
|
5311
5649
|
body?: never;
|
|
5312
5650
|
path: {
|
|
@@ -5363,6 +5701,7 @@ export type ListDatasetRowsResponses = {
|
|
|
5363
5701
|
kind: "sync" | "pipeline" | "ingest";
|
|
5364
5702
|
id?: string;
|
|
5365
5703
|
runId?: string;
|
|
5704
|
+
stepId?: string;
|
|
5366
5705
|
};
|
|
5367
5706
|
inputs?: Array<{
|
|
5368
5707
|
datasetId: string;
|
|
@@ -6982,7 +7321,7 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
6982
7321
|
} | {
|
|
6983
7322
|
kind: "error";
|
|
6984
7323
|
error: {
|
|
6985
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
7324
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
6986
7325
|
message: string;
|
|
6987
7326
|
retryable: boolean;
|
|
6988
7327
|
at: string;
|
|
@@ -7088,6 +7427,17 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
7088
7427
|
output: string | number | boolean | Array<unknown> | {
|
|
7089
7428
|
[key: string]: unknown;
|
|
7090
7429
|
} | null;
|
|
7430
|
+
outputFile?: {
|
|
7431
|
+
fileRef: {
|
|
7432
|
+
blobId: string;
|
|
7433
|
+
digest: string;
|
|
7434
|
+
sizeBytes: number;
|
|
7435
|
+
fileName?: string;
|
|
7436
|
+
mediaType?: string;
|
|
7437
|
+
logicalPath?: string;
|
|
7438
|
+
};
|
|
7439
|
+
path: string;
|
|
7440
|
+
};
|
|
7091
7441
|
} | {
|
|
7092
7442
|
type: "tool-call";
|
|
7093
7443
|
toolCallId: string;
|
|
@@ -7122,7 +7472,7 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
7122
7472
|
} | null>;
|
|
7123
7473
|
failurePhase?: "agent-loop" | "structured-finalizer";
|
|
7124
7474
|
error?: {
|
|
7125
|
-
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
7475
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
7126
7476
|
message: string;
|
|
7127
7477
|
retryable: boolean;
|
|
7128
7478
|
at: string;
|
|
@@ -8761,71 +9111,177 @@ export type GetObjectResponses = {
|
|
|
8761
9111
|
};
|
|
8762
9112
|
};
|
|
8763
9113
|
export type GetObjectResponse = GetObjectResponses[keyof GetObjectResponses];
|
|
8764
|
-
export type
|
|
8765
|
-
body
|
|
8766
|
-
properties: {
|
|
8767
|
-
[key: string]: unknown;
|
|
8768
|
-
};
|
|
8769
|
-
};
|
|
9114
|
+
export type GetObjectLineageData = {
|
|
9115
|
+
body?: never;
|
|
8770
9116
|
path: {
|
|
8771
9117
|
objectTypeId: string;
|
|
8772
9118
|
objectId: string;
|
|
8773
9119
|
};
|
|
8774
9120
|
query?: never;
|
|
8775
|
-
url: "/api/objects/{objectTypeId}/{objectId}";
|
|
9121
|
+
url: "/api/objects/{objectTypeId}/{objectId}/lineage";
|
|
8776
9122
|
};
|
|
8777
|
-
export type
|
|
8778
|
-
/**
|
|
8779
|
-
* Response for status 400
|
|
8780
|
-
*/
|
|
8781
|
-
400: {
|
|
8782
|
-
error: string;
|
|
8783
|
-
};
|
|
8784
|
-
/**
|
|
8785
|
-
* Response for status 403
|
|
8786
|
-
*/
|
|
8787
|
-
403: {
|
|
8788
|
-
error: string;
|
|
8789
|
-
};
|
|
9123
|
+
export type GetObjectLineageErrors = {
|
|
8790
9124
|
/**
|
|
8791
9125
|
* Response for status 404
|
|
8792
9126
|
*/
|
|
8793
9127
|
404: {
|
|
8794
9128
|
error: string;
|
|
8795
9129
|
};
|
|
8796
|
-
/**
|
|
8797
|
-
* Response for status 409
|
|
8798
|
-
*/
|
|
8799
|
-
409: {
|
|
8800
|
-
error: string;
|
|
8801
|
-
/**
|
|
8802
|
-
* Stable machine-readable failure code for programmatic handling.
|
|
8803
|
-
*/
|
|
8804
|
-
code: "object.unique_violation";
|
|
8805
|
-
};
|
|
8806
9130
|
};
|
|
8807
|
-
export type
|
|
8808
|
-
export type
|
|
9131
|
+
export type GetObjectLineageError = GetObjectLineageErrors[keyof GetObjectLineageErrors];
|
|
9132
|
+
export type GetObjectLineageResponses = {
|
|
8809
9133
|
/**
|
|
8810
9134
|
* Response for status 200
|
|
8811
9135
|
*/
|
|
8812
9136
|
200: {
|
|
8813
|
-
score?: number;
|
|
8814
|
-
primaryId: string;
|
|
8815
9137
|
objectTypeId: string;
|
|
8816
|
-
|
|
8817
|
-
|
|
9138
|
+
primaryId: string;
|
|
9139
|
+
existence: {
|
|
9140
|
+
source: string;
|
|
8818
9141
|
};
|
|
8819
|
-
|
|
9142
|
+
/**
|
|
9143
|
+
* Keyed `projection:<id>`, `commit:<id>`, `commit@<instant>` when the commit is unknown, `telemetry:<commitId>` and `identity`.
|
|
9144
|
+
*/
|
|
9145
|
+
sources: {
|
|
8820
9146
|
[key: string]: {
|
|
8821
|
-
|
|
9147
|
+
kind: "projection";
|
|
9148
|
+
projectionId: string;
|
|
9149
|
+
/**
|
|
9150
|
+
* Absent for a caller who cannot view the projection's runs.
|
|
9151
|
+
*/
|
|
9152
|
+
projectionRunId?: string;
|
|
9153
|
+
/**
|
|
9154
|
+
* The dataset version applied. Absent for a caller who cannot view the dataset.
|
|
9155
|
+
*/
|
|
9156
|
+
datasetVersion?: {
|
|
9157
|
+
datasetId: string;
|
|
9158
|
+
versionId: string;
|
|
9159
|
+
};
|
|
9160
|
+
/**
|
|
9161
|
+
* Upstream columns that decide which rows the version holds, which every value depends on. Absent when the version records no lineage or the caller cannot view it.
|
|
9162
|
+
*/
|
|
9163
|
+
rowOrigins?: Array<{
|
|
9164
|
+
datasetId: string;
|
|
9165
|
+
column: string;
|
|
9166
|
+
}>;
|
|
9167
|
+
} | {
|
|
9168
|
+
kind: "edit";
|
|
9169
|
+
/**
|
|
9170
|
+
* Null when the commits made at that instant cannot be told apart.
|
|
9171
|
+
*/
|
|
9172
|
+
commitId: string | null;
|
|
9173
|
+
committedAt: string;
|
|
9174
|
+
/**
|
|
9175
|
+
* Principal on whose behalf the commit ran; absent for automatic or anonymous work.
|
|
9176
|
+
*/
|
|
9177
|
+
requestedBy?: {
|
|
9178
|
+
type: "user" | "serviceAccount";
|
|
9179
|
+
id: string;
|
|
9180
|
+
};
|
|
9181
|
+
executor?: {
|
|
9182
|
+
type: "request";
|
|
9183
|
+
requestId: string;
|
|
9184
|
+
} | {
|
|
9185
|
+
type: "primitive";
|
|
9186
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
9187
|
+
id: string;
|
|
9188
|
+
runId: string;
|
|
9189
|
+
} | {
|
|
9190
|
+
type: "agent";
|
|
9191
|
+
runId: string;
|
|
9192
|
+
} | {
|
|
9193
|
+
type: "kernel";
|
|
9194
|
+
operation: {
|
|
9195
|
+
type: "ontology.recover";
|
|
9196
|
+
recoveryId: string;
|
|
9197
|
+
} | {
|
|
9198
|
+
type: "ontology.indexVectors";
|
|
9199
|
+
indexingId: string;
|
|
9200
|
+
};
|
|
9201
|
+
};
|
|
9202
|
+
/**
|
|
9203
|
+
* Absent for a direct write, and for an Action run the caller cannot view.
|
|
9204
|
+
*/
|
|
9205
|
+
action?: {
|
|
9206
|
+
actionId: string;
|
|
9207
|
+
runId: string;
|
|
9208
|
+
};
|
|
9209
|
+
} | {
|
|
9210
|
+
kind: "telemetry";
|
|
9211
|
+
commitId: string;
|
|
9212
|
+
committedAt: string;
|
|
9213
|
+
projectionId?: string;
|
|
9214
|
+
/**
|
|
9215
|
+
* Principal on whose behalf the commit ran; absent for automatic or anonymous work.
|
|
9216
|
+
*/
|
|
9217
|
+
requestedBy?: {
|
|
9218
|
+
type: "user" | "serviceAccount";
|
|
9219
|
+
id: string;
|
|
9220
|
+
};
|
|
9221
|
+
executor?: {
|
|
9222
|
+
type: "request";
|
|
9223
|
+
requestId: string;
|
|
9224
|
+
} | {
|
|
9225
|
+
type: "primitive";
|
|
9226
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
9227
|
+
id: string;
|
|
9228
|
+
runId: string;
|
|
9229
|
+
} | {
|
|
9230
|
+
type: "agent";
|
|
9231
|
+
runId: string;
|
|
9232
|
+
} | {
|
|
9233
|
+
type: "kernel";
|
|
9234
|
+
operation: {
|
|
9235
|
+
type: "ontology.recover";
|
|
9236
|
+
recoveryId: string;
|
|
9237
|
+
} | {
|
|
9238
|
+
type: "ontology.indexVectors";
|
|
9239
|
+
indexingId: string;
|
|
9240
|
+
};
|
|
9241
|
+
};
|
|
9242
|
+
} | {
|
|
9243
|
+
kind: "identity";
|
|
8822
9244
|
};
|
|
8823
9245
|
};
|
|
8824
|
-
|
|
8825
|
-
|
|
9246
|
+
properties: {
|
|
9247
|
+
[key: string]: {
|
|
9248
|
+
/**
|
|
9249
|
+
* The source that decided the value: a key of `sources`.
|
|
9250
|
+
*/
|
|
9251
|
+
source: string;
|
|
9252
|
+
column?: string;
|
|
9253
|
+
origins?: Array<{
|
|
9254
|
+
datasetId: string;
|
|
9255
|
+
column: string;
|
|
9256
|
+
}>;
|
|
9257
|
+
removed?: true;
|
|
9258
|
+
at?: string;
|
|
9259
|
+
replaced?: {
|
|
9260
|
+
source: string;
|
|
9261
|
+
column?: string;
|
|
9262
|
+
/**
|
|
9263
|
+
* Any JSON-compatible value.
|
|
9264
|
+
*/
|
|
9265
|
+
value?: string | number | boolean | Array<unknown> | {
|
|
9266
|
+
[key: string]: unknown;
|
|
9267
|
+
} | null;
|
|
9268
|
+
};
|
|
9269
|
+
resolution?: {
|
|
9270
|
+
strategy: "editsWin";
|
|
9271
|
+
} | {
|
|
9272
|
+
strategy: "mostRecent";
|
|
9273
|
+
sourceUpdatedAt: string;
|
|
9274
|
+
editedAt?: string;
|
|
9275
|
+
};
|
|
9276
|
+
};
|
|
9277
|
+
};
|
|
9278
|
+
/**
|
|
9279
|
+
* Steps left out because the caller cannot view them.
|
|
9280
|
+
*/
|
|
9281
|
+
restricted: number;
|
|
8826
9282
|
};
|
|
8827
9283
|
};
|
|
8828
|
-
export type
|
|
9284
|
+
export type GetObjectLineageResponse = GetObjectLineageResponses[keyof GetObjectLineageResponses];
|
|
8829
9285
|
export type GetObjectByUniquePropertyData = {
|
|
8830
9286
|
body: {
|
|
8831
9287
|
/**
|
|
@@ -9023,7 +9479,7 @@ export type RequestActionErrors = {
|
|
|
9023
9479
|
/**
|
|
9024
9480
|
* Stable machine-readable failure code for programmatic handling.
|
|
9025
9481
|
*/
|
|
9026
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
9482
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
9027
9483
|
};
|
|
9028
9484
|
/**
|
|
9029
9485
|
* Response for status 503
|
|
@@ -9819,6 +10275,14 @@ export type ListAgentThreadsResponses = {
|
|
|
9819
10275
|
[key: string]: unknown;
|
|
9820
10276
|
} | null;
|
|
9821
10277
|
};
|
|
10278
|
+
runsOn?: "computer";
|
|
10279
|
+
computer?: {
|
|
10280
|
+
id: string;
|
|
10281
|
+
name: string;
|
|
10282
|
+
folder: string;
|
|
10283
|
+
online: boolean;
|
|
10284
|
+
};
|
|
10285
|
+
movedAt?: string;
|
|
9822
10286
|
status: "active" | "archived";
|
|
9823
10287
|
activeRunId: string | null;
|
|
9824
10288
|
lastMessageAt?: string;
|
|
@@ -9842,6 +10306,12 @@ export type CreateAgentThreadData = {
|
|
|
9842
10306
|
[key: string]: unknown;
|
|
9843
10307
|
} | null;
|
|
9844
10308
|
};
|
|
10309
|
+
runsOn?: "computer";
|
|
10310
|
+
computer?: {
|
|
10311
|
+
id: string;
|
|
10312
|
+
name: string;
|
|
10313
|
+
folder: string;
|
|
10314
|
+
};
|
|
9845
10315
|
};
|
|
9846
10316
|
path?: never;
|
|
9847
10317
|
query?: never;
|
|
@@ -9920,6 +10390,14 @@ export type CreateAgentThreadResponses = {
|
|
|
9920
10390
|
[key: string]: unknown;
|
|
9921
10391
|
} | null;
|
|
9922
10392
|
};
|
|
10393
|
+
runsOn?: "computer";
|
|
10394
|
+
computer?: {
|
|
10395
|
+
id: string;
|
|
10396
|
+
name: string;
|
|
10397
|
+
folder: string;
|
|
10398
|
+
online: boolean;
|
|
10399
|
+
};
|
|
10400
|
+
movedAt?: string;
|
|
9923
10401
|
status: "active" | "archived";
|
|
9924
10402
|
activeRunId: string | null;
|
|
9925
10403
|
lastMessageAt?: string;
|
|
@@ -10006,6 +10484,14 @@ export type GetAgentThreadResponses = {
|
|
|
10006
10484
|
[key: string]: unknown;
|
|
10007
10485
|
} | null;
|
|
10008
10486
|
};
|
|
10487
|
+
runsOn?: "computer";
|
|
10488
|
+
computer?: {
|
|
10489
|
+
id: string;
|
|
10490
|
+
name: string;
|
|
10491
|
+
folder: string;
|
|
10492
|
+
online: boolean;
|
|
10493
|
+
};
|
|
10494
|
+
movedAt?: string;
|
|
10009
10495
|
status: "active" | "archived";
|
|
10010
10496
|
activeRunId: string | null;
|
|
10011
10497
|
lastMessageAt?: string;
|
|
@@ -10113,6 +10599,14 @@ export type AddAgentThreadParticipantsResponses = {
|
|
|
10113
10599
|
[key: string]: unknown;
|
|
10114
10600
|
} | null;
|
|
10115
10601
|
};
|
|
10602
|
+
runsOn?: "computer";
|
|
10603
|
+
computer?: {
|
|
10604
|
+
id: string;
|
|
10605
|
+
name: string;
|
|
10606
|
+
folder: string;
|
|
10607
|
+
online: boolean;
|
|
10608
|
+
};
|
|
10609
|
+
movedAt?: string;
|
|
10116
10610
|
status: "active" | "archived";
|
|
10117
10611
|
activeRunId: string | null;
|
|
10118
10612
|
lastMessageAt?: string;
|
|
@@ -10258,6 +10752,14 @@ export type ForkAgentThreadResponses = {
|
|
|
10258
10752
|
[key: string]: unknown;
|
|
10259
10753
|
} | null;
|
|
10260
10754
|
};
|
|
10755
|
+
runsOn?: "computer";
|
|
10756
|
+
computer?: {
|
|
10757
|
+
id: string;
|
|
10758
|
+
name: string;
|
|
10759
|
+
folder: string;
|
|
10760
|
+
online: boolean;
|
|
10761
|
+
};
|
|
10762
|
+
movedAt?: string;
|
|
10261
10763
|
status: "active" | "archived";
|
|
10262
10764
|
activeRunId: string | null;
|
|
10263
10765
|
lastMessageAt?: string;
|
|
@@ -10354,6 +10856,14 @@ export type RecreateAgentThreadSandboxResponses = {
|
|
|
10354
10856
|
[key: string]: unknown;
|
|
10355
10857
|
} | null;
|
|
10356
10858
|
};
|
|
10859
|
+
runsOn?: "computer";
|
|
10860
|
+
computer?: {
|
|
10861
|
+
id: string;
|
|
10862
|
+
name: string;
|
|
10863
|
+
folder: string;
|
|
10864
|
+
online: boolean;
|
|
10865
|
+
};
|
|
10866
|
+
movedAt?: string;
|
|
10357
10867
|
status: "active" | "archived";
|
|
10358
10868
|
activeRunId: string | null;
|
|
10359
10869
|
lastMessageAt?: string;
|
|
@@ -10469,7 +10979,7 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
10469
10979
|
} | {
|
|
10470
10980
|
kind: "error";
|
|
10471
10981
|
error: {
|
|
10472
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
10982
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
10473
10983
|
message: string;
|
|
10474
10984
|
retryable: boolean;
|
|
10475
10985
|
at: string;
|
|
@@ -10575,6 +11085,17 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
10575
11085
|
output: string | number | boolean | Array<unknown> | {
|
|
10576
11086
|
[key: string]: unknown;
|
|
10577
11087
|
} | null;
|
|
11088
|
+
outputFile?: {
|
|
11089
|
+
fileRef: {
|
|
11090
|
+
blobId: string;
|
|
11091
|
+
digest: string;
|
|
11092
|
+
sizeBytes: number;
|
|
11093
|
+
fileName?: string;
|
|
11094
|
+
mediaType?: string;
|
|
11095
|
+
logicalPath?: string;
|
|
11096
|
+
};
|
|
11097
|
+
path: string;
|
|
11098
|
+
};
|
|
10578
11099
|
} | {
|
|
10579
11100
|
type: "tool-call";
|
|
10580
11101
|
toolCallId: string;
|
|
@@ -10612,6 +11133,10 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
10612
11133
|
}>;
|
|
10613
11134
|
compaction?: {
|
|
10614
11135
|
checkpointId: string;
|
|
11136
|
+
/**
|
|
11137
|
+
* `threshold`: the conversation reached its model's limit, or came back large after its cache expired. `overflow`: the provider refused a request as too long, and the turn went on condensed.
|
|
11138
|
+
*/
|
|
11139
|
+
reason: "threshold" | "overflow";
|
|
10615
11140
|
summary: string;
|
|
10616
11141
|
createdAt: string;
|
|
10617
11142
|
};
|
|
@@ -10703,6 +11228,7 @@ export type PostAgentThreadMessageErrors = {
|
|
|
10703
11228
|
*/
|
|
10704
11229
|
403: {
|
|
10705
11230
|
error: string;
|
|
11231
|
+
code?: string;
|
|
10706
11232
|
};
|
|
10707
11233
|
/**
|
|
10708
11234
|
* Response for status 404
|
|
@@ -10767,6 +11293,7 @@ export type PostAgentThreadMessageResponses = {
|
|
|
10767
11293
|
budgetTokens: number;
|
|
10768
11294
|
};
|
|
10769
11295
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
11296
|
+
runsOn?: "computer";
|
|
10770
11297
|
modelId?: string;
|
|
10771
11298
|
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
10772
11299
|
usage?: {
|
|
@@ -10816,7 +11343,7 @@ export type PostAgentThreadMessageResponses = {
|
|
|
10816
11343
|
message: string;
|
|
10817
11344
|
}>;
|
|
10818
11345
|
error?: {
|
|
10819
|
-
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
11346
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
10820
11347
|
message: string;
|
|
10821
11348
|
retryable: boolean;
|
|
10822
11349
|
at: string;
|
|
@@ -11002,6 +11529,7 @@ export type CancelAgentRunResponses = {
|
|
|
11002
11529
|
budgetTokens: number;
|
|
11003
11530
|
};
|
|
11004
11531
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
11532
|
+
runsOn?: "computer";
|
|
11005
11533
|
modelId?: string;
|
|
11006
11534
|
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
11007
11535
|
usage?: {
|
|
@@ -11051,7 +11579,7 @@ export type CancelAgentRunResponses = {
|
|
|
11051
11579
|
message: string;
|
|
11052
11580
|
}>;
|
|
11053
11581
|
error?: {
|
|
11054
|
-
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
11582
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
11055
11583
|
message: string;
|
|
11056
11584
|
retryable: boolean;
|
|
11057
11585
|
at: string;
|
|
@@ -11161,6 +11689,7 @@ export type RetryAgentRunResponses = {
|
|
|
11161
11689
|
budgetTokens: number;
|
|
11162
11690
|
};
|
|
11163
11691
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
11692
|
+
runsOn?: "computer";
|
|
11164
11693
|
modelId?: string;
|
|
11165
11694
|
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
11166
11695
|
usage?: {
|
|
@@ -11210,7 +11739,7 @@ export type RetryAgentRunResponses = {
|
|
|
11210
11739
|
message: string;
|
|
11211
11740
|
}>;
|
|
11212
11741
|
error?: {
|
|
11213
|
-
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
11742
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
11214
11743
|
message: string;
|
|
11215
11744
|
retryable: boolean;
|
|
11216
11745
|
at: string;
|
|
@@ -11233,6 +11762,82 @@ export type RetryAgentRunResponses = {
|
|
|
11233
11762
|
};
|
|
11234
11763
|
};
|
|
11235
11764
|
export type RetryAgentRunResponse = RetryAgentRunResponses[keyof RetryAgentRunResponses];
|
|
11765
|
+
export type GetAgentThreadContextData = {
|
|
11766
|
+
body?: never;
|
|
11767
|
+
path: {
|
|
11768
|
+
threadId: string;
|
|
11769
|
+
};
|
|
11770
|
+
query?: {
|
|
11771
|
+
provider?: string;
|
|
11772
|
+
modelId?: string;
|
|
11773
|
+
};
|
|
11774
|
+
url: "/api/agent-threads/{threadId}/context";
|
|
11775
|
+
};
|
|
11776
|
+
export type GetAgentThreadContextErrors = {
|
|
11777
|
+
/**
|
|
11778
|
+
* Response for status 400
|
|
11779
|
+
*/
|
|
11780
|
+
400: {
|
|
11781
|
+
error: string;
|
|
11782
|
+
};
|
|
11783
|
+
/**
|
|
11784
|
+
* Response for status 404
|
|
11785
|
+
*/
|
|
11786
|
+
404: {
|
|
11787
|
+
error: string;
|
|
11788
|
+
};
|
|
11789
|
+
/**
|
|
11790
|
+
* Response for status 409
|
|
11791
|
+
*/
|
|
11792
|
+
409: {
|
|
11793
|
+
error: string;
|
|
11794
|
+
code?: string;
|
|
11795
|
+
};
|
|
11796
|
+
/**
|
|
11797
|
+
* Response for status 501
|
|
11798
|
+
*/
|
|
11799
|
+
501: {
|
|
11800
|
+
error: string;
|
|
11801
|
+
};
|
|
11802
|
+
};
|
|
11803
|
+
export type GetAgentThreadContextError = GetAgentThreadContextErrors[keyof GetAgentThreadContextErrors];
|
|
11804
|
+
export type GetAgentThreadContextResponses = {
|
|
11805
|
+
/**
|
|
11806
|
+
* Response for status 200
|
|
11807
|
+
*/
|
|
11808
|
+
200: {
|
|
11809
|
+
model: {
|
|
11810
|
+
provider: string;
|
|
11811
|
+
modelId: string;
|
|
11812
|
+
};
|
|
11813
|
+
windowTokens: number;
|
|
11814
|
+
limitTokens: number;
|
|
11815
|
+
usedTokens?: number;
|
|
11816
|
+
parts?: Array<{
|
|
11817
|
+
/**
|
|
11818
|
+
* `system`: Sixb's own prompt. `instructions`: the project's SIXB.md. `memory`, `skills`, `ontology`: their index in the prompt and the files the agent read. `tools`: the tool definitions. `summary`: what a condensed conversation keeps of its earlier part. `messages`: the conversation's text. `toolResults`: every other tool result. `files`: attachments and images.
|
|
11819
|
+
*/
|
|
11820
|
+
part: "system" | "instructions" | "memory" | "skills" | "ontology" | "tools" | "summary" | "messages" | "toolResults" | "files";
|
|
11821
|
+
tokens: number;
|
|
11822
|
+
}>;
|
|
11823
|
+
lastCall?: {
|
|
11824
|
+
inputTokens: number;
|
|
11825
|
+
outputTokens?: number;
|
|
11826
|
+
cacheReadInputTokens?: number;
|
|
11827
|
+
occurredAt: string;
|
|
11828
|
+
};
|
|
11829
|
+
lastCompaction?: {
|
|
11830
|
+
/**
|
|
11831
|
+
* `threshold`: the conversation reached its model's limit, or came back large after its cache expired. `overflow`: the provider refused a request as too long, and the turn went on condensed.
|
|
11832
|
+
*/
|
|
11833
|
+
reason: "threshold" | "overflow";
|
|
11834
|
+
createdAt: string;
|
|
11835
|
+
estimatedInputTokensBefore: number;
|
|
11836
|
+
estimatedInputTokensAfter: number;
|
|
11837
|
+
};
|
|
11838
|
+
};
|
|
11839
|
+
};
|
|
11840
|
+
export type GetAgentThreadContextResponse = GetAgentThreadContextResponses[keyof GetAgentThreadContextResponses];
|
|
11236
11841
|
export type ListAgentThreadRunsData = {
|
|
11237
11842
|
body?: never;
|
|
11238
11843
|
path: {
|
|
@@ -11293,6 +11898,7 @@ export type ListAgentThreadRunsResponses = {
|
|
|
11293
11898
|
budgetTokens: number;
|
|
11294
11899
|
};
|
|
11295
11900
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
11901
|
+
runsOn?: "computer";
|
|
11296
11902
|
modelId?: string;
|
|
11297
11903
|
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
11298
11904
|
usage?: {
|
|
@@ -11342,7 +11948,7 @@ export type ListAgentThreadRunsResponses = {
|
|
|
11342
11948
|
message: string;
|
|
11343
11949
|
}>;
|
|
11344
11950
|
error?: {
|
|
11345
|
-
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
11951
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
11346
11952
|
message: string;
|
|
11347
11953
|
retryable: boolean;
|
|
11348
11954
|
at: string;
|
|
@@ -11421,6 +12027,7 @@ export type GetAgentRunResponses = {
|
|
|
11421
12027
|
budgetTokens: number;
|
|
11422
12028
|
};
|
|
11423
12029
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
12030
|
+
runsOn?: "computer";
|
|
11424
12031
|
modelId?: string;
|
|
11425
12032
|
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
11426
12033
|
usage?: {
|
|
@@ -11470,7 +12077,7 @@ export type GetAgentRunResponses = {
|
|
|
11470
12077
|
message: string;
|
|
11471
12078
|
}>;
|
|
11472
12079
|
error?: {
|
|
11473
|
-
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
12080
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
11474
12081
|
message: string;
|
|
11475
12082
|
retryable: boolean;
|
|
11476
12083
|
at: string;
|
|
@@ -11562,6 +12169,7 @@ export type CancelAgentRunByIdResponses = {
|
|
|
11562
12169
|
budgetTokens: number;
|
|
11563
12170
|
};
|
|
11564
12171
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
12172
|
+
runsOn?: "computer";
|
|
11565
12173
|
modelId?: string;
|
|
11566
12174
|
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
11567
12175
|
usage?: {
|
|
@@ -11611,7 +12219,7 @@ export type CancelAgentRunByIdResponses = {
|
|
|
11611
12219
|
message: string;
|
|
11612
12220
|
}>;
|
|
11613
12221
|
error?: {
|
|
11614
|
-
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
12222
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
11615
12223
|
message: string;
|
|
11616
12224
|
retryable: boolean;
|
|
11617
12225
|
at: string;
|
|
@@ -11673,98 +12281,391 @@ export type ListAgentThreadChildrenResponses = {
|
|
|
11673
12281
|
children: Array<AgentChild>;
|
|
11674
12282
|
};
|
|
11675
12283
|
};
|
|
11676
|
-
export type ListAgentThreadChildrenResponse = ListAgentThreadChildrenResponses[keyof ListAgentThreadChildrenResponses];
|
|
11677
|
-
export type GetAgentChildFileContentData = {
|
|
12284
|
+
export type ListAgentThreadChildrenResponse = ListAgentThreadChildrenResponses[keyof ListAgentThreadChildrenResponses];
|
|
12285
|
+
export type GetAgentChildFileContentData = {
|
|
12286
|
+
body?: never;
|
|
12287
|
+
path: {
|
|
12288
|
+
threadId: string;
|
|
12289
|
+
};
|
|
12290
|
+
query: {
|
|
12291
|
+
path: string;
|
|
12292
|
+
disposition?: "inline" | "attachment";
|
|
12293
|
+
/**
|
|
12294
|
+
* Client cache key; the route still resolves the current file
|
|
12295
|
+
*/
|
|
12296
|
+
v?: string;
|
|
12297
|
+
run: string;
|
|
12298
|
+
};
|
|
12299
|
+
url: "/api/agent-threads/{threadId}/child-files/content";
|
|
12300
|
+
};
|
|
12301
|
+
export type GetAgentChildFileContentErrors = {
|
|
12302
|
+
/**
|
|
12303
|
+
* Response for status 400
|
|
12304
|
+
*/
|
|
12305
|
+
400: ErrorResponse;
|
|
12306
|
+
/**
|
|
12307
|
+
* Response for status 404
|
|
12308
|
+
*/
|
|
12309
|
+
404: ErrorResponse;
|
|
12310
|
+
/**
|
|
12311
|
+
* Requested byte range is not satisfiable
|
|
12312
|
+
*/
|
|
12313
|
+
416: unknown;
|
|
12314
|
+
/**
|
|
12315
|
+
* The storage role backing this content is not configured
|
|
12316
|
+
*/
|
|
12317
|
+
501: ErrorResponse;
|
|
12318
|
+
};
|
|
12319
|
+
export type GetAgentChildFileContentError = GetAgentChildFileContentErrors[keyof GetAgentChildFileContentErrors];
|
|
12320
|
+
export type GetAgentChildFileContentResponses = {
|
|
12321
|
+
/**
|
|
12322
|
+
* File content
|
|
12323
|
+
*/
|
|
12324
|
+
200: Blob | File;
|
|
12325
|
+
/**
|
|
12326
|
+
* Partial file content
|
|
12327
|
+
*/
|
|
12328
|
+
206: Blob | File;
|
|
12329
|
+
};
|
|
12330
|
+
export type GetAgentChildFileContentResponse = GetAgentChildFileContentResponses[keyof GetAgentChildFileContentResponses];
|
|
12331
|
+
export type HeadAgentChildFileContentData = {
|
|
12332
|
+
body?: never;
|
|
12333
|
+
path: {
|
|
12334
|
+
threadId: string;
|
|
12335
|
+
};
|
|
12336
|
+
query: {
|
|
12337
|
+
path: string;
|
|
12338
|
+
disposition?: "inline" | "attachment";
|
|
12339
|
+
/**
|
|
12340
|
+
* Client cache key; the route still resolves the current file
|
|
12341
|
+
*/
|
|
12342
|
+
v?: string;
|
|
12343
|
+
run: string;
|
|
12344
|
+
};
|
|
12345
|
+
url: "/api/agent-threads/{threadId}/child-files/content";
|
|
12346
|
+
};
|
|
12347
|
+
export type HeadAgentChildFileContentErrors = {
|
|
12348
|
+
/**
|
|
12349
|
+
* Response for status 400
|
|
12350
|
+
*/
|
|
12351
|
+
400: ErrorResponse;
|
|
12352
|
+
/**
|
|
12353
|
+
* Response for status 404
|
|
12354
|
+
*/
|
|
12355
|
+
404: ErrorResponse;
|
|
12356
|
+
/**
|
|
12357
|
+
* Requested byte range is not satisfiable
|
|
12358
|
+
*/
|
|
12359
|
+
416: unknown;
|
|
12360
|
+
/**
|
|
12361
|
+
* The storage role backing this content is not configured
|
|
12362
|
+
*/
|
|
12363
|
+
501: ErrorResponse;
|
|
12364
|
+
};
|
|
12365
|
+
export type HeadAgentChildFileContentError = HeadAgentChildFileContentErrors[keyof HeadAgentChildFileContentErrors];
|
|
12366
|
+
export type HeadAgentChildFileContentResponses = {
|
|
12367
|
+
/**
|
|
12368
|
+
* File content headers
|
|
12369
|
+
*/
|
|
12370
|
+
200: unknown;
|
|
12371
|
+
/**
|
|
12372
|
+
* Partial file content headers
|
|
12373
|
+
*/
|
|
12374
|
+
206: unknown;
|
|
12375
|
+
};
|
|
12376
|
+
export type MoveAgentThreadToCloudData = {
|
|
12377
|
+
body?: never;
|
|
12378
|
+
path: {
|
|
12379
|
+
threadId: string;
|
|
12380
|
+
};
|
|
12381
|
+
query?: never;
|
|
12382
|
+
url: "/api/agent-threads/{threadId}/computer";
|
|
12383
|
+
};
|
|
12384
|
+
export type MoveAgentThreadToCloudErrors = {
|
|
12385
|
+
/**
|
|
12386
|
+
* Response for status 400
|
|
12387
|
+
*/
|
|
12388
|
+
400: {
|
|
12389
|
+
error: string;
|
|
12390
|
+
code?: string;
|
|
12391
|
+
};
|
|
12392
|
+
/**
|
|
12393
|
+
* Response for status 403
|
|
12394
|
+
*/
|
|
12395
|
+
403: {
|
|
12396
|
+
error: string;
|
|
12397
|
+
code?: string;
|
|
12398
|
+
};
|
|
12399
|
+
/**
|
|
12400
|
+
* Response for status 404
|
|
12401
|
+
*/
|
|
12402
|
+
404: {
|
|
12403
|
+
error: string;
|
|
12404
|
+
code?: string;
|
|
12405
|
+
};
|
|
12406
|
+
/**
|
|
12407
|
+
* Response for status 409
|
|
12408
|
+
*/
|
|
12409
|
+
409: {
|
|
12410
|
+
error: string;
|
|
12411
|
+
code?: string;
|
|
12412
|
+
};
|
|
12413
|
+
/**
|
|
12414
|
+
* Response for status 501
|
|
12415
|
+
*/
|
|
12416
|
+
501: {
|
|
12417
|
+
error: string;
|
|
12418
|
+
};
|
|
12419
|
+
};
|
|
12420
|
+
export type MoveAgentThreadToCloudError = MoveAgentThreadToCloudErrors[keyof MoveAgentThreadToCloudErrors];
|
|
12421
|
+
export type MoveAgentThreadToCloudResponses = {
|
|
12422
|
+
/**
|
|
12423
|
+
* Response for status 200
|
|
12424
|
+
*/
|
|
12425
|
+
200: {
|
|
12426
|
+
sandboxState?: {
|
|
12427
|
+
name: string;
|
|
12428
|
+
status: "new" | "busy" | "ready" | "blocked" | "unavailable";
|
|
12429
|
+
initialized: boolean;
|
|
12430
|
+
};
|
|
12431
|
+
id: string;
|
|
12432
|
+
projectId: string;
|
|
12433
|
+
kind: "conversation" | "subagent";
|
|
12434
|
+
parent?: {
|
|
12435
|
+
threadId: string;
|
|
12436
|
+
spawnedBy: string;
|
|
12437
|
+
key: string;
|
|
12438
|
+
};
|
|
12439
|
+
ownerPrincipal: {
|
|
12440
|
+
type: "user" | "serviceAccount" | "system";
|
|
12441
|
+
id: string;
|
|
12442
|
+
};
|
|
12443
|
+
owner: {
|
|
12444
|
+
type: "user" | "serviceAccount" | "system";
|
|
12445
|
+
id: string;
|
|
12446
|
+
displayName?: string;
|
|
12447
|
+
};
|
|
12448
|
+
participants: Array<{
|
|
12449
|
+
principal: {
|
|
12450
|
+
type: "user";
|
|
12451
|
+
id: string;
|
|
12452
|
+
displayName?: string;
|
|
12453
|
+
};
|
|
12454
|
+
addedAt: string;
|
|
12455
|
+
addedBy: {
|
|
12456
|
+
type: "user" | "serviceAccount" | "system";
|
|
12457
|
+
id: string;
|
|
12458
|
+
};
|
|
12459
|
+
}>;
|
|
12460
|
+
title?: string;
|
|
12461
|
+
sandboxParams?: {
|
|
12462
|
+
[key: string]: string | number | boolean | Array<unknown> | {
|
|
12463
|
+
[key: string]: unknown;
|
|
12464
|
+
} | null;
|
|
12465
|
+
};
|
|
12466
|
+
runsOn?: "computer";
|
|
12467
|
+
computer?: {
|
|
12468
|
+
id: string;
|
|
12469
|
+
name: string;
|
|
12470
|
+
folder: string;
|
|
12471
|
+
online: boolean;
|
|
12472
|
+
};
|
|
12473
|
+
movedAt?: string;
|
|
12474
|
+
status: "active" | "archived";
|
|
12475
|
+
activeRunId: string | null;
|
|
12476
|
+
lastMessageAt?: string;
|
|
12477
|
+
messageCount: number;
|
|
12478
|
+
createdAt: string;
|
|
12479
|
+
updatedAt: string;
|
|
12480
|
+
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
12481
|
+
approvalModeSource?: "thread" | "default" | "fallback" | "run";
|
|
12482
|
+
};
|
|
12483
|
+
};
|
|
12484
|
+
export type MoveAgentThreadToCloudResponse = MoveAgentThreadToCloudResponses[keyof MoveAgentThreadToCloudResponses];
|
|
12485
|
+
export type MoveAgentThreadToComputerData = {
|
|
12486
|
+
body: {
|
|
12487
|
+
computer: {
|
|
12488
|
+
id: string;
|
|
12489
|
+
name: string;
|
|
12490
|
+
folder: string;
|
|
12491
|
+
};
|
|
12492
|
+
};
|
|
12493
|
+
path: {
|
|
12494
|
+
threadId: string;
|
|
12495
|
+
};
|
|
12496
|
+
query?: never;
|
|
12497
|
+
url: "/api/agent-threads/{threadId}/computer";
|
|
12498
|
+
};
|
|
12499
|
+
export type MoveAgentThreadToComputerErrors = {
|
|
12500
|
+
/**
|
|
12501
|
+
* Response for status 400
|
|
12502
|
+
*/
|
|
12503
|
+
400: {
|
|
12504
|
+
error: string;
|
|
12505
|
+
code?: string;
|
|
12506
|
+
};
|
|
12507
|
+
/**
|
|
12508
|
+
* Response for status 403
|
|
12509
|
+
*/
|
|
12510
|
+
403: {
|
|
12511
|
+
error: string;
|
|
12512
|
+
code?: string;
|
|
12513
|
+
};
|
|
12514
|
+
/**
|
|
12515
|
+
* Response for status 404
|
|
12516
|
+
*/
|
|
12517
|
+
404: {
|
|
12518
|
+
error: string;
|
|
12519
|
+
code?: string;
|
|
12520
|
+
};
|
|
12521
|
+
/**
|
|
12522
|
+
* Response for status 409
|
|
12523
|
+
*/
|
|
12524
|
+
409: {
|
|
12525
|
+
error: string;
|
|
12526
|
+
code?: string;
|
|
12527
|
+
};
|
|
12528
|
+
/**
|
|
12529
|
+
* Response for status 501
|
|
12530
|
+
*/
|
|
12531
|
+
501: {
|
|
12532
|
+
error: string;
|
|
12533
|
+
};
|
|
12534
|
+
};
|
|
12535
|
+
export type MoveAgentThreadToComputerError = MoveAgentThreadToComputerErrors[keyof MoveAgentThreadToComputerErrors];
|
|
12536
|
+
export type MoveAgentThreadToComputerResponses = {
|
|
12537
|
+
/**
|
|
12538
|
+
* Response for status 200
|
|
12539
|
+
*/
|
|
12540
|
+
200: {
|
|
12541
|
+
sandboxState?: {
|
|
12542
|
+
name: string;
|
|
12543
|
+
status: "new" | "busy" | "ready" | "blocked" | "unavailable";
|
|
12544
|
+
initialized: boolean;
|
|
12545
|
+
};
|
|
12546
|
+
id: string;
|
|
12547
|
+
projectId: string;
|
|
12548
|
+
kind: "conversation" | "subagent";
|
|
12549
|
+
parent?: {
|
|
12550
|
+
threadId: string;
|
|
12551
|
+
spawnedBy: string;
|
|
12552
|
+
key: string;
|
|
12553
|
+
};
|
|
12554
|
+
ownerPrincipal: {
|
|
12555
|
+
type: "user" | "serviceAccount" | "system";
|
|
12556
|
+
id: string;
|
|
12557
|
+
};
|
|
12558
|
+
owner: {
|
|
12559
|
+
type: "user" | "serviceAccount" | "system";
|
|
12560
|
+
id: string;
|
|
12561
|
+
displayName?: string;
|
|
12562
|
+
};
|
|
12563
|
+
participants: Array<{
|
|
12564
|
+
principal: {
|
|
12565
|
+
type: "user";
|
|
12566
|
+
id: string;
|
|
12567
|
+
displayName?: string;
|
|
12568
|
+
};
|
|
12569
|
+
addedAt: string;
|
|
12570
|
+
addedBy: {
|
|
12571
|
+
type: "user" | "serviceAccount" | "system";
|
|
12572
|
+
id: string;
|
|
12573
|
+
};
|
|
12574
|
+
}>;
|
|
12575
|
+
title?: string;
|
|
12576
|
+
sandboxParams?: {
|
|
12577
|
+
[key: string]: string | number | boolean | Array<unknown> | {
|
|
12578
|
+
[key: string]: unknown;
|
|
12579
|
+
} | null;
|
|
12580
|
+
};
|
|
12581
|
+
runsOn?: "computer";
|
|
12582
|
+
computer?: {
|
|
12583
|
+
id: string;
|
|
12584
|
+
name: string;
|
|
12585
|
+
folder: string;
|
|
12586
|
+
online: boolean;
|
|
12587
|
+
};
|
|
12588
|
+
movedAt?: string;
|
|
12589
|
+
status: "active" | "archived";
|
|
12590
|
+
activeRunId: string | null;
|
|
12591
|
+
lastMessageAt?: string;
|
|
12592
|
+
messageCount: number;
|
|
12593
|
+
createdAt: string;
|
|
12594
|
+
updatedAt: string;
|
|
12595
|
+
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
12596
|
+
approvalModeSource?: "thread" | "default" | "fallback" | "run";
|
|
12597
|
+
};
|
|
12598
|
+
};
|
|
12599
|
+
export type MoveAgentThreadToComputerResponse = MoveAgentThreadToComputerResponses[keyof MoveAgentThreadToComputerResponses];
|
|
12600
|
+
export type ReleaseAgentComputerSessionData = {
|
|
11678
12601
|
body?: never;
|
|
11679
12602
|
path: {
|
|
11680
|
-
|
|
11681
|
-
};
|
|
11682
|
-
query: {
|
|
11683
|
-
path: string;
|
|
11684
|
-
disposition?: "inline" | "attachment";
|
|
11685
|
-
/**
|
|
11686
|
-
* Client cache key; the route still resolves the current file
|
|
11687
|
-
*/
|
|
11688
|
-
v?: string;
|
|
11689
|
-
run: string;
|
|
12603
|
+
sessionId: string;
|
|
11690
12604
|
};
|
|
11691
|
-
|
|
12605
|
+
query?: never;
|
|
12606
|
+
url: "/api/agent-computers/sessions/{sessionId}";
|
|
11692
12607
|
};
|
|
11693
|
-
export type
|
|
11694
|
-
/**
|
|
11695
|
-
* Response for status 400
|
|
11696
|
-
*/
|
|
11697
|
-
400: ErrorResponse;
|
|
11698
|
-
/**
|
|
11699
|
-
* Response for status 404
|
|
11700
|
-
*/
|
|
11701
|
-
404: ErrorResponse;
|
|
11702
|
-
/**
|
|
11703
|
-
* Requested byte range is not satisfiable
|
|
11704
|
-
*/
|
|
11705
|
-
416: unknown;
|
|
12608
|
+
export type ReleaseAgentComputerSessionErrors = {
|
|
11706
12609
|
/**
|
|
11707
|
-
*
|
|
12610
|
+
* Response for status 501
|
|
11708
12611
|
*/
|
|
11709
|
-
501:
|
|
12612
|
+
501: {
|
|
12613
|
+
error: string;
|
|
12614
|
+
};
|
|
11710
12615
|
};
|
|
11711
|
-
export type
|
|
11712
|
-
export type
|
|
11713
|
-
/**
|
|
11714
|
-
* File content
|
|
11715
|
-
*/
|
|
11716
|
-
200: Blob | File;
|
|
12616
|
+
export type ReleaseAgentComputerSessionError = ReleaseAgentComputerSessionErrors[keyof ReleaseAgentComputerSessionErrors];
|
|
12617
|
+
export type ReleaseAgentComputerSessionResponses = {
|
|
11717
12618
|
/**
|
|
11718
|
-
*
|
|
12619
|
+
* Response for status 204
|
|
11719
12620
|
*/
|
|
11720
|
-
|
|
12621
|
+
204: unknown;
|
|
11721
12622
|
};
|
|
11722
|
-
export type
|
|
11723
|
-
|
|
11724
|
-
|
|
11725
|
-
|
|
11726
|
-
|
|
12623
|
+
export type HoldAgentComputerSessionData = {
|
|
12624
|
+
body: {
|
|
12625
|
+
computer: {
|
|
12626
|
+
id: string;
|
|
12627
|
+
name: string;
|
|
12628
|
+
folder: string;
|
|
12629
|
+
};
|
|
11727
12630
|
};
|
|
11728
|
-
|
|
11729
|
-
|
|
11730
|
-
disposition?: "inline" | "attachment";
|
|
11731
|
-
/**
|
|
11732
|
-
* Client cache key; the route still resolves the current file
|
|
11733
|
-
*/
|
|
11734
|
-
v?: string;
|
|
11735
|
-
run: string;
|
|
12631
|
+
path: {
|
|
12632
|
+
sessionId: string;
|
|
11736
12633
|
};
|
|
11737
|
-
|
|
12634
|
+
query?: never;
|
|
12635
|
+
url: "/api/agent-computers/sessions/{sessionId}";
|
|
11738
12636
|
};
|
|
11739
|
-
export type
|
|
12637
|
+
export type HoldAgentComputerSessionErrors = {
|
|
11740
12638
|
/**
|
|
11741
12639
|
* Response for status 400
|
|
11742
12640
|
*/
|
|
11743
|
-
400:
|
|
11744
|
-
|
|
11745
|
-
|
|
11746
|
-
|
|
11747
|
-
404: ErrorResponse;
|
|
12641
|
+
400: {
|
|
12642
|
+
error: string;
|
|
12643
|
+
code?: string;
|
|
12644
|
+
};
|
|
11748
12645
|
/**
|
|
11749
|
-
*
|
|
12646
|
+
* Response for status 429
|
|
11750
12647
|
*/
|
|
11751
|
-
|
|
12648
|
+
429: {
|
|
12649
|
+
error: string;
|
|
12650
|
+
};
|
|
11752
12651
|
/**
|
|
11753
|
-
*
|
|
12652
|
+
* Response for status 501
|
|
11754
12653
|
*/
|
|
11755
|
-
501:
|
|
12654
|
+
501: {
|
|
12655
|
+
error: string;
|
|
12656
|
+
};
|
|
11756
12657
|
};
|
|
11757
|
-
export type
|
|
11758
|
-
export type
|
|
11759
|
-
/**
|
|
11760
|
-
* File content headers
|
|
11761
|
-
*/
|
|
11762
|
-
200: unknown;
|
|
12658
|
+
export type HoldAgentComputerSessionError = HoldAgentComputerSessionErrors[keyof HoldAgentComputerSessionErrors];
|
|
12659
|
+
export type HoldAgentComputerSessionResponses = {
|
|
11763
12660
|
/**
|
|
11764
|
-
*
|
|
12661
|
+
* Response for status 200
|
|
11765
12662
|
*/
|
|
11766
|
-
|
|
12663
|
+
200: {
|
|
12664
|
+
expiresAt: string;
|
|
12665
|
+
waiting: Array<string>;
|
|
12666
|
+
};
|
|
11767
12667
|
};
|
|
12668
|
+
export type HoldAgentComputerSessionResponse = HoldAgentComputerSessionResponses[keyof HoldAgentComputerSessionResponses];
|
|
11768
12669
|
export type GetAgentPreferencesData = {
|
|
11769
12670
|
body?: never;
|
|
11770
12671
|
path?: never;
|
|
@@ -11923,6 +12824,14 @@ export type SetAgentThreadApprovalModeResponses = {
|
|
|
11923
12824
|
[key: string]: unknown;
|
|
11924
12825
|
} | null;
|
|
11925
12826
|
};
|
|
12827
|
+
runsOn?: "computer";
|
|
12828
|
+
computer?: {
|
|
12829
|
+
id: string;
|
|
12830
|
+
name: string;
|
|
12831
|
+
folder: string;
|
|
12832
|
+
online: boolean;
|
|
12833
|
+
};
|
|
12834
|
+
movedAt?: string;
|
|
11926
12835
|
status: "active" | "archived";
|
|
11927
12836
|
activeRunId: string | null;
|
|
11928
12837
|
lastMessageAt?: string;
|
|
@@ -12047,7 +12956,7 @@ export type ListAgentThreadApprovalsResponses = {
|
|
|
12047
12956
|
} | {
|
|
12048
12957
|
kind: "error";
|
|
12049
12958
|
error: {
|
|
12050
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
12959
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
12051
12960
|
message: string;
|
|
12052
12961
|
retryable: boolean;
|
|
12053
12962
|
at: string;
|
|
@@ -12196,7 +13105,7 @@ export type DecideAgentApprovalResponses = {
|
|
|
12196
13105
|
} | {
|
|
12197
13106
|
kind: "error";
|
|
12198
13107
|
error: {
|
|
12199
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
13108
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
12200
13109
|
message: string;
|
|
12201
13110
|
retryable: boolean;
|
|
12202
13111
|
at: string;
|
|
@@ -12234,6 +13143,7 @@ export type DecideAgentApprovalResponses = {
|
|
|
12234
13143
|
budgetTokens: number;
|
|
12235
13144
|
};
|
|
12236
13145
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
13146
|
+
runsOn?: "computer";
|
|
12237
13147
|
modelId?: string;
|
|
12238
13148
|
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
12239
13149
|
usage?: {
|
|
@@ -12283,7 +13193,7 @@ export type DecideAgentApprovalResponses = {
|
|
|
12283
13193
|
message: string;
|
|
12284
13194
|
}>;
|
|
12285
13195
|
error?: {
|
|
12286
|
-
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
13196
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
12287
13197
|
message: string;
|
|
12288
13198
|
retryable: boolean;
|
|
12289
13199
|
at: string;
|
|
@@ -12416,7 +13326,7 @@ export type ListAgentApprovalsResponses = {
|
|
|
12416
13326
|
} | {
|
|
12417
13327
|
kind: "error";
|
|
12418
13328
|
error: {
|
|
12419
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
13329
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
12420
13330
|
message: string;
|
|
12421
13331
|
retryable: boolean;
|
|
12422
13332
|
at: string;
|
|
@@ -12518,6 +13428,14 @@ export type GetObservedAgentThreadResponses = {
|
|
|
12518
13428
|
[key: string]: unknown;
|
|
12519
13429
|
} | null;
|
|
12520
13430
|
};
|
|
13431
|
+
runsOn?: "computer";
|
|
13432
|
+
computer?: {
|
|
13433
|
+
id: string;
|
|
13434
|
+
name: string;
|
|
13435
|
+
folder: string;
|
|
13436
|
+
online: boolean;
|
|
13437
|
+
};
|
|
13438
|
+
movedAt?: string;
|
|
12521
13439
|
status: "active" | "archived";
|
|
12522
13440
|
activeRunId: string | null;
|
|
12523
13441
|
lastMessageAt?: string;
|
|
@@ -12639,7 +13557,7 @@ export type ListObservedAgentThreadMessagesResponses = {
|
|
|
12639
13557
|
} | {
|
|
12640
13558
|
kind: "error";
|
|
12641
13559
|
error: {
|
|
12642
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
13560
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
12643
13561
|
message: string;
|
|
12644
13562
|
retryable: boolean;
|
|
12645
13563
|
at: string;
|
|
@@ -12745,6 +13663,17 @@ export type ListObservedAgentThreadMessagesResponses = {
|
|
|
12745
13663
|
output: string | number | boolean | Array<unknown> | {
|
|
12746
13664
|
[key: string]: unknown;
|
|
12747
13665
|
} | null;
|
|
13666
|
+
outputFile?: {
|
|
13667
|
+
fileRef: {
|
|
13668
|
+
blobId: string;
|
|
13669
|
+
digest: string;
|
|
13670
|
+
sizeBytes: number;
|
|
13671
|
+
fileName?: string;
|
|
13672
|
+
mediaType?: string;
|
|
13673
|
+
logicalPath?: string;
|
|
13674
|
+
};
|
|
13675
|
+
path: string;
|
|
13676
|
+
};
|
|
12748
13677
|
} | {
|
|
12749
13678
|
type: "tool-call";
|
|
12750
13679
|
toolCallId: string;
|
|
@@ -12782,6 +13711,10 @@ export type ListObservedAgentThreadMessagesResponses = {
|
|
|
12782
13711
|
}>;
|
|
12783
13712
|
compaction?: {
|
|
12784
13713
|
checkpointId: string;
|
|
13714
|
+
/**
|
|
13715
|
+
* `threshold`: the conversation reached its model's limit, or came back large after its cache expired. `overflow`: the provider refused a request as too long, and the turn went on condensed.
|
|
13716
|
+
*/
|
|
13717
|
+
reason: "threshold" | "overflow";
|
|
12785
13718
|
summary: string;
|
|
12786
13719
|
createdAt: string;
|
|
12787
13720
|
};
|
|
@@ -12917,6 +13850,7 @@ export type ListObservedAgentThreadRunsResponses = {
|
|
|
12917
13850
|
budgetTokens: number;
|
|
12918
13851
|
};
|
|
12919
13852
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
13853
|
+
runsOn?: "computer";
|
|
12920
13854
|
modelId?: string;
|
|
12921
13855
|
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
12922
13856
|
usage?: {
|
|
@@ -12966,7 +13900,7 @@ export type ListObservedAgentThreadRunsResponses = {
|
|
|
12966
13900
|
message: string;
|
|
12967
13901
|
}>;
|
|
12968
13902
|
error?: {
|
|
12969
|
-
code: "internal.unexpected" | "runtime.cancelled" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
13903
|
+
code: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
12970
13904
|
message: string;
|
|
12971
13905
|
retryable: boolean;
|
|
12972
13906
|
at: string;
|
|
@@ -13416,7 +14350,7 @@ export type ListArtifactsErrors = {
|
|
|
13416
14350
|
400: {
|
|
13417
14351
|
error: string;
|
|
13418
14352
|
/**
|
|
13419
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14353
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13420
14354
|
*/
|
|
13421
14355
|
code?: string;
|
|
13422
14356
|
/**
|
|
@@ -13436,7 +14370,7 @@ export type ListArtifactsErrors = {
|
|
|
13436
14370
|
501: {
|
|
13437
14371
|
error: string;
|
|
13438
14372
|
/**
|
|
13439
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14373
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13440
14374
|
*/
|
|
13441
14375
|
code?: string;
|
|
13442
14376
|
/**
|
|
@@ -13508,7 +14442,7 @@ export type CreateArtifactErrors = {
|
|
|
13508
14442
|
400: {
|
|
13509
14443
|
error: string;
|
|
13510
14444
|
/**
|
|
13511
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14445
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13512
14446
|
*/
|
|
13513
14447
|
code?: string;
|
|
13514
14448
|
/**
|
|
@@ -13528,7 +14462,7 @@ export type CreateArtifactErrors = {
|
|
|
13528
14462
|
403: {
|
|
13529
14463
|
error: string;
|
|
13530
14464
|
/**
|
|
13531
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14465
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13532
14466
|
*/
|
|
13533
14467
|
code?: string;
|
|
13534
14468
|
/**
|
|
@@ -13548,7 +14482,7 @@ export type CreateArtifactErrors = {
|
|
|
13548
14482
|
404: {
|
|
13549
14483
|
error: string;
|
|
13550
14484
|
/**
|
|
13551
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14485
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13552
14486
|
*/
|
|
13553
14487
|
code?: string;
|
|
13554
14488
|
/**
|
|
@@ -13568,7 +14502,7 @@ export type CreateArtifactErrors = {
|
|
|
13568
14502
|
409: {
|
|
13569
14503
|
error: string;
|
|
13570
14504
|
/**
|
|
13571
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14505
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13572
14506
|
*/
|
|
13573
14507
|
code?: string;
|
|
13574
14508
|
/**
|
|
@@ -13588,7 +14522,7 @@ export type CreateArtifactErrors = {
|
|
|
13588
14522
|
501: {
|
|
13589
14523
|
error: string;
|
|
13590
14524
|
/**
|
|
13591
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14525
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13592
14526
|
*/
|
|
13593
14527
|
code?: string;
|
|
13594
14528
|
/**
|
|
@@ -13728,7 +14662,7 @@ export type DeleteArtifactErrors = {
|
|
|
13728
14662
|
403: {
|
|
13729
14663
|
error: string;
|
|
13730
14664
|
/**
|
|
13731
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14665
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13732
14666
|
*/
|
|
13733
14667
|
code?: string;
|
|
13734
14668
|
/**
|
|
@@ -13748,7 +14682,7 @@ export type DeleteArtifactErrors = {
|
|
|
13748
14682
|
404: {
|
|
13749
14683
|
error: string;
|
|
13750
14684
|
/**
|
|
13751
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14685
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13752
14686
|
*/
|
|
13753
14687
|
code?: string;
|
|
13754
14688
|
/**
|
|
@@ -13768,7 +14702,7 @@ export type DeleteArtifactErrors = {
|
|
|
13768
14702
|
501: {
|
|
13769
14703
|
error: string;
|
|
13770
14704
|
/**
|
|
13771
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14705
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13772
14706
|
*/
|
|
13773
14707
|
code?: string;
|
|
13774
14708
|
/**
|
|
@@ -13808,7 +14742,7 @@ export type GetArtifactErrors = {
|
|
|
13808
14742
|
403: {
|
|
13809
14743
|
error: string;
|
|
13810
14744
|
/**
|
|
13811
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14745
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13812
14746
|
*/
|
|
13813
14747
|
code?: string;
|
|
13814
14748
|
/**
|
|
@@ -13828,7 +14762,7 @@ export type GetArtifactErrors = {
|
|
|
13828
14762
|
404: {
|
|
13829
14763
|
error: string;
|
|
13830
14764
|
/**
|
|
13831
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14765
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13832
14766
|
*/
|
|
13833
14767
|
code?: string;
|
|
13834
14768
|
/**
|
|
@@ -13848,7 +14782,7 @@ export type GetArtifactErrors = {
|
|
|
13848
14782
|
501: {
|
|
13849
14783
|
error: string;
|
|
13850
14784
|
/**
|
|
13851
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14785
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13852
14786
|
*/
|
|
13853
14787
|
code?: string;
|
|
13854
14788
|
/**
|
|
@@ -13920,7 +14854,7 @@ export type ClearArtifactStateErrors = {
|
|
|
13920
14854
|
403: {
|
|
13921
14855
|
error: string;
|
|
13922
14856
|
/**
|
|
13923
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14857
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13924
14858
|
*/
|
|
13925
14859
|
code?: string;
|
|
13926
14860
|
/**
|
|
@@ -13940,7 +14874,7 @@ export type ClearArtifactStateErrors = {
|
|
|
13940
14874
|
404: {
|
|
13941
14875
|
error: string;
|
|
13942
14876
|
/**
|
|
13943
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14877
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13944
14878
|
*/
|
|
13945
14879
|
code?: string;
|
|
13946
14880
|
/**
|
|
@@ -13960,7 +14894,7 @@ export type ClearArtifactStateErrors = {
|
|
|
13960
14894
|
501: {
|
|
13961
14895
|
error: string;
|
|
13962
14896
|
/**
|
|
13963
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14897
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
13964
14898
|
*/
|
|
13965
14899
|
code?: string;
|
|
13966
14900
|
/**
|
|
@@ -14003,7 +14937,7 @@ export type GetArtifactStateErrors = {
|
|
|
14003
14937
|
403: {
|
|
14004
14938
|
error: string;
|
|
14005
14939
|
/**
|
|
14006
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14940
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14007
14941
|
*/
|
|
14008
14942
|
code?: string;
|
|
14009
14943
|
/**
|
|
@@ -14023,7 +14957,7 @@ export type GetArtifactStateErrors = {
|
|
|
14023
14957
|
404: {
|
|
14024
14958
|
error: string;
|
|
14025
14959
|
/**
|
|
14026
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14960
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14027
14961
|
*/
|
|
14028
14962
|
code?: string;
|
|
14029
14963
|
/**
|
|
@@ -14043,7 +14977,7 @@ export type GetArtifactStateErrors = {
|
|
|
14043
14977
|
501: {
|
|
14044
14978
|
error: string;
|
|
14045
14979
|
/**
|
|
14046
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
14980
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14047
14981
|
*/
|
|
14048
14982
|
code?: string;
|
|
14049
14983
|
/**
|
|
@@ -14097,7 +15031,7 @@ export type DeleteArtifactStateValueErrors = {
|
|
|
14097
15031
|
400: {
|
|
14098
15032
|
error: string;
|
|
14099
15033
|
/**
|
|
14100
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15034
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14101
15035
|
*/
|
|
14102
15036
|
code?: string;
|
|
14103
15037
|
/**
|
|
@@ -14117,7 +15051,7 @@ export type DeleteArtifactStateValueErrors = {
|
|
|
14117
15051
|
403: {
|
|
14118
15052
|
error: string;
|
|
14119
15053
|
/**
|
|
14120
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15054
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14121
15055
|
*/
|
|
14122
15056
|
code?: string;
|
|
14123
15057
|
/**
|
|
@@ -14137,7 +15071,7 @@ export type DeleteArtifactStateValueErrors = {
|
|
|
14137
15071
|
404: {
|
|
14138
15072
|
error: string;
|
|
14139
15073
|
/**
|
|
14140
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15074
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14141
15075
|
*/
|
|
14142
15076
|
code?: string;
|
|
14143
15077
|
/**
|
|
@@ -14157,7 +15091,7 @@ export type DeleteArtifactStateValueErrors = {
|
|
|
14157
15091
|
501: {
|
|
14158
15092
|
error: string;
|
|
14159
15093
|
/**
|
|
14160
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15094
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14161
15095
|
*/
|
|
14162
15096
|
code?: string;
|
|
14163
15097
|
/**
|
|
@@ -14206,7 +15140,7 @@ export type SetArtifactStateErrors = {
|
|
|
14206
15140
|
400: {
|
|
14207
15141
|
error: string;
|
|
14208
15142
|
/**
|
|
14209
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15143
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14210
15144
|
*/
|
|
14211
15145
|
code?: string;
|
|
14212
15146
|
/**
|
|
@@ -14226,7 +15160,7 @@ export type SetArtifactStateErrors = {
|
|
|
14226
15160
|
403: {
|
|
14227
15161
|
error: string;
|
|
14228
15162
|
/**
|
|
14229
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15163
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14230
15164
|
*/
|
|
14231
15165
|
code?: string;
|
|
14232
15166
|
/**
|
|
@@ -14246,7 +15180,7 @@ export type SetArtifactStateErrors = {
|
|
|
14246
15180
|
404: {
|
|
14247
15181
|
error: string;
|
|
14248
15182
|
/**
|
|
14249
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15183
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14250
15184
|
*/
|
|
14251
15185
|
code?: string;
|
|
14252
15186
|
/**
|
|
@@ -14266,7 +15200,7 @@ export type SetArtifactStateErrors = {
|
|
|
14266
15200
|
413: {
|
|
14267
15201
|
error: string;
|
|
14268
15202
|
/**
|
|
14269
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15203
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14270
15204
|
*/
|
|
14271
15205
|
code?: string;
|
|
14272
15206
|
/**
|
|
@@ -14286,7 +15220,7 @@ export type SetArtifactStateErrors = {
|
|
|
14286
15220
|
501: {
|
|
14287
15221
|
error: string;
|
|
14288
15222
|
/**
|
|
14289
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15223
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14290
15224
|
*/
|
|
14291
15225
|
code?: string;
|
|
14292
15226
|
/**
|
|
@@ -14355,7 +15289,7 @@ export type PublishArtifactVersionErrors = {
|
|
|
14355
15289
|
400: {
|
|
14356
15290
|
error: string;
|
|
14357
15291
|
/**
|
|
14358
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15292
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14359
15293
|
*/
|
|
14360
15294
|
code?: string;
|
|
14361
15295
|
/**
|
|
@@ -14375,7 +15309,7 @@ export type PublishArtifactVersionErrors = {
|
|
|
14375
15309
|
403: {
|
|
14376
15310
|
error: string;
|
|
14377
15311
|
/**
|
|
14378
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15312
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14379
15313
|
*/
|
|
14380
15314
|
code?: string;
|
|
14381
15315
|
/**
|
|
@@ -14395,7 +15329,7 @@ export type PublishArtifactVersionErrors = {
|
|
|
14395
15329
|
404: {
|
|
14396
15330
|
error: string;
|
|
14397
15331
|
/**
|
|
14398
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15332
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14399
15333
|
*/
|
|
14400
15334
|
code?: string;
|
|
14401
15335
|
/**
|
|
@@ -14415,7 +15349,7 @@ export type PublishArtifactVersionErrors = {
|
|
|
14415
15349
|
409: {
|
|
14416
15350
|
error: string;
|
|
14417
15351
|
/**
|
|
14418
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15352
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14419
15353
|
*/
|
|
14420
15354
|
code?: string;
|
|
14421
15355
|
/**
|
|
@@ -14435,7 +15369,7 @@ export type PublishArtifactVersionErrors = {
|
|
|
14435
15369
|
501: {
|
|
14436
15370
|
error: string;
|
|
14437
15371
|
/**
|
|
14438
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15372
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14439
15373
|
*/
|
|
14440
15374
|
code?: string;
|
|
14441
15375
|
/**
|
|
@@ -14579,7 +15513,7 @@ export type CreateArtifactFrameErrors = {
|
|
|
14579
15513
|
403: {
|
|
14580
15514
|
error: string;
|
|
14581
15515
|
/**
|
|
14582
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15516
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14583
15517
|
*/
|
|
14584
15518
|
code?: string;
|
|
14585
15519
|
/**
|
|
@@ -14599,7 +15533,7 @@ export type CreateArtifactFrameErrors = {
|
|
|
14599
15533
|
404: {
|
|
14600
15534
|
error: string;
|
|
14601
15535
|
/**
|
|
14602
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15536
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14603
15537
|
*/
|
|
14604
15538
|
code?: string;
|
|
14605
15539
|
/**
|
|
@@ -14619,7 +15553,7 @@ export type CreateArtifactFrameErrors = {
|
|
|
14619
15553
|
409: {
|
|
14620
15554
|
error: string;
|
|
14621
15555
|
/**
|
|
14622
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15556
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14623
15557
|
*/
|
|
14624
15558
|
code?: string;
|
|
14625
15559
|
/**
|
|
@@ -14639,7 +15573,7 @@ export type CreateArtifactFrameErrors = {
|
|
|
14639
15573
|
501: {
|
|
14640
15574
|
error: string;
|
|
14641
15575
|
/**
|
|
14642
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15576
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14643
15577
|
*/
|
|
14644
15578
|
code?: string;
|
|
14645
15579
|
/**
|
|
@@ -14690,7 +15624,7 @@ export type GetArtifactVersionErrors = {
|
|
|
14690
15624
|
403: {
|
|
14691
15625
|
error: string;
|
|
14692
15626
|
/**
|
|
14693
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15627
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14694
15628
|
*/
|
|
14695
15629
|
code?: string;
|
|
14696
15630
|
/**
|
|
@@ -14710,7 +15644,7 @@ export type GetArtifactVersionErrors = {
|
|
|
14710
15644
|
404: {
|
|
14711
15645
|
error: string;
|
|
14712
15646
|
/**
|
|
14713
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15647
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14714
15648
|
*/
|
|
14715
15649
|
code?: string;
|
|
14716
15650
|
/**
|
|
@@ -14730,7 +15664,7 @@ export type GetArtifactVersionErrors = {
|
|
|
14730
15664
|
501: {
|
|
14731
15665
|
error: string;
|
|
14732
15666
|
/**
|
|
14733
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), or storage_unavailable.
|
|
15667
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, invalid_artifact, invalid_state, state_full, not_allowed, not_shared (it exists but no conversation you read shares it), read_only (you observe the conversation that shares it), query_not_found, query_invalid (the ontology no longer admits the query), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
14734
15668
|
*/
|
|
14735
15669
|
code?: string;
|
|
14736
15670
|
/**
|
|
@@ -15466,7 +16400,7 @@ export type ListModelsResponses = {
|
|
|
15466
16400
|
};
|
|
15467
16401
|
};
|
|
15468
16402
|
export type ListModelsResponse = ListModelsResponses[keyof ListModelsResponses];
|
|
15469
|
-
export type
|
|
16403
|
+
export type GetObjectLinkLineageData = {
|
|
15470
16404
|
body?: never;
|
|
15471
16405
|
path: {
|
|
15472
16406
|
objectTypeId: string;
|
|
@@ -15477,21 +16411,15 @@ export type RemoveObjectLinkData = {
|
|
|
15477
16411
|
targetTypeId: string;
|
|
15478
16412
|
targetId: string;
|
|
15479
16413
|
};
|
|
15480
|
-
url: "/api/objects/{objectTypeId}/{objectId}/links/{linkId}";
|
|
16414
|
+
url: "/api/objects/{objectTypeId}/{objectId}/links/{linkId}/lineage";
|
|
15481
16415
|
};
|
|
15482
|
-
export type
|
|
16416
|
+
export type GetObjectLinkLineageErrors = {
|
|
15483
16417
|
/**
|
|
15484
16418
|
* Response for status 400
|
|
15485
16419
|
*/
|
|
15486
16420
|
400: {
|
|
15487
16421
|
error: string;
|
|
15488
16422
|
};
|
|
15489
|
-
/**
|
|
15490
|
-
* Response for status 403
|
|
15491
|
-
*/
|
|
15492
|
-
403: {
|
|
15493
|
-
error: string;
|
|
15494
|
-
};
|
|
15495
16423
|
/**
|
|
15496
16424
|
* Response for status 404
|
|
15497
16425
|
*/
|
|
@@ -15499,106 +16427,136 @@ export type RemoveObjectLinkErrors = {
|
|
|
15499
16427
|
error: string;
|
|
15500
16428
|
};
|
|
15501
16429
|
};
|
|
15502
|
-
export type
|
|
15503
|
-
export type
|
|
16430
|
+
export type GetObjectLinkLineageError = GetObjectLinkLineageErrors[keyof GetObjectLinkLineageErrors];
|
|
16431
|
+
export type GetObjectLinkLineageResponses = {
|
|
15504
16432
|
/**
|
|
15505
16433
|
* Response for status 200
|
|
15506
16434
|
*/
|
|
15507
16435
|
200: {
|
|
15508
|
-
|
|
15509
|
-
|
|
15510
|
-
|
|
15511
|
-
export type RemoveObjectLinkResponse = RemoveObjectLinkResponses[keyof RemoveObjectLinkResponses];
|
|
15512
|
-
export type UpsertObjectLinkData = {
|
|
15513
|
-
body: {
|
|
16436
|
+
sourceTypeId: string;
|
|
16437
|
+
sourceId: string;
|
|
16438
|
+
linkId: string;
|
|
15514
16439
|
targetTypeId: string;
|
|
15515
16440
|
targetId: string;
|
|
15516
|
-
|
|
15517
|
-
|
|
16441
|
+
existence: {
|
|
16442
|
+
source: string;
|
|
16443
|
+
columns?: Array<string>;
|
|
16444
|
+
origins?: Array<{
|
|
16445
|
+
datasetId: string;
|
|
16446
|
+
column: string;
|
|
16447
|
+
}>;
|
|
15518
16448
|
};
|
|
15519
|
-
|
|
15520
|
-
|
|
15521
|
-
|
|
15522
|
-
|
|
15523
|
-
|
|
15524
|
-
|
|
15525
|
-
|
|
15526
|
-
|
|
15527
|
-
|
|
15528
|
-
|
|
15529
|
-
|
|
15530
|
-
|
|
15531
|
-
|
|
15532
|
-
|
|
15533
|
-
|
|
15534
|
-
|
|
15535
|
-
|
|
15536
|
-
|
|
15537
|
-
|
|
15538
|
-
|
|
15539
|
-
|
|
15540
|
-
|
|
15541
|
-
|
|
15542
|
-
|
|
15543
|
-
|
|
15544
|
-
|
|
15545
|
-
|
|
15546
|
-
|
|
15547
|
-
|
|
15548
|
-
|
|
15549
|
-
|
|
15550
|
-
|
|
15551
|
-
|
|
15552
|
-
|
|
15553
|
-
|
|
15554
|
-
|
|
15555
|
-
|
|
15556
|
-
|
|
15557
|
-
|
|
15558
|
-
|
|
15559
|
-
|
|
15560
|
-
|
|
15561
|
-
|
|
15562
|
-
|
|
15563
|
-
|
|
15564
|
-
|
|
15565
|
-
|
|
15566
|
-
|
|
15567
|
-
|
|
15568
|
-
|
|
15569
|
-
|
|
15570
|
-
|
|
15571
|
-
|
|
15572
|
-
|
|
15573
|
-
|
|
15574
|
-
|
|
15575
|
-
|
|
15576
|
-
|
|
15577
|
-
|
|
15578
|
-
|
|
15579
|
-
|
|
15580
|
-
|
|
15581
|
-
|
|
15582
|
-
|
|
15583
|
-
|
|
15584
|
-
|
|
15585
|
-
|
|
15586
|
-
|
|
15587
|
-
|
|
15588
|
-
|
|
15589
|
-
|
|
15590
|
-
|
|
15591
|
-
|
|
15592
|
-
|
|
15593
|
-
|
|
15594
|
-
|
|
15595
|
-
|
|
15596
|
-
|
|
15597
|
-
|
|
15598
|
-
|
|
16449
|
+
/**
|
|
16450
|
+
* Keyed `projection:<id>`, `commit:<id>`, `commit@<instant>` when the commit is unknown, `telemetry:<commitId>` and `identity`.
|
|
16451
|
+
*/
|
|
16452
|
+
sources: {
|
|
16453
|
+
[key: string]: {
|
|
16454
|
+
kind: "projection";
|
|
16455
|
+
projectionId: string;
|
|
16456
|
+
/**
|
|
16457
|
+
* Absent for a caller who cannot view the projection's runs.
|
|
16458
|
+
*/
|
|
16459
|
+
projectionRunId?: string;
|
|
16460
|
+
/**
|
|
16461
|
+
* The dataset version applied. Absent for a caller who cannot view the dataset.
|
|
16462
|
+
*/
|
|
16463
|
+
datasetVersion?: {
|
|
16464
|
+
datasetId: string;
|
|
16465
|
+
versionId: string;
|
|
16466
|
+
};
|
|
16467
|
+
/**
|
|
16468
|
+
* Upstream columns that decide which rows the version holds, which every value depends on. Absent when the version records no lineage or the caller cannot view it.
|
|
16469
|
+
*/
|
|
16470
|
+
rowOrigins?: Array<{
|
|
16471
|
+
datasetId: string;
|
|
16472
|
+
column: string;
|
|
16473
|
+
}>;
|
|
16474
|
+
} | {
|
|
16475
|
+
kind: "edit";
|
|
16476
|
+
/**
|
|
16477
|
+
* Null when the commits made at that instant cannot be told apart.
|
|
16478
|
+
*/
|
|
16479
|
+
commitId: string | null;
|
|
16480
|
+
committedAt: string;
|
|
16481
|
+
/**
|
|
16482
|
+
* Principal on whose behalf the commit ran; absent for automatic or anonymous work.
|
|
16483
|
+
*/
|
|
16484
|
+
requestedBy?: {
|
|
16485
|
+
type: "user" | "serviceAccount";
|
|
16486
|
+
id: string;
|
|
16487
|
+
};
|
|
16488
|
+
executor?: {
|
|
16489
|
+
type: "request";
|
|
16490
|
+
requestId: string;
|
|
16491
|
+
} | {
|
|
16492
|
+
type: "primitive";
|
|
16493
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
16494
|
+
id: string;
|
|
16495
|
+
runId: string;
|
|
16496
|
+
} | {
|
|
16497
|
+
type: "agent";
|
|
16498
|
+
runId: string;
|
|
16499
|
+
} | {
|
|
16500
|
+
type: "kernel";
|
|
16501
|
+
operation: {
|
|
16502
|
+
type: "ontology.recover";
|
|
16503
|
+
recoveryId: string;
|
|
16504
|
+
} | {
|
|
16505
|
+
type: "ontology.indexVectors";
|
|
16506
|
+
indexingId: string;
|
|
16507
|
+
};
|
|
16508
|
+
};
|
|
16509
|
+
/**
|
|
16510
|
+
* Absent for a direct write, and for an Action run the caller cannot view.
|
|
16511
|
+
*/
|
|
16512
|
+
action?: {
|
|
16513
|
+
actionId: string;
|
|
16514
|
+
runId: string;
|
|
16515
|
+
};
|
|
16516
|
+
} | {
|
|
16517
|
+
kind: "telemetry";
|
|
16518
|
+
commitId: string;
|
|
16519
|
+
committedAt: string;
|
|
16520
|
+
projectionId?: string;
|
|
16521
|
+
/**
|
|
16522
|
+
* Principal on whose behalf the commit ran; absent for automatic or anonymous work.
|
|
16523
|
+
*/
|
|
16524
|
+
requestedBy?: {
|
|
16525
|
+
type: "user" | "serviceAccount";
|
|
16526
|
+
id: string;
|
|
16527
|
+
};
|
|
16528
|
+
executor?: {
|
|
16529
|
+
type: "request";
|
|
16530
|
+
requestId: string;
|
|
16531
|
+
} | {
|
|
16532
|
+
type: "primitive";
|
|
16533
|
+
kind: "action" | "pipeline" | "projection" | "rule" | "sync" | "webhook" | "workflow";
|
|
16534
|
+
id: string;
|
|
16535
|
+
runId: string;
|
|
16536
|
+
} | {
|
|
16537
|
+
type: "agent";
|
|
16538
|
+
runId: string;
|
|
16539
|
+
} | {
|
|
16540
|
+
type: "kernel";
|
|
16541
|
+
operation: {
|
|
16542
|
+
type: "ontology.recover";
|
|
16543
|
+
recoveryId: string;
|
|
16544
|
+
} | {
|
|
16545
|
+
type: "ontology.indexVectors";
|
|
16546
|
+
indexingId: string;
|
|
16547
|
+
};
|
|
16548
|
+
};
|
|
16549
|
+
} | {
|
|
16550
|
+
kind: "identity";
|
|
16551
|
+
};
|
|
16552
|
+
};
|
|
16553
|
+
/**
|
|
16554
|
+
* Steps left out because the caller cannot view them.
|
|
16555
|
+
*/
|
|
16556
|
+
restricted: number;
|
|
15599
16557
|
};
|
|
15600
16558
|
};
|
|
15601
|
-
export type
|
|
16559
|
+
export type GetObjectLinkLineageResponse = GetObjectLinkLineageResponses[keyof GetObjectLinkLineageResponses];
|
|
15602
16560
|
export type GetBulkTelemetryHistoryData = {
|
|
15603
16561
|
body: {
|
|
15604
16562
|
series: Array<{
|
|
@@ -17104,6 +18062,7 @@ export type ListUsersData = {
|
|
|
17104
18062
|
search?: string;
|
|
17105
18063
|
limit?: number;
|
|
17106
18064
|
offset?: number;
|
|
18065
|
+
email?: string;
|
|
17107
18066
|
};
|
|
17108
18067
|
url: "/api/users";
|
|
17109
18068
|
};
|
|
@@ -17200,6 +18159,9 @@ export type ListProjectionsResponses = {
|
|
|
17200
18159
|
properties: {
|
|
17201
18160
|
[key: string]: string;
|
|
17202
18161
|
};
|
|
18162
|
+
users?: {
|
|
18163
|
+
[key: string]: "email";
|
|
18164
|
+
};
|
|
17203
18165
|
links: {
|
|
17204
18166
|
[key: string]: {
|
|
17205
18167
|
linkId: string;
|
|
@@ -17682,6 +18644,9 @@ export type GetProjectionResponses = {
|
|
|
17682
18644
|
properties: {
|
|
17683
18645
|
[key: string]: string;
|
|
17684
18646
|
};
|
|
18647
|
+
users?: {
|
|
18648
|
+
[key: string]: "email";
|
|
18649
|
+
};
|
|
17685
18650
|
links: {
|
|
17686
18651
|
[key: string]: {
|
|
17687
18652
|
linkId: string;
|