@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
|
@@ -54,6 +54,10 @@ export type ObjectQueryIssue = {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
export type ObjectQueryPlanSummary = {
|
|
57
|
+
/**
|
|
58
|
+
* Every object type the query reads: where it starts, and what it traverses or expands
|
|
59
|
+
*/
|
|
60
|
+
readObjectTypeIds?: Array<string>
|
|
57
61
|
mode: "pushdown" | "fallback" | "pipeline" | "rejected"
|
|
58
62
|
providerIssues: Array<ObjectQueryIssue>
|
|
59
63
|
fallbackIssues: Array<ObjectQueryIssue>
|
|
@@ -101,7 +105,7 @@ export type ObjectQueryFacetsResponse = {
|
|
|
101
105
|
export type ArtifactErrorResponse = {
|
|
102
106
|
error: string
|
|
103
107
|
/**
|
|
104
|
-
* 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.
|
|
108
|
+
* 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.
|
|
105
109
|
*/
|
|
106
110
|
code?: string
|
|
107
111
|
/**
|
|
@@ -470,7 +474,9 @@ export type AgentChild = {
|
|
|
470
474
|
code:
|
|
471
475
|
| "internal.unexpected"
|
|
472
476
|
| "runtime.cancelled"
|
|
477
|
+
| "agent.context_limit_exceeded"
|
|
473
478
|
| "agent.execution_failed"
|
|
479
|
+
| "agent.step_limit_reached"
|
|
474
480
|
| "ai.usage_limit_exceeded"
|
|
475
481
|
| "ai.usage_limit_unavailable"
|
|
476
482
|
message: string
|
|
@@ -560,7 +566,9 @@ export type AgentChildRun = {
|
|
|
560
566
|
code:
|
|
561
567
|
| "internal.unexpected"
|
|
562
568
|
| "runtime.cancelled"
|
|
569
|
+
| "agent.context_limit_exceeded"
|
|
563
570
|
| "agent.execution_failed"
|
|
571
|
+
| "agent.step_limit_reached"
|
|
564
572
|
| "ai.usage_limit_exceeded"
|
|
565
573
|
| "ai.usage_limit_unavailable"
|
|
566
574
|
message: string
|
|
@@ -799,6 +807,32 @@ export type GetAuthSessionResponses = {
|
|
|
799
807
|
avatarUrl?: string
|
|
800
808
|
groupIds: Array<string>
|
|
801
809
|
}
|
|
810
|
+
access: {
|
|
811
|
+
/**
|
|
812
|
+
* Members: a membership policy lets them invite, assign groups or suspend
|
|
813
|
+
*/
|
|
814
|
+
members: boolean
|
|
815
|
+
/**
|
|
816
|
+
* Service accounts: a membership policy lets them manage them
|
|
817
|
+
*/
|
|
818
|
+
serviceAccounts: boolean
|
|
819
|
+
/**
|
|
820
|
+
* Usage: they hold can.observe(agent.usage)
|
|
821
|
+
*/
|
|
822
|
+
usage: boolean
|
|
823
|
+
/**
|
|
824
|
+
* Activity: they hold can.observe(project.activity)
|
|
825
|
+
*/
|
|
826
|
+
activity: boolean
|
|
827
|
+
/**
|
|
828
|
+
* The Console: they hold can.observe(project.console)
|
|
829
|
+
*/
|
|
830
|
+
console: boolean
|
|
831
|
+
/**
|
|
832
|
+
* Console › Logs: they hold can.observe(project.logs)
|
|
833
|
+
*/
|
|
834
|
+
logs: boolean
|
|
835
|
+
}
|
|
802
836
|
session: {
|
|
803
837
|
id: string
|
|
804
838
|
expiresAt: string
|
|
@@ -2055,6 +2089,10 @@ export type ListAuthMembersResponses = {
|
|
|
2055
2089
|
suspend: boolean
|
|
2056
2090
|
reactivate: boolean
|
|
2057
2091
|
}
|
|
2092
|
+
/**
|
|
2093
|
+
* Their latest session's last request, or its sign-in; absent if they never signed in
|
|
2094
|
+
*/
|
|
2095
|
+
lastActiveAt?: string
|
|
2058
2096
|
}>
|
|
2059
2097
|
hasMore: boolean
|
|
2060
2098
|
total: number
|
|
@@ -2265,6 +2303,26 @@ export type GetAiAccountingOverviewData = {
|
|
|
2265
2303
|
to: string
|
|
2266
2304
|
providerId?: string
|
|
2267
2305
|
modelId?: string
|
|
2306
|
+
/**
|
|
2307
|
+
* 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
|
|
2308
|
+
*/
|
|
2309
|
+
person?: string
|
|
2310
|
+
/**
|
|
2311
|
+
* Calls from agent conversations and their sub-agents, actions, workflows or one as workflow:<id>, or other
|
|
2312
|
+
*/
|
|
2313
|
+
source?: string
|
|
2314
|
+
/**
|
|
2315
|
+
* Calls to one kind of model
|
|
2316
|
+
*/
|
|
2317
|
+
kind?:
|
|
2318
|
+
| "language"
|
|
2319
|
+
| "image"
|
|
2320
|
+
| "video"
|
|
2321
|
+
| "embedding"
|
|
2322
|
+
| "decision"
|
|
2323
|
+
| "transcription"
|
|
2324
|
+
| "speech"
|
|
2325
|
+
| "reranking"
|
|
2268
2326
|
bucket: "hour" | "day" | "week"
|
|
2269
2327
|
}
|
|
2270
2328
|
url: "/api/ai/accounting/overview"
|
|
@@ -2438,6 +2496,81 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
2438
2496
|
start: string
|
|
2439
2497
|
end: string
|
|
2440
2498
|
}>
|
|
2499
|
+
/**
|
|
2500
|
+
* Each model's own series, every period included
|
|
2501
|
+
*/
|
|
2502
|
+
modelSeries: Array<{
|
|
2503
|
+
providerId: string
|
|
2504
|
+
modelId: string
|
|
2505
|
+
series: Array<{
|
|
2506
|
+
modelCallCount: number
|
|
2507
|
+
/**
|
|
2508
|
+
* Sums of reported meters; unreported meters are absent. totalTokens sums available input and output counts and is a lower bound when coverage is incomplete.
|
|
2509
|
+
*/
|
|
2510
|
+
usage: {
|
|
2511
|
+
inputTokens?: number
|
|
2512
|
+
outputTokens?: number
|
|
2513
|
+
totalTokens?: number
|
|
2514
|
+
uncachedInputTokens?: number
|
|
2515
|
+
cacheReadInputTokens?: number
|
|
2516
|
+
cacheWriteInputTokens?: number
|
|
2517
|
+
textOutputTokens?: number
|
|
2518
|
+
reasoningOutputTokens?: number
|
|
2519
|
+
/**
|
|
2520
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
2521
|
+
*/
|
|
2522
|
+
audioDurationMs?: number
|
|
2523
|
+
/**
|
|
2524
|
+
* Output tokens that encode generated images, within outputTokens.
|
|
2525
|
+
*/
|
|
2526
|
+
imageOutputTokens?: number
|
|
2527
|
+
/**
|
|
2528
|
+
* Output tokens that encode generated audio, within outputTokens.
|
|
2529
|
+
*/
|
|
2530
|
+
audioOutputTokens?: number
|
|
2531
|
+
/**
|
|
2532
|
+
* Images the call returned.
|
|
2533
|
+
*/
|
|
2534
|
+
outputImages?: number
|
|
2535
|
+
/**
|
|
2536
|
+
* Input characters, counted by the provider's own billing rule.
|
|
2537
|
+
*/
|
|
2538
|
+
inputCharacters?: number
|
|
2539
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
2540
|
+
}
|
|
2541
|
+
usageCoverage: {
|
|
2542
|
+
/**
|
|
2543
|
+
* Calls reporting both inputTokens and outputTokens.
|
|
2544
|
+
*/
|
|
2545
|
+
completeCallCount: number
|
|
2546
|
+
fieldCallCounts: {
|
|
2547
|
+
inputTokens: number
|
|
2548
|
+
outputTokens: number
|
|
2549
|
+
uncachedInputTokens: number
|
|
2550
|
+
cacheReadInputTokens: number
|
|
2551
|
+
cacheWriteInputTokens: number
|
|
2552
|
+
textOutputTokens: number
|
|
2553
|
+
reasoningOutputTokens: number
|
|
2554
|
+
audioDurationMs: number
|
|
2555
|
+
imageOutputTokens: number
|
|
2556
|
+
audioOutputTokens: number
|
|
2557
|
+
outputImages: number
|
|
2558
|
+
inputCharacters: number
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
costs: {
|
|
2562
|
+
amounts: Array<{
|
|
2563
|
+
currency: string
|
|
2564
|
+
amountNanos: string
|
|
2565
|
+
}>
|
|
2566
|
+
ratedCallCount: number
|
|
2567
|
+
unpriceableCallCount: number
|
|
2568
|
+
unvaluedCallCount: number
|
|
2569
|
+
}
|
|
2570
|
+
start: string
|
|
2571
|
+
end: string
|
|
2572
|
+
}>
|
|
2573
|
+
}>
|
|
2441
2574
|
models: Array<{
|
|
2442
2575
|
modelCallCount: number
|
|
2443
2576
|
/**
|
|
@@ -2506,6 +2639,87 @@ export type GetAiAccountingOverviewResponses = {
|
|
|
2506
2639
|
providerId: string
|
|
2507
2640
|
modelId: string
|
|
2508
2641
|
}>
|
|
2642
|
+
/**
|
|
2643
|
+
* Who asked for the calls
|
|
2644
|
+
*/
|
|
2645
|
+
people: Array<{
|
|
2646
|
+
modelCallCount: number
|
|
2647
|
+
/**
|
|
2648
|
+
* Sums of reported meters; unreported meters are absent. totalTokens sums available input and output counts and is a lower bound when coverage is incomplete.
|
|
2649
|
+
*/
|
|
2650
|
+
usage: {
|
|
2651
|
+
inputTokens?: number
|
|
2652
|
+
outputTokens?: number
|
|
2653
|
+
totalTokens?: number
|
|
2654
|
+
uncachedInputTokens?: number
|
|
2655
|
+
cacheReadInputTokens?: number
|
|
2656
|
+
cacheWriteInputTokens?: number
|
|
2657
|
+
textOutputTokens?: number
|
|
2658
|
+
reasoningOutputTokens?: number
|
|
2659
|
+
/**
|
|
2660
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
2661
|
+
*/
|
|
2662
|
+
audioDurationMs?: number
|
|
2663
|
+
/**
|
|
2664
|
+
* Output tokens that encode generated images, within outputTokens.
|
|
2665
|
+
*/
|
|
2666
|
+
imageOutputTokens?: number
|
|
2667
|
+
/**
|
|
2668
|
+
* Output tokens that encode generated audio, within outputTokens.
|
|
2669
|
+
*/
|
|
2670
|
+
audioOutputTokens?: number
|
|
2671
|
+
/**
|
|
2672
|
+
* Images the call returned.
|
|
2673
|
+
*/
|
|
2674
|
+
outputImages?: number
|
|
2675
|
+
/**
|
|
2676
|
+
* Input characters, counted by the provider's own billing rule.
|
|
2677
|
+
*/
|
|
2678
|
+
inputCharacters?: number
|
|
2679
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
2680
|
+
}
|
|
2681
|
+
usageCoverage: {
|
|
2682
|
+
/**
|
|
2683
|
+
* Calls reporting both inputTokens and outputTokens.
|
|
2684
|
+
*/
|
|
2685
|
+
completeCallCount: number
|
|
2686
|
+
fieldCallCounts: {
|
|
2687
|
+
inputTokens: number
|
|
2688
|
+
outputTokens: number
|
|
2689
|
+
uncachedInputTokens: number
|
|
2690
|
+
cacheReadInputTokens: number
|
|
2691
|
+
cacheWriteInputTokens: number
|
|
2692
|
+
textOutputTokens: number
|
|
2693
|
+
reasoningOutputTokens: number
|
|
2694
|
+
audioDurationMs: number
|
|
2695
|
+
imageOutputTokens: number
|
|
2696
|
+
audioOutputTokens: number
|
|
2697
|
+
outputImages: number
|
|
2698
|
+
inputCharacters: number
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
costs: {
|
|
2702
|
+
amounts: Array<{
|
|
2703
|
+
currency: string
|
|
2704
|
+
amountNanos: string
|
|
2705
|
+
}>
|
|
2706
|
+
ratedCallCount: number
|
|
2707
|
+
unpriceableCallCount: number
|
|
2708
|
+
unvaluedCallCount: number
|
|
2709
|
+
}
|
|
2710
|
+
/**
|
|
2711
|
+
* Absent for the calls nobody asked for, such as a schedule's
|
|
2712
|
+
*/
|
|
2713
|
+
requester?: {
|
|
2714
|
+
type: "user" | "serviceAccount"
|
|
2715
|
+
id: string
|
|
2716
|
+
/**
|
|
2717
|
+
* Their name, or a service account's
|
|
2718
|
+
*/
|
|
2719
|
+
name?: string
|
|
2720
|
+
email?: string
|
|
2721
|
+
}
|
|
2722
|
+
}>
|
|
2509
2723
|
kinds: Array<{
|
|
2510
2724
|
modelCallCount: number
|
|
2511
2725
|
/**
|
|
@@ -2803,6 +3017,26 @@ export type ListAiModelCallsData = {
|
|
|
2803
3017
|
to: string
|
|
2804
3018
|
providerId?: string
|
|
2805
3019
|
modelId?: string
|
|
3020
|
+
/**
|
|
3021
|
+
* 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
|
|
3022
|
+
*/
|
|
3023
|
+
person?: string
|
|
3024
|
+
/**
|
|
3025
|
+
* Calls from agent conversations and their sub-agents, actions, workflows or one as workflow:<id>, or other
|
|
3026
|
+
*/
|
|
3027
|
+
source?: string
|
|
3028
|
+
/**
|
|
3029
|
+
* Calls to one kind of model
|
|
3030
|
+
*/
|
|
3031
|
+
kind?:
|
|
3032
|
+
| "language"
|
|
3033
|
+
| "image"
|
|
3034
|
+
| "video"
|
|
3035
|
+
| "embedding"
|
|
3036
|
+
| "decision"
|
|
3037
|
+
| "transcription"
|
|
3038
|
+
| "speech"
|
|
3039
|
+
| "reranking"
|
|
2806
3040
|
executionId?: string
|
|
2807
3041
|
valuationStatus?: "rated" | "unpriceable" | "unvalued"
|
|
2808
3042
|
limit?: string
|
|
@@ -3710,9 +3944,33 @@ export type ListAiModelCallGroupsData = {
|
|
|
3710
3944
|
to: string
|
|
3711
3945
|
providerId?: string
|
|
3712
3946
|
modelId?: string
|
|
3947
|
+
/**
|
|
3948
|
+
* 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
|
|
3949
|
+
*/
|
|
3950
|
+
person?: string
|
|
3951
|
+
/**
|
|
3952
|
+
* Calls from agent conversations and their sub-agents, actions, workflows or one as workflow:<id>, or other
|
|
3953
|
+
*/
|
|
3954
|
+
source?: string
|
|
3955
|
+
/**
|
|
3956
|
+
* Calls to one kind of model
|
|
3957
|
+
*/
|
|
3958
|
+
kind?:
|
|
3959
|
+
| "language"
|
|
3960
|
+
| "image"
|
|
3961
|
+
| "video"
|
|
3962
|
+
| "embedding"
|
|
3963
|
+
| "decision"
|
|
3964
|
+
| "transcription"
|
|
3965
|
+
| "speech"
|
|
3966
|
+
| "reranking"
|
|
3713
3967
|
valuationStatus?: "rated" | "unpriceable" | "unvalued"
|
|
3714
3968
|
limit?: string
|
|
3715
3969
|
offset?: string
|
|
3970
|
+
/**
|
|
3971
|
+
* Most recent first, the default, or costliest first
|
|
3972
|
+
*/
|
|
3973
|
+
sort?: "recent" | "cost"
|
|
3716
3974
|
}
|
|
3717
3975
|
url: "/api/ai/model-call-groups"
|
|
3718
3976
|
}
|
|
@@ -3785,6 +4043,8 @@ export type ListAiModelCallGroupsResponses = {
|
|
|
3785
4043
|
* Present when every call that reports tokens did; images and speech don't.
|
|
3786
4044
|
*/
|
|
3787
4045
|
totalTokens?: number
|
|
4046
|
+
inputTokens?: number
|
|
4047
|
+
cacheReadInputTokens?: number
|
|
3788
4048
|
outputImages?: number
|
|
3789
4049
|
inputCharacters?: number
|
|
3790
4050
|
audioDurationMs?: number
|
|
@@ -3800,6 +4060,9 @@ export type ListAiModelCallGroupsResponses = {
|
|
|
3800
4060
|
firstCallAt: string
|
|
3801
4061
|
lastCallAt: string
|
|
3802
4062
|
label?: string
|
|
4063
|
+
/**
|
|
4064
|
+
* A conversation's turns and sub-agents, or a workflow run's agent steps
|
|
4065
|
+
*/
|
|
3803
4066
|
executions: Array<{
|
|
3804
4067
|
executionId: string
|
|
3805
4068
|
attribution?:
|
|
@@ -3839,6 +4102,8 @@ export type ListAiModelCallGroupsResponses = {
|
|
|
3839
4102
|
* Present when every call that reports tokens did; images and speech don't.
|
|
3840
4103
|
*/
|
|
3841
4104
|
totalTokens?: number
|
|
4105
|
+
inputTokens?: number
|
|
4106
|
+
cacheReadInputTokens?: number
|
|
3842
4107
|
outputImages?: number
|
|
3843
4108
|
inputCharacters?: number
|
|
3844
4109
|
audioDurationMs?: number
|
|
@@ -3856,10 +4121,36 @@ export type ListAiModelCallGroupsResponses = {
|
|
|
3856
4121
|
models: Array<{
|
|
3857
4122
|
providerId: string
|
|
3858
4123
|
modelId: string
|
|
4124
|
+
modelCallCount: number
|
|
4125
|
+
costs: {
|
|
4126
|
+
amounts: Array<{
|
|
4127
|
+
currency: string
|
|
4128
|
+
amountNanos: string
|
|
4129
|
+
}>
|
|
4130
|
+
ratedCallCount: number
|
|
4131
|
+
unpriceableCallCount: number
|
|
4132
|
+
unvaluedCallCount: number
|
|
4133
|
+
}
|
|
3859
4134
|
}>
|
|
3860
4135
|
label?: string
|
|
4136
|
+
/**
|
|
4137
|
+
* What a turn was asked, when the caller can read its conversation
|
|
4138
|
+
*/
|
|
4139
|
+
prompt?: string
|
|
3861
4140
|
}>
|
|
3862
4141
|
canOpenThread: boolean
|
|
4142
|
+
/**
|
|
4143
|
+
* Who started it
|
|
4144
|
+
*/
|
|
4145
|
+
requester?: {
|
|
4146
|
+
type: "user" | "serviceAccount"
|
|
4147
|
+
id: string
|
|
4148
|
+
/**
|
|
4149
|
+
* Their name, or a service account's
|
|
4150
|
+
*/
|
|
4151
|
+
name?: string
|
|
4152
|
+
email?: string
|
|
4153
|
+
}
|
|
3863
4154
|
}>
|
|
3864
4155
|
total: number
|
|
3865
4156
|
hasMore: boolean
|
|
@@ -6120,6 +6411,7 @@ export type ListDatasetVersionsResponses = {
|
|
|
6120
6411
|
kind: "sync" | "pipeline" | "ingest"
|
|
6121
6412
|
id?: string
|
|
6122
6413
|
runId?: string
|
|
6414
|
+
stepId?: string
|
|
6123
6415
|
}
|
|
6124
6416
|
inputs?: Array<{
|
|
6125
6417
|
datasetId: string
|
|
@@ -6196,6 +6488,7 @@ export type GetDatasetVersionResponses = {
|
|
|
6196
6488
|
kind: "sync" | "pipeline" | "ingest"
|
|
6197
6489
|
id?: string
|
|
6198
6490
|
runId?: string
|
|
6491
|
+
stepId?: string
|
|
6199
6492
|
}
|
|
6200
6493
|
inputs?: Array<{
|
|
6201
6494
|
datasetId: string
|
|
@@ -6208,6 +6501,89 @@ export type GetDatasetVersionResponses = {
|
|
|
6208
6501
|
|
|
6209
6502
|
export type GetDatasetVersionResponse = GetDatasetVersionResponses[keyof GetDatasetVersionResponses]
|
|
6210
6503
|
|
|
6504
|
+
export type GetDatasetVersionLineageData = {
|
|
6505
|
+
body?: never
|
|
6506
|
+
path: {
|
|
6507
|
+
datasetId: string
|
|
6508
|
+
versionId: string
|
|
6509
|
+
}
|
|
6510
|
+
query?: {
|
|
6511
|
+
depth?: string
|
|
6512
|
+
}
|
|
6513
|
+
url: "/api/datasets/{datasetId}/versions/{versionId}/lineage"
|
|
6514
|
+
}
|
|
6515
|
+
|
|
6516
|
+
export type GetDatasetVersionLineageErrors = {
|
|
6517
|
+
/**
|
|
6518
|
+
* Response for status 400
|
|
6519
|
+
*/
|
|
6520
|
+
400: {
|
|
6521
|
+
error: string
|
|
6522
|
+
}
|
|
6523
|
+
/**
|
|
6524
|
+
* Response for status 404
|
|
6525
|
+
*/
|
|
6526
|
+
404: {
|
|
6527
|
+
error: string
|
|
6528
|
+
/**
|
|
6529
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
6530
|
+
*/
|
|
6531
|
+
code: "dataset.not_found" | "dataset.version_not_found"
|
|
6532
|
+
}
|
|
6533
|
+
}
|
|
6534
|
+
|
|
6535
|
+
export type GetDatasetVersionLineageError =
|
|
6536
|
+
GetDatasetVersionLineageErrors[keyof GetDatasetVersionLineageErrors]
|
|
6537
|
+
|
|
6538
|
+
export type GetDatasetVersionLineageResponses = {
|
|
6539
|
+
/**
|
|
6540
|
+
* Response for status 200
|
|
6541
|
+
*/
|
|
6542
|
+
200: {
|
|
6543
|
+
nodes: Array<
|
|
6544
|
+
| {
|
|
6545
|
+
datasetId: string
|
|
6546
|
+
versionId: string
|
|
6547
|
+
parentVersionId?: string
|
|
6548
|
+
mode: "snapshot" | "append" | "merge" | "schema"
|
|
6549
|
+
createdAt: string
|
|
6550
|
+
producer?: {
|
|
6551
|
+
kind: "sync" | "pipeline" | "ingest"
|
|
6552
|
+
id?: string
|
|
6553
|
+
runId?: string
|
|
6554
|
+
stepId?: string
|
|
6555
|
+
}
|
|
6556
|
+
}
|
|
6557
|
+
| {
|
|
6558
|
+
datasetId: string
|
|
6559
|
+
versionId: string
|
|
6560
|
+
expired: true
|
|
6561
|
+
}
|
|
6562
|
+
>
|
|
6563
|
+
edges: Array<{
|
|
6564
|
+
from: {
|
|
6565
|
+
datasetId: string
|
|
6566
|
+
versionId: string
|
|
6567
|
+
}
|
|
6568
|
+
to: {
|
|
6569
|
+
datasetId: string
|
|
6570
|
+
versionId: string
|
|
6571
|
+
}
|
|
6572
|
+
}>
|
|
6573
|
+
/**
|
|
6574
|
+
* Versions left out because the caller cannot view their dataset.
|
|
6575
|
+
*/
|
|
6576
|
+
restricted: number
|
|
6577
|
+
/**
|
|
6578
|
+
* Whether the walk stopped at `depth` or at the node cap.
|
|
6579
|
+
*/
|
|
6580
|
+
truncated: boolean
|
|
6581
|
+
}
|
|
6582
|
+
}
|
|
6583
|
+
|
|
6584
|
+
export type GetDatasetVersionLineageResponse =
|
|
6585
|
+
GetDatasetVersionLineageResponses[keyof GetDatasetVersionLineageResponses]
|
|
6586
|
+
|
|
6211
6587
|
export type ListDatasetRowsData = {
|
|
6212
6588
|
body?: never
|
|
6213
6589
|
path: {
|
|
@@ -6276,6 +6652,7 @@ export type ListDatasetRowsResponses = {
|
|
|
6276
6652
|
kind: "sync" | "pipeline" | "ingest"
|
|
6277
6653
|
id?: string
|
|
6278
6654
|
runId?: string
|
|
6655
|
+
stepId?: string
|
|
6279
6656
|
}
|
|
6280
6657
|
inputs?: Array<{
|
|
6281
6658
|
datasetId: string
|
|
@@ -8420,7 +8797,9 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
8420
8797
|
| "action.run_in_progress"
|
|
8421
8798
|
| "action.timeout"
|
|
8422
8799
|
| "agent.approval_authority_lost"
|
|
8800
|
+
| "agent.context_limit_exceeded"
|
|
8423
8801
|
| "agent.execution_failed"
|
|
8802
|
+
| "agent.step_limit_reached"
|
|
8424
8803
|
| "ai.usage_limit_exceeded"
|
|
8425
8804
|
| "ai.usage_limit_unavailable"
|
|
8426
8805
|
| "connector.adapter_invalid"
|
|
@@ -8621,13 +9000,24 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
8621
9000
|
[key: string]: unknown
|
|
8622
9001
|
}
|
|
8623
9002
|
| null
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
9003
|
+
outputFile?: {
|
|
9004
|
+
fileRef: {
|
|
9005
|
+
blobId: string
|
|
9006
|
+
digest: string
|
|
9007
|
+
sizeBytes: number
|
|
9008
|
+
fileName?: string
|
|
9009
|
+
mediaType?: string
|
|
9010
|
+
logicalPath?: string
|
|
9011
|
+
}
|
|
9012
|
+
path: string
|
|
9013
|
+
}
|
|
9014
|
+
}
|
|
9015
|
+
| {
|
|
9016
|
+
type: "tool-call"
|
|
9017
|
+
toolCallId: string
|
|
9018
|
+
toolName: string
|
|
9019
|
+
dynamic?: boolean
|
|
9020
|
+
providerExecuted?: boolean
|
|
8631
9021
|
/**
|
|
8632
9022
|
* Any JSON-compatible value.
|
|
8633
9023
|
*/
|
|
@@ -8680,7 +9070,9 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
8680
9070
|
code:
|
|
8681
9071
|
| "internal.unexpected"
|
|
8682
9072
|
| "runtime.cancelled"
|
|
9073
|
+
| "agent.context_limit_exceeded"
|
|
8683
9074
|
| "agent.execution_failed"
|
|
9075
|
+
| "agent.step_limit_reached"
|
|
8684
9076
|
| "ai.usage_limit_exceeded"
|
|
8685
9077
|
| "ai.usage_limit_unavailable"
|
|
8686
9078
|
message: string
|
|
@@ -10579,75 +10971,219 @@ export type GetObjectResponses = {
|
|
|
10579
10971
|
|
|
10580
10972
|
export type GetObjectResponse = GetObjectResponses[keyof GetObjectResponses]
|
|
10581
10973
|
|
|
10582
|
-
export type
|
|
10583
|
-
body
|
|
10584
|
-
properties: {
|
|
10585
|
-
[key: string]: unknown
|
|
10586
|
-
}
|
|
10587
|
-
}
|
|
10974
|
+
export type GetObjectLineageData = {
|
|
10975
|
+
body?: never
|
|
10588
10976
|
path: {
|
|
10589
10977
|
objectTypeId: string
|
|
10590
10978
|
objectId: string
|
|
10591
10979
|
}
|
|
10592
10980
|
query?: never
|
|
10593
|
-
url: "/api/objects/{objectTypeId}/{objectId}"
|
|
10981
|
+
url: "/api/objects/{objectTypeId}/{objectId}/lineage"
|
|
10594
10982
|
}
|
|
10595
10983
|
|
|
10596
|
-
export type
|
|
10597
|
-
/**
|
|
10598
|
-
* Response for status 400
|
|
10599
|
-
*/
|
|
10600
|
-
400: {
|
|
10601
|
-
error: string
|
|
10602
|
-
}
|
|
10603
|
-
/**
|
|
10604
|
-
* Response for status 403
|
|
10605
|
-
*/
|
|
10606
|
-
403: {
|
|
10607
|
-
error: string
|
|
10608
|
-
}
|
|
10984
|
+
export type GetObjectLineageErrors = {
|
|
10609
10985
|
/**
|
|
10610
10986
|
* Response for status 404
|
|
10611
10987
|
*/
|
|
10612
10988
|
404: {
|
|
10613
10989
|
error: string
|
|
10614
10990
|
}
|
|
10615
|
-
/**
|
|
10616
|
-
* Response for status 409
|
|
10617
|
-
*/
|
|
10618
|
-
409: {
|
|
10619
|
-
error: string
|
|
10620
|
-
/**
|
|
10621
|
-
* Stable machine-readable failure code for programmatic handling.
|
|
10622
|
-
*/
|
|
10623
|
-
code: "object.unique_violation"
|
|
10624
|
-
}
|
|
10625
10991
|
}
|
|
10626
10992
|
|
|
10627
|
-
export type
|
|
10993
|
+
export type GetObjectLineageError = GetObjectLineageErrors[keyof GetObjectLineageErrors]
|
|
10628
10994
|
|
|
10629
|
-
export type
|
|
10995
|
+
export type GetObjectLineageResponses = {
|
|
10630
10996
|
/**
|
|
10631
10997
|
* Response for status 200
|
|
10632
10998
|
*/
|
|
10633
10999
|
200: {
|
|
10634
|
-
score?: number
|
|
10635
|
-
primaryId: string
|
|
10636
11000
|
objectTypeId: string
|
|
10637
|
-
|
|
10638
|
-
|
|
11001
|
+
primaryId: string
|
|
11002
|
+
existence: {
|
|
11003
|
+
source: string
|
|
10639
11004
|
}
|
|
10640
|
-
|
|
11005
|
+
/**
|
|
11006
|
+
* Keyed `projection:<id>`, `commit:<id>`, `commit@<instant>` when the commit is unknown, `telemetry:<commitId>` and `identity`.
|
|
11007
|
+
*/
|
|
11008
|
+
sources: {
|
|
11009
|
+
[key: string]:
|
|
11010
|
+
| {
|
|
11011
|
+
kind: "projection"
|
|
11012
|
+
projectionId: string
|
|
11013
|
+
/**
|
|
11014
|
+
* Absent for a caller who cannot view the projection's runs.
|
|
11015
|
+
*/
|
|
11016
|
+
projectionRunId?: string
|
|
11017
|
+
/**
|
|
11018
|
+
* The dataset version applied. Absent for a caller who cannot view the dataset.
|
|
11019
|
+
*/
|
|
11020
|
+
datasetVersion?: {
|
|
11021
|
+
datasetId: string
|
|
11022
|
+
versionId: string
|
|
11023
|
+
}
|
|
11024
|
+
/**
|
|
11025
|
+
* 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.
|
|
11026
|
+
*/
|
|
11027
|
+
rowOrigins?: Array<{
|
|
11028
|
+
datasetId: string
|
|
11029
|
+
column: string
|
|
11030
|
+
}>
|
|
11031
|
+
}
|
|
11032
|
+
| {
|
|
11033
|
+
kind: "edit"
|
|
11034
|
+
/**
|
|
11035
|
+
* Null when the commits made at that instant cannot be told apart.
|
|
11036
|
+
*/
|
|
11037
|
+
commitId: string | null
|
|
11038
|
+
committedAt: string
|
|
11039
|
+
/**
|
|
11040
|
+
* Principal on whose behalf the commit ran; absent for automatic or anonymous work.
|
|
11041
|
+
*/
|
|
11042
|
+
requestedBy?: {
|
|
11043
|
+
type: "user" | "serviceAccount"
|
|
11044
|
+
id: string
|
|
11045
|
+
}
|
|
11046
|
+
executor?:
|
|
11047
|
+
| {
|
|
11048
|
+
type: "request"
|
|
11049
|
+
requestId: string
|
|
11050
|
+
}
|
|
11051
|
+
| {
|
|
11052
|
+
type: "primitive"
|
|
11053
|
+
kind:
|
|
11054
|
+
| "action"
|
|
11055
|
+
| "pipeline"
|
|
11056
|
+
| "projection"
|
|
11057
|
+
| "rule"
|
|
11058
|
+
| "sync"
|
|
11059
|
+
| "webhook"
|
|
11060
|
+
| "workflow"
|
|
11061
|
+
id: string
|
|
11062
|
+
runId: string
|
|
11063
|
+
}
|
|
11064
|
+
| {
|
|
11065
|
+
type: "agent"
|
|
11066
|
+
runId: string
|
|
11067
|
+
}
|
|
11068
|
+
| {
|
|
11069
|
+
type: "kernel"
|
|
11070
|
+
operation:
|
|
11071
|
+
| {
|
|
11072
|
+
type: "ontology.recover"
|
|
11073
|
+
recoveryId: string
|
|
11074
|
+
}
|
|
11075
|
+
| {
|
|
11076
|
+
type: "ontology.indexVectors"
|
|
11077
|
+
indexingId: string
|
|
11078
|
+
}
|
|
11079
|
+
}
|
|
11080
|
+
/**
|
|
11081
|
+
* Absent for a direct write, and for an Action run the caller cannot view.
|
|
11082
|
+
*/
|
|
11083
|
+
action?: {
|
|
11084
|
+
actionId: string
|
|
11085
|
+
runId: string
|
|
11086
|
+
}
|
|
11087
|
+
}
|
|
11088
|
+
| {
|
|
11089
|
+
kind: "telemetry"
|
|
11090
|
+
commitId: string
|
|
11091
|
+
committedAt: string
|
|
11092
|
+
projectionId?: string
|
|
11093
|
+
/**
|
|
11094
|
+
* Principal on whose behalf the commit ran; absent for automatic or anonymous work.
|
|
11095
|
+
*/
|
|
11096
|
+
requestedBy?: {
|
|
11097
|
+
type: "user" | "serviceAccount"
|
|
11098
|
+
id: string
|
|
11099
|
+
}
|
|
11100
|
+
executor?:
|
|
11101
|
+
| {
|
|
11102
|
+
type: "request"
|
|
11103
|
+
requestId: string
|
|
11104
|
+
}
|
|
11105
|
+
| {
|
|
11106
|
+
type: "primitive"
|
|
11107
|
+
kind:
|
|
11108
|
+
| "action"
|
|
11109
|
+
| "pipeline"
|
|
11110
|
+
| "projection"
|
|
11111
|
+
| "rule"
|
|
11112
|
+
| "sync"
|
|
11113
|
+
| "webhook"
|
|
11114
|
+
| "workflow"
|
|
11115
|
+
id: string
|
|
11116
|
+
runId: string
|
|
11117
|
+
}
|
|
11118
|
+
| {
|
|
11119
|
+
type: "agent"
|
|
11120
|
+
runId: string
|
|
11121
|
+
}
|
|
11122
|
+
| {
|
|
11123
|
+
type: "kernel"
|
|
11124
|
+
operation:
|
|
11125
|
+
| {
|
|
11126
|
+
type: "ontology.recover"
|
|
11127
|
+
recoveryId: string
|
|
11128
|
+
}
|
|
11129
|
+
| {
|
|
11130
|
+
type: "ontology.indexVectors"
|
|
11131
|
+
indexingId: string
|
|
11132
|
+
}
|
|
11133
|
+
}
|
|
11134
|
+
}
|
|
11135
|
+
| {
|
|
11136
|
+
kind: "identity"
|
|
11137
|
+
}
|
|
11138
|
+
}
|
|
11139
|
+
properties: {
|
|
10641
11140
|
[key: string]: {
|
|
10642
|
-
|
|
11141
|
+
/**
|
|
11142
|
+
* The source that decided the value: a key of `sources`.
|
|
11143
|
+
*/
|
|
11144
|
+
source: string
|
|
11145
|
+
column?: string
|
|
11146
|
+
origins?: Array<{
|
|
11147
|
+
datasetId: string
|
|
11148
|
+
column: string
|
|
11149
|
+
}>
|
|
11150
|
+
removed?: true
|
|
11151
|
+
at?: string
|
|
11152
|
+
replaced?: {
|
|
11153
|
+
source: string
|
|
11154
|
+
column?: string
|
|
11155
|
+
/**
|
|
11156
|
+
* Any JSON-compatible value.
|
|
11157
|
+
*/
|
|
11158
|
+
value?:
|
|
11159
|
+
| string
|
|
11160
|
+
| number
|
|
11161
|
+
| boolean
|
|
11162
|
+
| Array<unknown>
|
|
11163
|
+
| {
|
|
11164
|
+
[key: string]: unknown
|
|
11165
|
+
}
|
|
11166
|
+
| null
|
|
11167
|
+
}
|
|
11168
|
+
resolution?:
|
|
11169
|
+
| {
|
|
11170
|
+
strategy: "editsWin"
|
|
11171
|
+
}
|
|
11172
|
+
| {
|
|
11173
|
+
strategy: "mostRecent"
|
|
11174
|
+
sourceUpdatedAt: string
|
|
11175
|
+
editedAt?: string
|
|
11176
|
+
}
|
|
10643
11177
|
}
|
|
10644
11178
|
}
|
|
10645
|
-
|
|
10646
|
-
|
|
11179
|
+
/**
|
|
11180
|
+
* Steps left out because the caller cannot view them.
|
|
11181
|
+
*/
|
|
11182
|
+
restricted: number
|
|
10647
11183
|
}
|
|
10648
11184
|
}
|
|
10649
11185
|
|
|
10650
|
-
export type
|
|
11186
|
+
export type GetObjectLineageResponse = GetObjectLineageResponses[keyof GetObjectLineageResponses]
|
|
10651
11187
|
|
|
10652
11188
|
export type GetObjectByUniquePropertyData = {
|
|
10653
11189
|
body: {
|
|
@@ -10871,7 +11407,9 @@ export type RequestActionErrors = {
|
|
|
10871
11407
|
| "action.run_in_progress"
|
|
10872
11408
|
| "action.timeout"
|
|
10873
11409
|
| "agent.approval_authority_lost"
|
|
11410
|
+
| "agent.context_limit_exceeded"
|
|
10874
11411
|
| "agent.execution_failed"
|
|
11412
|
+
| "agent.step_limit_reached"
|
|
10875
11413
|
| "ai.usage_limit_exceeded"
|
|
10876
11414
|
| "ai.usage_limit_unavailable"
|
|
10877
11415
|
| "connector.adapter_invalid"
|
|
@@ -11856,6 +12394,14 @@ export type ListAgentThreadsResponses = {
|
|
|
11856
12394
|
}
|
|
11857
12395
|
| null
|
|
11858
12396
|
}
|
|
12397
|
+
runsOn?: "computer"
|
|
12398
|
+
computer?: {
|
|
12399
|
+
id: string
|
|
12400
|
+
name: string
|
|
12401
|
+
folder: string
|
|
12402
|
+
online: boolean
|
|
12403
|
+
}
|
|
12404
|
+
movedAt?: string
|
|
11859
12405
|
status: "active" | "archived"
|
|
11860
12406
|
activeRunId: string | null
|
|
11861
12407
|
lastMessageAt?: string
|
|
@@ -11887,6 +12433,12 @@ export type CreateAgentThreadData = {
|
|
|
11887
12433
|
}
|
|
11888
12434
|
| null
|
|
11889
12435
|
}
|
|
12436
|
+
runsOn?: "computer"
|
|
12437
|
+
computer?: {
|
|
12438
|
+
id: string
|
|
12439
|
+
name: string
|
|
12440
|
+
folder: string
|
|
12441
|
+
}
|
|
11890
12442
|
}
|
|
11891
12443
|
path?: never
|
|
11892
12444
|
query?: never
|
|
@@ -11974,6 +12526,14 @@ export type CreateAgentThreadResponses = {
|
|
|
11974
12526
|
}
|
|
11975
12527
|
| null
|
|
11976
12528
|
}
|
|
12529
|
+
runsOn?: "computer"
|
|
12530
|
+
computer?: {
|
|
12531
|
+
id: string
|
|
12532
|
+
name: string
|
|
12533
|
+
folder: string
|
|
12534
|
+
online: boolean
|
|
12535
|
+
}
|
|
12536
|
+
movedAt?: string
|
|
11977
12537
|
status: "active" | "archived"
|
|
11978
12538
|
activeRunId: string | null
|
|
11979
12539
|
lastMessageAt?: string
|
|
@@ -12071,6 +12631,14 @@ export type GetAgentThreadResponses = {
|
|
|
12071
12631
|
}
|
|
12072
12632
|
| null
|
|
12073
12633
|
}
|
|
12634
|
+
runsOn?: "computer"
|
|
12635
|
+
computer?: {
|
|
12636
|
+
id: string
|
|
12637
|
+
name: string
|
|
12638
|
+
folder: string
|
|
12639
|
+
online: boolean
|
|
12640
|
+
}
|
|
12641
|
+
movedAt?: string
|
|
12074
12642
|
status: "active" | "archived"
|
|
12075
12643
|
activeRunId: string | null
|
|
12076
12644
|
lastMessageAt?: string
|
|
@@ -12193,6 +12761,14 @@ export type AddAgentThreadParticipantsResponses = {
|
|
|
12193
12761
|
}
|
|
12194
12762
|
| null
|
|
12195
12763
|
}
|
|
12764
|
+
runsOn?: "computer"
|
|
12765
|
+
computer?: {
|
|
12766
|
+
id: string
|
|
12767
|
+
name: string
|
|
12768
|
+
folder: string
|
|
12769
|
+
online: boolean
|
|
12770
|
+
}
|
|
12771
|
+
movedAt?: string
|
|
12196
12772
|
status: "active" | "archived"
|
|
12197
12773
|
activeRunId: string | null
|
|
12198
12774
|
lastMessageAt?: string
|
|
@@ -12355,6 +12931,14 @@ export type ForkAgentThreadResponses = {
|
|
|
12355
12931
|
}
|
|
12356
12932
|
| null
|
|
12357
12933
|
}
|
|
12934
|
+
runsOn?: "computer"
|
|
12935
|
+
computer?: {
|
|
12936
|
+
id: string
|
|
12937
|
+
name: string
|
|
12938
|
+
folder: string
|
|
12939
|
+
online: boolean
|
|
12940
|
+
}
|
|
12941
|
+
movedAt?: string
|
|
12358
12942
|
status: "active" | "archived"
|
|
12359
12943
|
activeRunId: string | null
|
|
12360
12944
|
lastMessageAt?: string
|
|
@@ -12463,6 +13047,14 @@ export type RecreateAgentThreadSandboxResponses = {
|
|
|
12463
13047
|
}
|
|
12464
13048
|
| null
|
|
12465
13049
|
}
|
|
13050
|
+
runsOn?: "computer"
|
|
13051
|
+
computer?: {
|
|
13052
|
+
id: string
|
|
13053
|
+
name: string
|
|
13054
|
+
folder: string
|
|
13055
|
+
online: boolean
|
|
13056
|
+
}
|
|
13057
|
+
movedAt?: string
|
|
12466
13058
|
status: "active" | "archived"
|
|
12467
13059
|
activeRunId: string | null
|
|
12468
13060
|
lastMessageAt?: string
|
|
@@ -12615,7 +13207,9 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
12615
13207
|
| "action.run_in_progress"
|
|
12616
13208
|
| "action.timeout"
|
|
12617
13209
|
| "agent.approval_authority_lost"
|
|
13210
|
+
| "agent.context_limit_exceeded"
|
|
12618
13211
|
| "agent.execution_failed"
|
|
13212
|
+
| "agent.step_limit_reached"
|
|
12619
13213
|
| "ai.usage_limit_exceeded"
|
|
12620
13214
|
| "ai.usage_limit_unavailable"
|
|
12621
13215
|
| "connector.adapter_invalid"
|
|
@@ -12816,6 +13410,17 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
12816
13410
|
[key: string]: unknown
|
|
12817
13411
|
}
|
|
12818
13412
|
| null
|
|
13413
|
+
outputFile?: {
|
|
13414
|
+
fileRef: {
|
|
13415
|
+
blobId: string
|
|
13416
|
+
digest: string
|
|
13417
|
+
sizeBytes: number
|
|
13418
|
+
fileName?: string
|
|
13419
|
+
mediaType?: string
|
|
13420
|
+
logicalPath?: string
|
|
13421
|
+
}
|
|
13422
|
+
path: string
|
|
13423
|
+
}
|
|
12819
13424
|
}
|
|
12820
13425
|
| {
|
|
12821
13426
|
type: "tool-call"
|
|
@@ -12868,6 +13473,10 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
12868
13473
|
}>
|
|
12869
13474
|
compaction?: {
|
|
12870
13475
|
checkpointId: string
|
|
13476
|
+
/**
|
|
13477
|
+
* `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.
|
|
13478
|
+
*/
|
|
13479
|
+
reason: "threshold" | "overflow"
|
|
12871
13480
|
summary: string
|
|
12872
13481
|
createdAt: string
|
|
12873
13482
|
}
|
|
@@ -12986,6 +13595,7 @@ export type PostAgentThreadMessageErrors = {
|
|
|
12986
13595
|
*/
|
|
12987
13596
|
403: {
|
|
12988
13597
|
error: string
|
|
13598
|
+
code?: string
|
|
12989
13599
|
}
|
|
12990
13600
|
/**
|
|
12991
13601
|
* Response for status 404
|
|
@@ -13068,6 +13678,7 @@ export type PostAgentThreadMessageResponses = {
|
|
|
13068
13678
|
budgetTokens: number
|
|
13069
13679
|
}
|
|
13070
13680
|
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
13681
|
+
runsOn?: "computer"
|
|
13071
13682
|
modelId?: string
|
|
13072
13683
|
finishReason?:
|
|
13073
13684
|
| "stop"
|
|
@@ -13131,7 +13742,9 @@ export type PostAgentThreadMessageResponses = {
|
|
|
13131
13742
|
code:
|
|
13132
13743
|
| "internal.unexpected"
|
|
13133
13744
|
| "runtime.cancelled"
|
|
13745
|
+
| "agent.context_limit_exceeded"
|
|
13134
13746
|
| "agent.execution_failed"
|
|
13747
|
+
| "agent.step_limit_reached"
|
|
13135
13748
|
| "ai.usage_limit_exceeded"
|
|
13136
13749
|
| "ai.usage_limit_unavailable"
|
|
13137
13750
|
message: string
|
|
@@ -13352,6 +13965,7 @@ export type CancelAgentRunResponses = {
|
|
|
13352
13965
|
budgetTokens: number
|
|
13353
13966
|
}
|
|
13354
13967
|
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
13968
|
+
runsOn?: "computer"
|
|
13355
13969
|
modelId?: string
|
|
13356
13970
|
finishReason?:
|
|
13357
13971
|
| "stop"
|
|
@@ -13415,7 +14029,9 @@ export type CancelAgentRunResponses = {
|
|
|
13415
14029
|
code:
|
|
13416
14030
|
| "internal.unexpected"
|
|
13417
14031
|
| "runtime.cancelled"
|
|
14032
|
+
| "agent.context_limit_exceeded"
|
|
13418
14033
|
| "agent.execution_failed"
|
|
14034
|
+
| "agent.step_limit_reached"
|
|
13419
14035
|
| "ai.usage_limit_exceeded"
|
|
13420
14036
|
| "ai.usage_limit_unavailable"
|
|
13421
14037
|
message: string
|
|
@@ -13553,6 +14169,7 @@ export type RetryAgentRunResponses = {
|
|
|
13553
14169
|
budgetTokens: number
|
|
13554
14170
|
}
|
|
13555
14171
|
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
14172
|
+
runsOn?: "computer"
|
|
13556
14173
|
modelId?: string
|
|
13557
14174
|
finishReason?:
|
|
13558
14175
|
| "stop"
|
|
@@ -13616,7 +14233,9 @@ export type RetryAgentRunResponses = {
|
|
|
13616
14233
|
code:
|
|
13617
14234
|
| "internal.unexpected"
|
|
13618
14235
|
| "runtime.cancelled"
|
|
14236
|
+
| "agent.context_limit_exceeded"
|
|
13619
14237
|
| "agent.execution_failed"
|
|
14238
|
+
| "agent.step_limit_reached"
|
|
13620
14239
|
| "ai.usage_limit_exceeded"
|
|
13621
14240
|
| "ai.usage_limit_unavailable"
|
|
13622
14241
|
message: string
|
|
@@ -13649,6 +14268,99 @@ export type RetryAgentRunResponses = {
|
|
|
13649
14268
|
|
|
13650
14269
|
export type RetryAgentRunResponse = RetryAgentRunResponses[keyof RetryAgentRunResponses]
|
|
13651
14270
|
|
|
14271
|
+
export type GetAgentThreadContextData = {
|
|
14272
|
+
body?: never
|
|
14273
|
+
path: {
|
|
14274
|
+
threadId: string
|
|
14275
|
+
}
|
|
14276
|
+
query?: {
|
|
14277
|
+
provider?: string
|
|
14278
|
+
modelId?: string
|
|
14279
|
+
}
|
|
14280
|
+
url: "/api/agent-threads/{threadId}/context"
|
|
14281
|
+
}
|
|
14282
|
+
|
|
14283
|
+
export type GetAgentThreadContextErrors = {
|
|
14284
|
+
/**
|
|
14285
|
+
* Response for status 400
|
|
14286
|
+
*/
|
|
14287
|
+
400: {
|
|
14288
|
+
error: string
|
|
14289
|
+
}
|
|
14290
|
+
/**
|
|
14291
|
+
* Response for status 404
|
|
14292
|
+
*/
|
|
14293
|
+
404: {
|
|
14294
|
+
error: string
|
|
14295
|
+
}
|
|
14296
|
+
/**
|
|
14297
|
+
* Response for status 409
|
|
14298
|
+
*/
|
|
14299
|
+
409: {
|
|
14300
|
+
error: string
|
|
14301
|
+
code?: string
|
|
14302
|
+
}
|
|
14303
|
+
/**
|
|
14304
|
+
* Response for status 501
|
|
14305
|
+
*/
|
|
14306
|
+
501: {
|
|
14307
|
+
error: string
|
|
14308
|
+
}
|
|
14309
|
+
}
|
|
14310
|
+
|
|
14311
|
+
export type GetAgentThreadContextError =
|
|
14312
|
+
GetAgentThreadContextErrors[keyof GetAgentThreadContextErrors]
|
|
14313
|
+
|
|
14314
|
+
export type GetAgentThreadContextResponses = {
|
|
14315
|
+
/**
|
|
14316
|
+
* Response for status 200
|
|
14317
|
+
*/
|
|
14318
|
+
200: {
|
|
14319
|
+
model: {
|
|
14320
|
+
provider: string
|
|
14321
|
+
modelId: string
|
|
14322
|
+
}
|
|
14323
|
+
windowTokens: number
|
|
14324
|
+
limitTokens: number
|
|
14325
|
+
usedTokens?: number
|
|
14326
|
+
parts?: Array<{
|
|
14327
|
+
/**
|
|
14328
|
+
* `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.
|
|
14329
|
+
*/
|
|
14330
|
+
part:
|
|
14331
|
+
| "system"
|
|
14332
|
+
| "instructions"
|
|
14333
|
+
| "memory"
|
|
14334
|
+
| "skills"
|
|
14335
|
+
| "ontology"
|
|
14336
|
+
| "tools"
|
|
14337
|
+
| "summary"
|
|
14338
|
+
| "messages"
|
|
14339
|
+
| "toolResults"
|
|
14340
|
+
| "files"
|
|
14341
|
+
tokens: number
|
|
14342
|
+
}>
|
|
14343
|
+
lastCall?: {
|
|
14344
|
+
inputTokens: number
|
|
14345
|
+
outputTokens?: number
|
|
14346
|
+
cacheReadInputTokens?: number
|
|
14347
|
+
occurredAt: string
|
|
14348
|
+
}
|
|
14349
|
+
lastCompaction?: {
|
|
14350
|
+
/**
|
|
14351
|
+
* `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.
|
|
14352
|
+
*/
|
|
14353
|
+
reason: "threshold" | "overflow"
|
|
14354
|
+
createdAt: string
|
|
14355
|
+
estimatedInputTokensBefore: number
|
|
14356
|
+
estimatedInputTokensAfter: number
|
|
14357
|
+
}
|
|
14358
|
+
}
|
|
14359
|
+
}
|
|
14360
|
+
|
|
14361
|
+
export type GetAgentThreadContextResponse =
|
|
14362
|
+
GetAgentThreadContextResponses[keyof GetAgentThreadContextResponses]
|
|
14363
|
+
|
|
13652
14364
|
export type ListAgentThreadRunsData = {
|
|
13653
14365
|
body?: never
|
|
13654
14366
|
path: {
|
|
@@ -13721,6 +14433,7 @@ export type ListAgentThreadRunsResponses = {
|
|
|
13721
14433
|
budgetTokens: number
|
|
13722
14434
|
}
|
|
13723
14435
|
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
14436
|
+
runsOn?: "computer"
|
|
13724
14437
|
modelId?: string
|
|
13725
14438
|
finishReason?:
|
|
13726
14439
|
| "stop"
|
|
@@ -13784,7 +14497,9 @@ export type ListAgentThreadRunsResponses = {
|
|
|
13784
14497
|
code:
|
|
13785
14498
|
| "internal.unexpected"
|
|
13786
14499
|
| "runtime.cancelled"
|
|
14500
|
+
| "agent.context_limit_exceeded"
|
|
13787
14501
|
| "agent.execution_failed"
|
|
14502
|
+
| "agent.step_limit_reached"
|
|
13788
14503
|
| "ai.usage_limit_exceeded"
|
|
13789
14504
|
| "ai.usage_limit_unavailable"
|
|
13790
14505
|
message: string
|
|
@@ -13886,6 +14601,7 @@ export type GetAgentRunResponses = {
|
|
|
13886
14601
|
budgetTokens: number
|
|
13887
14602
|
}
|
|
13888
14603
|
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
14604
|
+
runsOn?: "computer"
|
|
13889
14605
|
modelId?: string
|
|
13890
14606
|
finishReason?:
|
|
13891
14607
|
| "stop"
|
|
@@ -13949,7 +14665,9 @@ export type GetAgentRunResponses = {
|
|
|
13949
14665
|
code:
|
|
13950
14666
|
| "internal.unexpected"
|
|
13951
14667
|
| "runtime.cancelled"
|
|
14668
|
+
| "agent.context_limit_exceeded"
|
|
13952
14669
|
| "agent.execution_failed"
|
|
14670
|
+
| "agent.step_limit_reached"
|
|
13953
14671
|
| "ai.usage_limit_exceeded"
|
|
13954
14672
|
| "ai.usage_limit_unavailable"
|
|
13955
14673
|
message: string
|
|
@@ -14063,6 +14781,7 @@ export type CancelAgentRunByIdResponses = {
|
|
|
14063
14781
|
budgetTokens: number
|
|
14064
14782
|
}
|
|
14065
14783
|
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
14784
|
+
runsOn?: "computer"
|
|
14066
14785
|
modelId?: string
|
|
14067
14786
|
finishReason?:
|
|
14068
14787
|
| "stop"
|
|
@@ -14126,7 +14845,9 @@ export type CancelAgentRunByIdResponses = {
|
|
|
14126
14845
|
code:
|
|
14127
14846
|
| "internal.unexpected"
|
|
14128
14847
|
| "runtime.cancelled"
|
|
14848
|
+
| "agent.context_limit_exceeded"
|
|
14129
14849
|
| "agent.execution_failed"
|
|
14850
|
+
| "agent.step_limit_reached"
|
|
14130
14851
|
| "ai.usage_limit_exceeded"
|
|
14131
14852
|
| "ai.usage_limit_unavailable"
|
|
14132
14853
|
message: string
|
|
@@ -14238,78 +14959,409 @@ export type GetAgentChildFileContentErrors = {
|
|
|
14238
14959
|
*/
|
|
14239
14960
|
416: unknown
|
|
14240
14961
|
/**
|
|
14241
|
-
* The storage role backing this content is not configured
|
|
14962
|
+
* The storage role backing this content is not configured
|
|
14963
|
+
*/
|
|
14964
|
+
501: ErrorResponse
|
|
14965
|
+
}
|
|
14966
|
+
|
|
14967
|
+
export type GetAgentChildFileContentError =
|
|
14968
|
+
GetAgentChildFileContentErrors[keyof GetAgentChildFileContentErrors]
|
|
14969
|
+
|
|
14970
|
+
export type GetAgentChildFileContentResponses = {
|
|
14971
|
+
/**
|
|
14972
|
+
* File content
|
|
14973
|
+
*/
|
|
14974
|
+
200: Blob | File
|
|
14975
|
+
/**
|
|
14976
|
+
* Partial file content
|
|
14977
|
+
*/
|
|
14978
|
+
206: Blob | File
|
|
14979
|
+
}
|
|
14980
|
+
|
|
14981
|
+
export type GetAgentChildFileContentResponse =
|
|
14982
|
+
GetAgentChildFileContentResponses[keyof GetAgentChildFileContentResponses]
|
|
14983
|
+
|
|
14984
|
+
export type HeadAgentChildFileContentData = {
|
|
14985
|
+
body?: never
|
|
14986
|
+
path: {
|
|
14987
|
+
threadId: string
|
|
14988
|
+
}
|
|
14989
|
+
query: {
|
|
14990
|
+
path: string
|
|
14991
|
+
disposition?: "inline" | "attachment"
|
|
14992
|
+
/**
|
|
14993
|
+
* Client cache key; the route still resolves the current file
|
|
14994
|
+
*/
|
|
14995
|
+
v?: string
|
|
14996
|
+
run: string
|
|
14997
|
+
}
|
|
14998
|
+
url: "/api/agent-threads/{threadId}/child-files/content"
|
|
14999
|
+
}
|
|
15000
|
+
|
|
15001
|
+
export type HeadAgentChildFileContentErrors = {
|
|
15002
|
+
/**
|
|
15003
|
+
* Response for status 400
|
|
15004
|
+
*/
|
|
15005
|
+
400: ErrorResponse
|
|
15006
|
+
/**
|
|
15007
|
+
* Response for status 404
|
|
15008
|
+
*/
|
|
15009
|
+
404: ErrorResponse
|
|
15010
|
+
/**
|
|
15011
|
+
* Requested byte range is not satisfiable
|
|
15012
|
+
*/
|
|
15013
|
+
416: unknown
|
|
15014
|
+
/**
|
|
15015
|
+
* The storage role backing this content is not configured
|
|
15016
|
+
*/
|
|
15017
|
+
501: ErrorResponse
|
|
15018
|
+
}
|
|
15019
|
+
|
|
15020
|
+
export type HeadAgentChildFileContentError =
|
|
15021
|
+
HeadAgentChildFileContentErrors[keyof HeadAgentChildFileContentErrors]
|
|
15022
|
+
|
|
15023
|
+
export type HeadAgentChildFileContentResponses = {
|
|
15024
|
+
/**
|
|
15025
|
+
* File content headers
|
|
15026
|
+
*/
|
|
15027
|
+
200: unknown
|
|
15028
|
+
/**
|
|
15029
|
+
* Partial file content headers
|
|
15030
|
+
*/
|
|
15031
|
+
206: unknown
|
|
15032
|
+
}
|
|
15033
|
+
|
|
15034
|
+
export type MoveAgentThreadToCloudData = {
|
|
15035
|
+
body?: never
|
|
15036
|
+
path: {
|
|
15037
|
+
threadId: string
|
|
15038
|
+
}
|
|
15039
|
+
query?: never
|
|
15040
|
+
url: "/api/agent-threads/{threadId}/computer"
|
|
15041
|
+
}
|
|
15042
|
+
|
|
15043
|
+
export type MoveAgentThreadToCloudErrors = {
|
|
15044
|
+
/**
|
|
15045
|
+
* Response for status 400
|
|
15046
|
+
*/
|
|
15047
|
+
400: {
|
|
15048
|
+
error: string
|
|
15049
|
+
code?: string
|
|
15050
|
+
}
|
|
15051
|
+
/**
|
|
15052
|
+
* Response for status 403
|
|
15053
|
+
*/
|
|
15054
|
+
403: {
|
|
15055
|
+
error: string
|
|
15056
|
+
code?: string
|
|
15057
|
+
}
|
|
15058
|
+
/**
|
|
15059
|
+
* Response for status 404
|
|
15060
|
+
*/
|
|
15061
|
+
404: {
|
|
15062
|
+
error: string
|
|
15063
|
+
code?: string
|
|
15064
|
+
}
|
|
15065
|
+
/**
|
|
15066
|
+
* Response for status 409
|
|
15067
|
+
*/
|
|
15068
|
+
409: {
|
|
15069
|
+
error: string
|
|
15070
|
+
code?: string
|
|
15071
|
+
}
|
|
15072
|
+
/**
|
|
15073
|
+
* Response for status 501
|
|
15074
|
+
*/
|
|
15075
|
+
501: {
|
|
15076
|
+
error: string
|
|
15077
|
+
}
|
|
15078
|
+
}
|
|
15079
|
+
|
|
15080
|
+
export type MoveAgentThreadToCloudError =
|
|
15081
|
+
MoveAgentThreadToCloudErrors[keyof MoveAgentThreadToCloudErrors]
|
|
15082
|
+
|
|
15083
|
+
export type MoveAgentThreadToCloudResponses = {
|
|
15084
|
+
/**
|
|
15085
|
+
* Response for status 200
|
|
15086
|
+
*/
|
|
15087
|
+
200: {
|
|
15088
|
+
sandboxState?: {
|
|
15089
|
+
name: string
|
|
15090
|
+
status: "new" | "busy" | "ready" | "blocked" | "unavailable"
|
|
15091
|
+
initialized: boolean
|
|
15092
|
+
}
|
|
15093
|
+
id: string
|
|
15094
|
+
projectId: string
|
|
15095
|
+
kind: "conversation" | "subagent"
|
|
15096
|
+
parent?: {
|
|
15097
|
+
threadId: string
|
|
15098
|
+
spawnedBy: string
|
|
15099
|
+
key: string
|
|
15100
|
+
}
|
|
15101
|
+
ownerPrincipal: {
|
|
15102
|
+
type: "user" | "serviceAccount" | "system"
|
|
15103
|
+
id: string
|
|
15104
|
+
}
|
|
15105
|
+
owner: {
|
|
15106
|
+
type: "user" | "serviceAccount" | "system"
|
|
15107
|
+
id: string
|
|
15108
|
+
displayName?: string
|
|
15109
|
+
}
|
|
15110
|
+
participants: Array<{
|
|
15111
|
+
principal: {
|
|
15112
|
+
type: "user"
|
|
15113
|
+
id: string
|
|
15114
|
+
displayName?: string
|
|
15115
|
+
}
|
|
15116
|
+
addedAt: string
|
|
15117
|
+
addedBy: {
|
|
15118
|
+
type: "user" | "serviceAccount" | "system"
|
|
15119
|
+
id: string
|
|
15120
|
+
}
|
|
15121
|
+
}>
|
|
15122
|
+
title?: string
|
|
15123
|
+
sandboxParams?: {
|
|
15124
|
+
[key: string]:
|
|
15125
|
+
| string
|
|
15126
|
+
| number
|
|
15127
|
+
| boolean
|
|
15128
|
+
| Array<unknown>
|
|
15129
|
+
| {
|
|
15130
|
+
[key: string]: unknown
|
|
15131
|
+
}
|
|
15132
|
+
| null
|
|
15133
|
+
}
|
|
15134
|
+
runsOn?: "computer"
|
|
15135
|
+
computer?: {
|
|
15136
|
+
id: string
|
|
15137
|
+
name: string
|
|
15138
|
+
folder: string
|
|
15139
|
+
online: boolean
|
|
15140
|
+
}
|
|
15141
|
+
movedAt?: string
|
|
15142
|
+
status: "active" | "archived"
|
|
15143
|
+
activeRunId: string | null
|
|
15144
|
+
lastMessageAt?: string
|
|
15145
|
+
messageCount: number
|
|
15146
|
+
createdAt: string
|
|
15147
|
+
updatedAt: string
|
|
15148
|
+
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
15149
|
+
approvalModeSource?: "thread" | "default" | "fallback" | "run"
|
|
15150
|
+
}
|
|
15151
|
+
}
|
|
15152
|
+
|
|
15153
|
+
export type MoveAgentThreadToCloudResponse =
|
|
15154
|
+
MoveAgentThreadToCloudResponses[keyof MoveAgentThreadToCloudResponses]
|
|
15155
|
+
|
|
15156
|
+
export type MoveAgentThreadToComputerData = {
|
|
15157
|
+
body: {
|
|
15158
|
+
computer: {
|
|
15159
|
+
id: string
|
|
15160
|
+
name: string
|
|
15161
|
+
folder: string
|
|
15162
|
+
}
|
|
15163
|
+
}
|
|
15164
|
+
path: {
|
|
15165
|
+
threadId: string
|
|
15166
|
+
}
|
|
15167
|
+
query?: never
|
|
15168
|
+
url: "/api/agent-threads/{threadId}/computer"
|
|
15169
|
+
}
|
|
15170
|
+
|
|
15171
|
+
export type MoveAgentThreadToComputerErrors = {
|
|
15172
|
+
/**
|
|
15173
|
+
* Response for status 400
|
|
15174
|
+
*/
|
|
15175
|
+
400: {
|
|
15176
|
+
error: string
|
|
15177
|
+
code?: string
|
|
15178
|
+
}
|
|
15179
|
+
/**
|
|
15180
|
+
* Response for status 403
|
|
15181
|
+
*/
|
|
15182
|
+
403: {
|
|
15183
|
+
error: string
|
|
15184
|
+
code?: string
|
|
15185
|
+
}
|
|
15186
|
+
/**
|
|
15187
|
+
* Response for status 404
|
|
15188
|
+
*/
|
|
15189
|
+
404: {
|
|
15190
|
+
error: string
|
|
15191
|
+
code?: string
|
|
15192
|
+
}
|
|
15193
|
+
/**
|
|
15194
|
+
* Response for status 409
|
|
15195
|
+
*/
|
|
15196
|
+
409: {
|
|
15197
|
+
error: string
|
|
15198
|
+
code?: string
|
|
15199
|
+
}
|
|
15200
|
+
/**
|
|
15201
|
+
* Response for status 501
|
|
15202
|
+
*/
|
|
15203
|
+
501: {
|
|
15204
|
+
error: string
|
|
15205
|
+
}
|
|
15206
|
+
}
|
|
15207
|
+
|
|
15208
|
+
export type MoveAgentThreadToComputerError =
|
|
15209
|
+
MoveAgentThreadToComputerErrors[keyof MoveAgentThreadToComputerErrors]
|
|
15210
|
+
|
|
15211
|
+
export type MoveAgentThreadToComputerResponses = {
|
|
15212
|
+
/**
|
|
15213
|
+
* Response for status 200
|
|
15214
|
+
*/
|
|
15215
|
+
200: {
|
|
15216
|
+
sandboxState?: {
|
|
15217
|
+
name: string
|
|
15218
|
+
status: "new" | "busy" | "ready" | "blocked" | "unavailable"
|
|
15219
|
+
initialized: boolean
|
|
15220
|
+
}
|
|
15221
|
+
id: string
|
|
15222
|
+
projectId: string
|
|
15223
|
+
kind: "conversation" | "subagent"
|
|
15224
|
+
parent?: {
|
|
15225
|
+
threadId: string
|
|
15226
|
+
spawnedBy: string
|
|
15227
|
+
key: string
|
|
15228
|
+
}
|
|
15229
|
+
ownerPrincipal: {
|
|
15230
|
+
type: "user" | "serviceAccount" | "system"
|
|
15231
|
+
id: string
|
|
15232
|
+
}
|
|
15233
|
+
owner: {
|
|
15234
|
+
type: "user" | "serviceAccount" | "system"
|
|
15235
|
+
id: string
|
|
15236
|
+
displayName?: string
|
|
15237
|
+
}
|
|
15238
|
+
participants: Array<{
|
|
15239
|
+
principal: {
|
|
15240
|
+
type: "user"
|
|
15241
|
+
id: string
|
|
15242
|
+
displayName?: string
|
|
15243
|
+
}
|
|
15244
|
+
addedAt: string
|
|
15245
|
+
addedBy: {
|
|
15246
|
+
type: "user" | "serviceAccount" | "system"
|
|
15247
|
+
id: string
|
|
15248
|
+
}
|
|
15249
|
+
}>
|
|
15250
|
+
title?: string
|
|
15251
|
+
sandboxParams?: {
|
|
15252
|
+
[key: string]:
|
|
15253
|
+
| string
|
|
15254
|
+
| number
|
|
15255
|
+
| boolean
|
|
15256
|
+
| Array<unknown>
|
|
15257
|
+
| {
|
|
15258
|
+
[key: string]: unknown
|
|
15259
|
+
}
|
|
15260
|
+
| null
|
|
15261
|
+
}
|
|
15262
|
+
runsOn?: "computer"
|
|
15263
|
+
computer?: {
|
|
15264
|
+
id: string
|
|
15265
|
+
name: string
|
|
15266
|
+
folder: string
|
|
15267
|
+
online: boolean
|
|
15268
|
+
}
|
|
15269
|
+
movedAt?: string
|
|
15270
|
+
status: "active" | "archived"
|
|
15271
|
+
activeRunId: string | null
|
|
15272
|
+
lastMessageAt?: string
|
|
15273
|
+
messageCount: number
|
|
15274
|
+
createdAt: string
|
|
15275
|
+
updatedAt: string
|
|
15276
|
+
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
15277
|
+
approvalModeSource?: "thread" | "default" | "fallback" | "run"
|
|
15278
|
+
}
|
|
15279
|
+
}
|
|
15280
|
+
|
|
15281
|
+
export type MoveAgentThreadToComputerResponse =
|
|
15282
|
+
MoveAgentThreadToComputerResponses[keyof MoveAgentThreadToComputerResponses]
|
|
15283
|
+
|
|
15284
|
+
export type ReleaseAgentComputerSessionData = {
|
|
15285
|
+
body?: never
|
|
15286
|
+
path: {
|
|
15287
|
+
sessionId: string
|
|
15288
|
+
}
|
|
15289
|
+
query?: never
|
|
15290
|
+
url: "/api/agent-computers/sessions/{sessionId}"
|
|
15291
|
+
}
|
|
15292
|
+
|
|
15293
|
+
export type ReleaseAgentComputerSessionErrors = {
|
|
15294
|
+
/**
|
|
15295
|
+
* Response for status 501
|
|
14242
15296
|
*/
|
|
14243
|
-
501:
|
|
15297
|
+
501: {
|
|
15298
|
+
error: string
|
|
15299
|
+
}
|
|
14244
15300
|
}
|
|
14245
15301
|
|
|
14246
|
-
export type
|
|
14247
|
-
|
|
15302
|
+
export type ReleaseAgentComputerSessionError =
|
|
15303
|
+
ReleaseAgentComputerSessionErrors[keyof ReleaseAgentComputerSessionErrors]
|
|
14248
15304
|
|
|
14249
|
-
export type
|
|
14250
|
-
/**
|
|
14251
|
-
* File content
|
|
14252
|
-
*/
|
|
14253
|
-
200: Blob | File
|
|
15305
|
+
export type ReleaseAgentComputerSessionResponses = {
|
|
14254
15306
|
/**
|
|
14255
|
-
*
|
|
15307
|
+
* Response for status 204
|
|
14256
15308
|
*/
|
|
14257
|
-
|
|
15309
|
+
204: unknown
|
|
14258
15310
|
}
|
|
14259
15311
|
|
|
14260
|
-
export type
|
|
14261
|
-
|
|
14262
|
-
|
|
14263
|
-
|
|
14264
|
-
|
|
14265
|
-
|
|
14266
|
-
|
|
15312
|
+
export type HoldAgentComputerSessionData = {
|
|
15313
|
+
body: {
|
|
15314
|
+
computer: {
|
|
15315
|
+
id: string
|
|
15316
|
+
name: string
|
|
15317
|
+
folder: string
|
|
15318
|
+
}
|
|
14267
15319
|
}
|
|
14268
|
-
|
|
14269
|
-
|
|
14270
|
-
disposition?: "inline" | "attachment"
|
|
14271
|
-
/**
|
|
14272
|
-
* Client cache key; the route still resolves the current file
|
|
14273
|
-
*/
|
|
14274
|
-
v?: string
|
|
14275
|
-
run: string
|
|
15320
|
+
path: {
|
|
15321
|
+
sessionId: string
|
|
14276
15322
|
}
|
|
14277
|
-
|
|
15323
|
+
query?: never
|
|
15324
|
+
url: "/api/agent-computers/sessions/{sessionId}"
|
|
14278
15325
|
}
|
|
14279
15326
|
|
|
14280
|
-
export type
|
|
15327
|
+
export type HoldAgentComputerSessionErrors = {
|
|
14281
15328
|
/**
|
|
14282
15329
|
* Response for status 400
|
|
14283
15330
|
*/
|
|
14284
|
-
400:
|
|
14285
|
-
|
|
14286
|
-
|
|
14287
|
-
|
|
14288
|
-
404: ErrorResponse
|
|
15331
|
+
400: {
|
|
15332
|
+
error: string
|
|
15333
|
+
code?: string
|
|
15334
|
+
}
|
|
14289
15335
|
/**
|
|
14290
|
-
*
|
|
15336
|
+
* Response for status 429
|
|
14291
15337
|
*/
|
|
14292
|
-
|
|
15338
|
+
429: {
|
|
15339
|
+
error: string
|
|
15340
|
+
}
|
|
14293
15341
|
/**
|
|
14294
|
-
*
|
|
15342
|
+
* Response for status 501
|
|
14295
15343
|
*/
|
|
14296
|
-
501:
|
|
15344
|
+
501: {
|
|
15345
|
+
error: string
|
|
15346
|
+
}
|
|
14297
15347
|
}
|
|
14298
15348
|
|
|
14299
|
-
export type
|
|
14300
|
-
|
|
15349
|
+
export type HoldAgentComputerSessionError =
|
|
15350
|
+
HoldAgentComputerSessionErrors[keyof HoldAgentComputerSessionErrors]
|
|
14301
15351
|
|
|
14302
|
-
export type
|
|
14303
|
-
/**
|
|
14304
|
-
* File content headers
|
|
14305
|
-
*/
|
|
14306
|
-
200: unknown
|
|
15352
|
+
export type HoldAgentComputerSessionResponses = {
|
|
14307
15353
|
/**
|
|
14308
|
-
*
|
|
15354
|
+
* Response for status 200
|
|
14309
15355
|
*/
|
|
14310
|
-
|
|
15356
|
+
200: {
|
|
15357
|
+
expiresAt: string
|
|
15358
|
+
waiting: Array<string>
|
|
15359
|
+
}
|
|
14311
15360
|
}
|
|
14312
15361
|
|
|
15362
|
+
export type HoldAgentComputerSessionResponse =
|
|
15363
|
+
HoldAgentComputerSessionResponses[keyof HoldAgentComputerSessionResponses]
|
|
15364
|
+
|
|
14313
15365
|
export type GetAgentPreferencesData = {
|
|
14314
15366
|
body?: never
|
|
14315
15367
|
path?: never
|
|
@@ -14491,6 +15543,14 @@ export type SetAgentThreadApprovalModeResponses = {
|
|
|
14491
15543
|
}
|
|
14492
15544
|
| null
|
|
14493
15545
|
}
|
|
15546
|
+
runsOn?: "computer"
|
|
15547
|
+
computer?: {
|
|
15548
|
+
id: string
|
|
15549
|
+
name: string
|
|
15550
|
+
folder: string
|
|
15551
|
+
online: boolean
|
|
15552
|
+
}
|
|
15553
|
+
movedAt?: string
|
|
14494
15554
|
status: "active" | "archived"
|
|
14495
15555
|
activeRunId: string | null
|
|
14496
15556
|
lastMessageAt?: string
|
|
@@ -14655,7 +15715,9 @@ export type ListAgentThreadApprovalsResponses = {
|
|
|
14655
15715
|
| "action.run_in_progress"
|
|
14656
15716
|
| "action.timeout"
|
|
14657
15717
|
| "agent.approval_authority_lost"
|
|
15718
|
+
| "agent.context_limit_exceeded"
|
|
14658
15719
|
| "agent.execution_failed"
|
|
15720
|
+
| "agent.step_limit_reached"
|
|
14659
15721
|
| "ai.usage_limit_exceeded"
|
|
14660
15722
|
| "ai.usage_limit_unavailable"
|
|
14661
15723
|
| "connector.adapter_invalid"
|
|
@@ -14888,7 +15950,9 @@ export type DecideAgentApprovalResponses = {
|
|
|
14888
15950
|
| "action.run_in_progress"
|
|
14889
15951
|
| "action.timeout"
|
|
14890
15952
|
| "agent.approval_authority_lost"
|
|
15953
|
+
| "agent.context_limit_exceeded"
|
|
14891
15954
|
| "agent.execution_failed"
|
|
15955
|
+
| "agent.step_limit_reached"
|
|
14892
15956
|
| "ai.usage_limit_exceeded"
|
|
14893
15957
|
| "ai.usage_limit_unavailable"
|
|
14894
15958
|
| "connector.adapter_invalid"
|
|
@@ -14980,6 +16044,7 @@ export type DecideAgentApprovalResponses = {
|
|
|
14980
16044
|
budgetTokens: number
|
|
14981
16045
|
}
|
|
14982
16046
|
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
16047
|
+
runsOn?: "computer"
|
|
14983
16048
|
modelId?: string
|
|
14984
16049
|
finishReason?:
|
|
14985
16050
|
| "stop"
|
|
@@ -15043,7 +16108,9 @@ export type DecideAgentApprovalResponses = {
|
|
|
15043
16108
|
code:
|
|
15044
16109
|
| "internal.unexpected"
|
|
15045
16110
|
| "runtime.cancelled"
|
|
16111
|
+
| "agent.context_limit_exceeded"
|
|
15046
16112
|
| "agent.execution_failed"
|
|
16113
|
+
| "agent.step_limit_reached"
|
|
15047
16114
|
| "ai.usage_limit_exceeded"
|
|
15048
16115
|
| "ai.usage_limit_unavailable"
|
|
15049
16116
|
message: string
|
|
@@ -15223,7 +16290,9 @@ export type ListAgentApprovalsResponses = {
|
|
|
15223
16290
|
| "action.run_in_progress"
|
|
15224
16291
|
| "action.timeout"
|
|
15225
16292
|
| "agent.approval_authority_lost"
|
|
16293
|
+
| "agent.context_limit_exceeded"
|
|
15226
16294
|
| "agent.execution_failed"
|
|
16295
|
+
| "agent.step_limit_reached"
|
|
15227
16296
|
| "ai.usage_limit_exceeded"
|
|
15228
16297
|
| "ai.usage_limit_unavailable"
|
|
15229
16298
|
| "connector.adapter_invalid"
|
|
@@ -15383,6 +16452,14 @@ export type GetObservedAgentThreadResponses = {
|
|
|
15383
16452
|
}
|
|
15384
16453
|
| null
|
|
15385
16454
|
}
|
|
16455
|
+
runsOn?: "computer"
|
|
16456
|
+
computer?: {
|
|
16457
|
+
id: string
|
|
16458
|
+
name: string
|
|
16459
|
+
folder: string
|
|
16460
|
+
online: boolean
|
|
16461
|
+
}
|
|
16462
|
+
movedAt?: string
|
|
15386
16463
|
status: "active" | "archived"
|
|
15387
16464
|
activeRunId: string | null
|
|
15388
16465
|
lastMessageAt?: string
|
|
@@ -15541,7 +16618,9 @@ export type ListObservedAgentThreadMessagesResponses = {
|
|
|
15541
16618
|
| "action.run_in_progress"
|
|
15542
16619
|
| "action.timeout"
|
|
15543
16620
|
| "agent.approval_authority_lost"
|
|
16621
|
+
| "agent.context_limit_exceeded"
|
|
15544
16622
|
| "agent.execution_failed"
|
|
16623
|
+
| "agent.step_limit_reached"
|
|
15545
16624
|
| "ai.usage_limit_exceeded"
|
|
15546
16625
|
| "ai.usage_limit_unavailable"
|
|
15547
16626
|
| "connector.adapter_invalid"
|
|
@@ -15742,6 +16821,17 @@ export type ListObservedAgentThreadMessagesResponses = {
|
|
|
15742
16821
|
[key: string]: unknown
|
|
15743
16822
|
}
|
|
15744
16823
|
| null
|
|
16824
|
+
outputFile?: {
|
|
16825
|
+
fileRef: {
|
|
16826
|
+
blobId: string
|
|
16827
|
+
digest: string
|
|
16828
|
+
sizeBytes: number
|
|
16829
|
+
fileName?: string
|
|
16830
|
+
mediaType?: string
|
|
16831
|
+
logicalPath?: string
|
|
16832
|
+
}
|
|
16833
|
+
path: string
|
|
16834
|
+
}
|
|
15745
16835
|
}
|
|
15746
16836
|
| {
|
|
15747
16837
|
type: "tool-call"
|
|
@@ -15794,6 +16884,10 @@ export type ListObservedAgentThreadMessagesResponses = {
|
|
|
15794
16884
|
}>
|
|
15795
16885
|
compaction?: {
|
|
15796
16886
|
checkpointId: string
|
|
16887
|
+
/**
|
|
16888
|
+
* `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.
|
|
16889
|
+
*/
|
|
16890
|
+
reason: "threshold" | "overflow"
|
|
15797
16891
|
summary: string
|
|
15798
16892
|
createdAt: string
|
|
15799
16893
|
}
|
|
@@ -15958,6 +17052,7 @@ export type ListObservedAgentThreadRunsResponses = {
|
|
|
15958
17052
|
budgetTokens: number
|
|
15959
17053
|
}
|
|
15960
17054
|
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
17055
|
+
runsOn?: "computer"
|
|
15961
17056
|
modelId?: string
|
|
15962
17057
|
finishReason?:
|
|
15963
17058
|
| "stop"
|
|
@@ -16021,7 +17116,9 @@ export type ListObservedAgentThreadRunsResponses = {
|
|
|
16021
17116
|
code:
|
|
16022
17117
|
| "internal.unexpected"
|
|
16023
17118
|
| "runtime.cancelled"
|
|
17119
|
+
| "agent.context_limit_exceeded"
|
|
16024
17120
|
| "agent.execution_failed"
|
|
17121
|
+
| "agent.step_limit_reached"
|
|
16025
17122
|
| "ai.usage_limit_exceeded"
|
|
16026
17123
|
| "ai.usage_limit_unavailable"
|
|
16027
17124
|
message: string
|
|
@@ -16519,7 +17616,7 @@ export type ListArtifactsErrors = {
|
|
|
16519
17616
|
400: {
|
|
16520
17617
|
error: string
|
|
16521
17618
|
/**
|
|
16522
|
-
* 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.
|
|
17619
|
+
* 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.
|
|
16523
17620
|
*/
|
|
16524
17621
|
code?: string
|
|
16525
17622
|
/**
|
|
@@ -16539,7 +17636,7 @@ export type ListArtifactsErrors = {
|
|
|
16539
17636
|
501: {
|
|
16540
17637
|
error: string
|
|
16541
17638
|
/**
|
|
16542
|
-
* 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.
|
|
17639
|
+
* 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.
|
|
16543
17640
|
*/
|
|
16544
17641
|
code?: string
|
|
16545
17642
|
/**
|
|
@@ -16616,7 +17713,7 @@ export type CreateArtifactErrors = {
|
|
|
16616
17713
|
400: {
|
|
16617
17714
|
error: string
|
|
16618
17715
|
/**
|
|
16619
|
-
* 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.
|
|
17716
|
+
* 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.
|
|
16620
17717
|
*/
|
|
16621
17718
|
code?: string
|
|
16622
17719
|
/**
|
|
@@ -16636,7 +17733,7 @@ export type CreateArtifactErrors = {
|
|
|
16636
17733
|
403: {
|
|
16637
17734
|
error: string
|
|
16638
17735
|
/**
|
|
16639
|
-
* 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.
|
|
17736
|
+
* 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.
|
|
16640
17737
|
*/
|
|
16641
17738
|
code?: string
|
|
16642
17739
|
/**
|
|
@@ -16656,7 +17753,7 @@ export type CreateArtifactErrors = {
|
|
|
16656
17753
|
404: {
|
|
16657
17754
|
error: string
|
|
16658
17755
|
/**
|
|
16659
|
-
* 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.
|
|
17756
|
+
* 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.
|
|
16660
17757
|
*/
|
|
16661
17758
|
code?: string
|
|
16662
17759
|
/**
|
|
@@ -16676,7 +17773,7 @@ export type CreateArtifactErrors = {
|
|
|
16676
17773
|
409: {
|
|
16677
17774
|
error: string
|
|
16678
17775
|
/**
|
|
16679
|
-
* 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.
|
|
17776
|
+
* 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.
|
|
16680
17777
|
*/
|
|
16681
17778
|
code?: string
|
|
16682
17779
|
/**
|
|
@@ -16696,7 +17793,7 @@ export type CreateArtifactErrors = {
|
|
|
16696
17793
|
501: {
|
|
16697
17794
|
error: string
|
|
16698
17795
|
/**
|
|
16699
|
-
* 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.
|
|
17796
|
+
* 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.
|
|
16700
17797
|
*/
|
|
16701
17798
|
code?: string
|
|
16702
17799
|
/**
|
|
@@ -16850,7 +17947,7 @@ export type DeleteArtifactErrors = {
|
|
|
16850
17947
|
403: {
|
|
16851
17948
|
error: string
|
|
16852
17949
|
/**
|
|
16853
|
-
* 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.
|
|
17950
|
+
* 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.
|
|
16854
17951
|
*/
|
|
16855
17952
|
code?: string
|
|
16856
17953
|
/**
|
|
@@ -16870,7 +17967,7 @@ export type DeleteArtifactErrors = {
|
|
|
16870
17967
|
404: {
|
|
16871
17968
|
error: string
|
|
16872
17969
|
/**
|
|
16873
|
-
* 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.
|
|
17970
|
+
* 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.
|
|
16874
17971
|
*/
|
|
16875
17972
|
code?: string
|
|
16876
17973
|
/**
|
|
@@ -16890,7 +17987,7 @@ export type DeleteArtifactErrors = {
|
|
|
16890
17987
|
501: {
|
|
16891
17988
|
error: string
|
|
16892
17989
|
/**
|
|
16893
|
-
* 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.
|
|
17990
|
+
* 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.
|
|
16894
17991
|
*/
|
|
16895
17992
|
code?: string
|
|
16896
17993
|
/**
|
|
@@ -16935,7 +18032,7 @@ export type GetArtifactErrors = {
|
|
|
16935
18032
|
403: {
|
|
16936
18033
|
error: string
|
|
16937
18034
|
/**
|
|
16938
|
-
* 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.
|
|
18035
|
+
* 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.
|
|
16939
18036
|
*/
|
|
16940
18037
|
code?: string
|
|
16941
18038
|
/**
|
|
@@ -16955,7 +18052,7 @@ export type GetArtifactErrors = {
|
|
|
16955
18052
|
404: {
|
|
16956
18053
|
error: string
|
|
16957
18054
|
/**
|
|
16958
|
-
* 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.
|
|
18055
|
+
* 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.
|
|
16959
18056
|
*/
|
|
16960
18057
|
code?: string
|
|
16961
18058
|
/**
|
|
@@ -16975,7 +18072,7 @@ export type GetArtifactErrors = {
|
|
|
16975
18072
|
501: {
|
|
16976
18073
|
error: string
|
|
16977
18074
|
/**
|
|
16978
|
-
* 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.
|
|
18075
|
+
* 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.
|
|
16979
18076
|
*/
|
|
16980
18077
|
code?: string
|
|
16981
18078
|
/**
|
|
@@ -17052,7 +18149,7 @@ export type ClearArtifactStateErrors = {
|
|
|
17052
18149
|
403: {
|
|
17053
18150
|
error: string
|
|
17054
18151
|
/**
|
|
17055
|
-
* 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.
|
|
18152
|
+
* 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.
|
|
17056
18153
|
*/
|
|
17057
18154
|
code?: string
|
|
17058
18155
|
/**
|
|
@@ -17072,7 +18169,7 @@ export type ClearArtifactStateErrors = {
|
|
|
17072
18169
|
404: {
|
|
17073
18170
|
error: string
|
|
17074
18171
|
/**
|
|
17075
|
-
* 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.
|
|
18172
|
+
* 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.
|
|
17076
18173
|
*/
|
|
17077
18174
|
code?: string
|
|
17078
18175
|
/**
|
|
@@ -17092,7 +18189,7 @@ export type ClearArtifactStateErrors = {
|
|
|
17092
18189
|
501: {
|
|
17093
18190
|
error: string
|
|
17094
18191
|
/**
|
|
17095
|
-
* 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.
|
|
18192
|
+
* 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.
|
|
17096
18193
|
*/
|
|
17097
18194
|
code?: string
|
|
17098
18195
|
/**
|
|
@@ -17141,7 +18238,7 @@ export type GetArtifactStateErrors = {
|
|
|
17141
18238
|
403: {
|
|
17142
18239
|
error: string
|
|
17143
18240
|
/**
|
|
17144
|
-
* 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.
|
|
18241
|
+
* 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.
|
|
17145
18242
|
*/
|
|
17146
18243
|
code?: string
|
|
17147
18244
|
/**
|
|
@@ -17161,7 +18258,7 @@ export type GetArtifactStateErrors = {
|
|
|
17161
18258
|
404: {
|
|
17162
18259
|
error: string
|
|
17163
18260
|
/**
|
|
17164
|
-
* 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.
|
|
18261
|
+
* 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.
|
|
17165
18262
|
*/
|
|
17166
18263
|
code?: string
|
|
17167
18264
|
/**
|
|
@@ -17181,7 +18278,7 @@ export type GetArtifactStateErrors = {
|
|
|
17181
18278
|
501: {
|
|
17182
18279
|
error: string
|
|
17183
18280
|
/**
|
|
17184
|
-
* 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.
|
|
18281
|
+
* 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.
|
|
17185
18282
|
*/
|
|
17186
18283
|
code?: string
|
|
17187
18284
|
/**
|
|
@@ -17240,7 +18337,7 @@ export type DeleteArtifactStateValueErrors = {
|
|
|
17240
18337
|
400: {
|
|
17241
18338
|
error: string
|
|
17242
18339
|
/**
|
|
17243
|
-
* 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.
|
|
18340
|
+
* 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.
|
|
17244
18341
|
*/
|
|
17245
18342
|
code?: string
|
|
17246
18343
|
/**
|
|
@@ -17260,7 +18357,7 @@ export type DeleteArtifactStateValueErrors = {
|
|
|
17260
18357
|
403: {
|
|
17261
18358
|
error: string
|
|
17262
18359
|
/**
|
|
17263
|
-
* 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.
|
|
18360
|
+
* 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.
|
|
17264
18361
|
*/
|
|
17265
18362
|
code?: string
|
|
17266
18363
|
/**
|
|
@@ -17280,7 +18377,7 @@ export type DeleteArtifactStateValueErrors = {
|
|
|
17280
18377
|
404: {
|
|
17281
18378
|
error: string
|
|
17282
18379
|
/**
|
|
17283
|
-
* 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.
|
|
18380
|
+
* 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.
|
|
17284
18381
|
*/
|
|
17285
18382
|
code?: string
|
|
17286
18383
|
/**
|
|
@@ -17300,7 +18397,7 @@ export type DeleteArtifactStateValueErrors = {
|
|
|
17300
18397
|
501: {
|
|
17301
18398
|
error: string
|
|
17302
18399
|
/**
|
|
17303
|
-
* 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.
|
|
18400
|
+
* 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.
|
|
17304
18401
|
*/
|
|
17305
18402
|
code?: string
|
|
17306
18403
|
/**
|
|
@@ -17356,7 +18453,7 @@ export type SetArtifactStateErrors = {
|
|
|
17356
18453
|
400: {
|
|
17357
18454
|
error: string
|
|
17358
18455
|
/**
|
|
17359
|
-
* 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.
|
|
18456
|
+
* 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.
|
|
17360
18457
|
*/
|
|
17361
18458
|
code?: string
|
|
17362
18459
|
/**
|
|
@@ -17376,7 +18473,7 @@ export type SetArtifactStateErrors = {
|
|
|
17376
18473
|
403: {
|
|
17377
18474
|
error: string
|
|
17378
18475
|
/**
|
|
17379
|
-
* 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.
|
|
18476
|
+
* 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.
|
|
17380
18477
|
*/
|
|
17381
18478
|
code?: string
|
|
17382
18479
|
/**
|
|
@@ -17396,7 +18493,7 @@ export type SetArtifactStateErrors = {
|
|
|
17396
18493
|
404: {
|
|
17397
18494
|
error: string
|
|
17398
18495
|
/**
|
|
17399
|
-
* 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.
|
|
18496
|
+
* 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.
|
|
17400
18497
|
*/
|
|
17401
18498
|
code?: string
|
|
17402
18499
|
/**
|
|
@@ -17416,7 +18513,7 @@ export type SetArtifactStateErrors = {
|
|
|
17416
18513
|
413: {
|
|
17417
18514
|
error: string
|
|
17418
18515
|
/**
|
|
17419
|
-
* 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.
|
|
18516
|
+
* 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.
|
|
17420
18517
|
*/
|
|
17421
18518
|
code?: string
|
|
17422
18519
|
/**
|
|
@@ -17436,7 +18533,7 @@ export type SetArtifactStateErrors = {
|
|
|
17436
18533
|
501: {
|
|
17437
18534
|
error: string
|
|
17438
18535
|
/**
|
|
17439
|
-
* 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.
|
|
18536
|
+
* 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.
|
|
17440
18537
|
*/
|
|
17441
18538
|
code?: string
|
|
17442
18539
|
/**
|
|
@@ -17510,7 +18607,7 @@ export type PublishArtifactVersionErrors = {
|
|
|
17510
18607
|
400: {
|
|
17511
18608
|
error: string
|
|
17512
18609
|
/**
|
|
17513
|
-
* 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.
|
|
18610
|
+
* 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.
|
|
17514
18611
|
*/
|
|
17515
18612
|
code?: string
|
|
17516
18613
|
/**
|
|
@@ -17530,7 +18627,7 @@ export type PublishArtifactVersionErrors = {
|
|
|
17530
18627
|
403: {
|
|
17531
18628
|
error: string
|
|
17532
18629
|
/**
|
|
17533
|
-
* 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.
|
|
18630
|
+
* 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.
|
|
17534
18631
|
*/
|
|
17535
18632
|
code?: string
|
|
17536
18633
|
/**
|
|
@@ -17550,7 +18647,7 @@ export type PublishArtifactVersionErrors = {
|
|
|
17550
18647
|
404: {
|
|
17551
18648
|
error: string
|
|
17552
18649
|
/**
|
|
17553
|
-
* 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.
|
|
18650
|
+
* 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.
|
|
17554
18651
|
*/
|
|
17555
18652
|
code?: string
|
|
17556
18653
|
/**
|
|
@@ -17570,7 +18667,7 @@ export type PublishArtifactVersionErrors = {
|
|
|
17570
18667
|
409: {
|
|
17571
18668
|
error: string
|
|
17572
18669
|
/**
|
|
17573
|
-
* 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.
|
|
18670
|
+
* 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.
|
|
17574
18671
|
*/
|
|
17575
18672
|
code?: string
|
|
17576
18673
|
/**
|
|
@@ -17590,7 +18687,7 @@ export type PublishArtifactVersionErrors = {
|
|
|
17590
18687
|
501: {
|
|
17591
18688
|
error: string
|
|
17592
18689
|
/**
|
|
17593
|
-
* 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.
|
|
18690
|
+
* 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.
|
|
17594
18691
|
*/
|
|
17595
18692
|
code?: string
|
|
17596
18693
|
/**
|
|
@@ -17750,7 +18847,7 @@ export type CreateArtifactFrameErrors = {
|
|
|
17750
18847
|
403: {
|
|
17751
18848
|
error: string
|
|
17752
18849
|
/**
|
|
17753
|
-
* 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.
|
|
18850
|
+
* 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.
|
|
17754
18851
|
*/
|
|
17755
18852
|
code?: string
|
|
17756
18853
|
/**
|
|
@@ -17770,7 +18867,7 @@ export type CreateArtifactFrameErrors = {
|
|
|
17770
18867
|
404: {
|
|
17771
18868
|
error: string
|
|
17772
18869
|
/**
|
|
17773
|
-
* 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.
|
|
18870
|
+
* 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.
|
|
17774
18871
|
*/
|
|
17775
18872
|
code?: string
|
|
17776
18873
|
/**
|
|
@@ -17790,7 +18887,7 @@ export type CreateArtifactFrameErrors = {
|
|
|
17790
18887
|
409: {
|
|
17791
18888
|
error: string
|
|
17792
18889
|
/**
|
|
17793
|
-
* 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.
|
|
18890
|
+
* 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.
|
|
17794
18891
|
*/
|
|
17795
18892
|
code?: string
|
|
17796
18893
|
/**
|
|
@@ -17810,7 +18907,7 @@ export type CreateArtifactFrameErrors = {
|
|
|
17810
18907
|
501: {
|
|
17811
18908
|
error: string
|
|
17812
18909
|
/**
|
|
17813
|
-
* 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.
|
|
18910
|
+
* 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.
|
|
17814
18911
|
*/
|
|
17815
18912
|
code?: string
|
|
17816
18913
|
/**
|
|
@@ -17867,7 +18964,7 @@ export type GetArtifactVersionErrors = {
|
|
|
17867
18964
|
403: {
|
|
17868
18965
|
error: string
|
|
17869
18966
|
/**
|
|
17870
|
-
* 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.
|
|
18967
|
+
* 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.
|
|
17871
18968
|
*/
|
|
17872
18969
|
code?: string
|
|
17873
18970
|
/**
|
|
@@ -17887,7 +18984,7 @@ export type GetArtifactVersionErrors = {
|
|
|
17887
18984
|
404: {
|
|
17888
18985
|
error: string
|
|
17889
18986
|
/**
|
|
17890
|
-
* 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.
|
|
18987
|
+
* 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.
|
|
17891
18988
|
*/
|
|
17892
18989
|
code?: string
|
|
17893
18990
|
/**
|
|
@@ -17907,7 +19004,7 @@ export type GetArtifactVersionErrors = {
|
|
|
17907
19004
|
501: {
|
|
17908
19005
|
error: string
|
|
17909
19006
|
/**
|
|
17910
|
-
* 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.
|
|
19007
|
+
* 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.
|
|
17911
19008
|
*/
|
|
17912
19009
|
code?: string
|
|
17913
19010
|
/**
|
|
@@ -18775,7 +19872,7 @@ export type ListModelsResponses = {
|
|
|
18775
19872
|
|
|
18776
19873
|
export type ListModelsResponse = ListModelsResponses[keyof ListModelsResponses]
|
|
18777
19874
|
|
|
18778
|
-
export type
|
|
19875
|
+
export type GetObjectLinkLineageData = {
|
|
18779
19876
|
body?: never
|
|
18780
19877
|
path: {
|
|
18781
19878
|
objectTypeId: string
|
|
@@ -18786,22 +19883,16 @@ export type RemoveObjectLinkData = {
|
|
|
18786
19883
|
targetTypeId: string
|
|
18787
19884
|
targetId: string
|
|
18788
19885
|
}
|
|
18789
|
-
url: "/api/objects/{objectTypeId}/{objectId}/links/{linkId}"
|
|
19886
|
+
url: "/api/objects/{objectTypeId}/{objectId}/links/{linkId}/lineage"
|
|
18790
19887
|
}
|
|
18791
19888
|
|
|
18792
|
-
export type
|
|
19889
|
+
export type GetObjectLinkLineageErrors = {
|
|
18793
19890
|
/**
|
|
18794
19891
|
* Response for status 400
|
|
18795
19892
|
*/
|
|
18796
19893
|
400: {
|
|
18797
19894
|
error: string
|
|
18798
19895
|
}
|
|
18799
|
-
/**
|
|
18800
|
-
* Response for status 403
|
|
18801
|
-
*/
|
|
18802
|
-
403: {
|
|
18803
|
-
error: string
|
|
18804
|
-
}
|
|
18805
19896
|
/**
|
|
18806
19897
|
* Response for status 404
|
|
18807
19898
|
*/
|
|
@@ -18810,118 +19901,169 @@ export type RemoveObjectLinkErrors = {
|
|
|
18810
19901
|
}
|
|
18811
19902
|
}
|
|
18812
19903
|
|
|
18813
|
-
export type
|
|
19904
|
+
export type GetObjectLinkLineageError = GetObjectLinkLineageErrors[keyof GetObjectLinkLineageErrors]
|
|
18814
19905
|
|
|
18815
|
-
export type
|
|
19906
|
+
export type GetObjectLinkLineageResponses = {
|
|
18816
19907
|
/**
|
|
18817
19908
|
* Response for status 200
|
|
18818
19909
|
*/
|
|
18819
19910
|
200: {
|
|
18820
|
-
|
|
18821
|
-
|
|
18822
|
-
|
|
18823
|
-
|
|
18824
|
-
export type RemoveObjectLinkResponse = RemoveObjectLinkResponses[keyof RemoveObjectLinkResponses]
|
|
18825
|
-
|
|
18826
|
-
export type UpsertObjectLinkData = {
|
|
18827
|
-
body: {
|
|
19911
|
+
sourceTypeId: string
|
|
19912
|
+
sourceId: string
|
|
19913
|
+
linkId: string
|
|
18828
19914
|
targetTypeId: string
|
|
18829
19915
|
targetId: string
|
|
18830
|
-
|
|
18831
|
-
|
|
19916
|
+
existence: {
|
|
19917
|
+
source: string
|
|
19918
|
+
columns?: Array<string>
|
|
19919
|
+
origins?: Array<{
|
|
19920
|
+
datasetId: string
|
|
19921
|
+
column: string
|
|
19922
|
+
}>
|
|
18832
19923
|
}
|
|
18833
|
-
|
|
18834
|
-
|
|
18835
|
-
|
|
18836
|
-
|
|
18837
|
-
|
|
18838
|
-
|
|
18839
|
-
|
|
18840
|
-
|
|
18841
|
-
|
|
18842
|
-
|
|
18843
|
-
|
|
18844
|
-
|
|
18845
|
-
|
|
18846
|
-
|
|
18847
|
-
|
|
18848
|
-
|
|
18849
|
-
|
|
18850
|
-
|
|
18851
|
-
|
|
18852
|
-
|
|
18853
|
-
|
|
18854
|
-
|
|
18855
|
-
|
|
18856
|
-
|
|
18857
|
-
|
|
18858
|
-
|
|
18859
|
-
|
|
18860
|
-
|
|
18861
|
-
|
|
18862
|
-
|
|
18863
|
-
|
|
18864
|
-
|
|
18865
|
-
|
|
18866
|
-
|
|
18867
|
-
|
|
18868
|
-
|
|
18869
|
-
|
|
18870
|
-
|
|
18871
|
-
|
|
18872
|
-
|
|
18873
|
-
}
|
|
18874
|
-
|
|
18875
|
-
|
|
18876
|
-
|
|
18877
|
-
|
|
18878
|
-
|
|
18879
|
-
|
|
18880
|
-
|
|
18881
|
-
|
|
18882
|
-
|
|
18883
|
-
|
|
18884
|
-
|
|
18885
|
-
|
|
18886
|
-
|
|
18887
|
-
|
|
18888
|
-
|
|
18889
|
-
|
|
18890
|
-
|
|
18891
|
-
|
|
18892
|
-
|
|
18893
|
-
|
|
18894
|
-
|
|
18895
|
-
|
|
18896
|
-
|
|
18897
|
-
|
|
18898
|
-
|
|
18899
|
-
|
|
18900
|
-
|
|
18901
|
-
|
|
18902
|
-
|
|
18903
|
-
|
|
18904
|
-
|
|
18905
|
-
|
|
18906
|
-
|
|
18907
|
-
|
|
18908
|
-
|
|
18909
|
-
|
|
18910
|
-
|
|
18911
|
-
|
|
18912
|
-
|
|
18913
|
-
|
|
18914
|
-
|
|
18915
|
-
|
|
18916
|
-
|
|
18917
|
-
|
|
18918
|
-
|
|
18919
|
-
|
|
18920
|
-
|
|
19924
|
+
/**
|
|
19925
|
+
* Keyed `projection:<id>`, `commit:<id>`, `commit@<instant>` when the commit is unknown, `telemetry:<commitId>` and `identity`.
|
|
19926
|
+
*/
|
|
19927
|
+
sources: {
|
|
19928
|
+
[key: string]:
|
|
19929
|
+
| {
|
|
19930
|
+
kind: "projection"
|
|
19931
|
+
projectionId: string
|
|
19932
|
+
/**
|
|
19933
|
+
* Absent for a caller who cannot view the projection's runs.
|
|
19934
|
+
*/
|
|
19935
|
+
projectionRunId?: string
|
|
19936
|
+
/**
|
|
19937
|
+
* The dataset version applied. Absent for a caller who cannot view the dataset.
|
|
19938
|
+
*/
|
|
19939
|
+
datasetVersion?: {
|
|
19940
|
+
datasetId: string
|
|
19941
|
+
versionId: string
|
|
19942
|
+
}
|
|
19943
|
+
/**
|
|
19944
|
+
* 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.
|
|
19945
|
+
*/
|
|
19946
|
+
rowOrigins?: Array<{
|
|
19947
|
+
datasetId: string
|
|
19948
|
+
column: string
|
|
19949
|
+
}>
|
|
19950
|
+
}
|
|
19951
|
+
| {
|
|
19952
|
+
kind: "edit"
|
|
19953
|
+
/**
|
|
19954
|
+
* Null when the commits made at that instant cannot be told apart.
|
|
19955
|
+
*/
|
|
19956
|
+
commitId: string | null
|
|
19957
|
+
committedAt: string
|
|
19958
|
+
/**
|
|
19959
|
+
* Principal on whose behalf the commit ran; absent for automatic or anonymous work.
|
|
19960
|
+
*/
|
|
19961
|
+
requestedBy?: {
|
|
19962
|
+
type: "user" | "serviceAccount"
|
|
19963
|
+
id: string
|
|
19964
|
+
}
|
|
19965
|
+
executor?:
|
|
19966
|
+
| {
|
|
19967
|
+
type: "request"
|
|
19968
|
+
requestId: string
|
|
19969
|
+
}
|
|
19970
|
+
| {
|
|
19971
|
+
type: "primitive"
|
|
19972
|
+
kind:
|
|
19973
|
+
| "action"
|
|
19974
|
+
| "pipeline"
|
|
19975
|
+
| "projection"
|
|
19976
|
+
| "rule"
|
|
19977
|
+
| "sync"
|
|
19978
|
+
| "webhook"
|
|
19979
|
+
| "workflow"
|
|
19980
|
+
id: string
|
|
19981
|
+
runId: string
|
|
19982
|
+
}
|
|
19983
|
+
| {
|
|
19984
|
+
type: "agent"
|
|
19985
|
+
runId: string
|
|
19986
|
+
}
|
|
19987
|
+
| {
|
|
19988
|
+
type: "kernel"
|
|
19989
|
+
operation:
|
|
19990
|
+
| {
|
|
19991
|
+
type: "ontology.recover"
|
|
19992
|
+
recoveryId: string
|
|
19993
|
+
}
|
|
19994
|
+
| {
|
|
19995
|
+
type: "ontology.indexVectors"
|
|
19996
|
+
indexingId: string
|
|
19997
|
+
}
|
|
19998
|
+
}
|
|
19999
|
+
/**
|
|
20000
|
+
* Absent for a direct write, and for an Action run the caller cannot view.
|
|
20001
|
+
*/
|
|
20002
|
+
action?: {
|
|
20003
|
+
actionId: string
|
|
20004
|
+
runId: string
|
|
20005
|
+
}
|
|
20006
|
+
}
|
|
20007
|
+
| {
|
|
20008
|
+
kind: "telemetry"
|
|
20009
|
+
commitId: string
|
|
20010
|
+
committedAt: string
|
|
20011
|
+
projectionId?: string
|
|
20012
|
+
/**
|
|
20013
|
+
* Principal on whose behalf the commit ran; absent for automatic or anonymous work.
|
|
20014
|
+
*/
|
|
20015
|
+
requestedBy?: {
|
|
20016
|
+
type: "user" | "serviceAccount"
|
|
20017
|
+
id: string
|
|
20018
|
+
}
|
|
20019
|
+
executor?:
|
|
20020
|
+
| {
|
|
20021
|
+
type: "request"
|
|
20022
|
+
requestId: string
|
|
20023
|
+
}
|
|
20024
|
+
| {
|
|
20025
|
+
type: "primitive"
|
|
20026
|
+
kind:
|
|
20027
|
+
| "action"
|
|
20028
|
+
| "pipeline"
|
|
20029
|
+
| "projection"
|
|
20030
|
+
| "rule"
|
|
20031
|
+
| "sync"
|
|
20032
|
+
| "webhook"
|
|
20033
|
+
| "workflow"
|
|
20034
|
+
id: string
|
|
20035
|
+
runId: string
|
|
20036
|
+
}
|
|
20037
|
+
| {
|
|
20038
|
+
type: "agent"
|
|
20039
|
+
runId: string
|
|
20040
|
+
}
|
|
20041
|
+
| {
|
|
20042
|
+
type: "kernel"
|
|
20043
|
+
operation:
|
|
20044
|
+
| {
|
|
20045
|
+
type: "ontology.recover"
|
|
20046
|
+
recoveryId: string
|
|
20047
|
+
}
|
|
20048
|
+
| {
|
|
20049
|
+
type: "ontology.indexVectors"
|
|
20050
|
+
indexingId: string
|
|
20051
|
+
}
|
|
20052
|
+
}
|
|
20053
|
+
}
|
|
20054
|
+
| {
|
|
20055
|
+
kind: "identity"
|
|
20056
|
+
}
|
|
20057
|
+
}
|
|
20058
|
+
/**
|
|
20059
|
+
* Steps left out because the caller cannot view them.
|
|
20060
|
+
*/
|
|
20061
|
+
restricted: number
|
|
18921
20062
|
}
|
|
18922
20063
|
}
|
|
18923
20064
|
|
|
18924
|
-
export type
|
|
20065
|
+
export type GetObjectLinkLineageResponse =
|
|
20066
|
+
GetObjectLinkLineageResponses[keyof GetObjectLinkLineageResponses]
|
|
18925
20067
|
|
|
18926
20068
|
export type GetBulkTelemetryHistoryData = {
|
|
18927
20069
|
body: {
|
|
@@ -20955,6 +22097,7 @@ export type ListUsersData = {
|
|
|
20955
22097
|
search?: string
|
|
20956
22098
|
limit?: number
|
|
20957
22099
|
offset?: number
|
|
22100
|
+
email?: string
|
|
20958
22101
|
}
|
|
20959
22102
|
url: "/api/users"
|
|
20960
22103
|
}
|
|
@@ -21062,6 +22205,9 @@ export type ListProjectionsResponses = {
|
|
|
21062
22205
|
properties: {
|
|
21063
22206
|
[key: string]: string
|
|
21064
22207
|
}
|
|
22208
|
+
users?: {
|
|
22209
|
+
[key: string]: "email"
|
|
22210
|
+
}
|
|
21065
22211
|
links: {
|
|
21066
22212
|
[key: string]: {
|
|
21067
22213
|
linkId: string
|
|
@@ -21663,6 +22809,9 @@ export type GetProjectionResponses = {
|
|
|
21663
22809
|
properties: {
|
|
21664
22810
|
[key: string]: string
|
|
21665
22811
|
}
|
|
22812
|
+
users?: {
|
|
22813
|
+
[key: string]: "email"
|
|
22814
|
+
}
|
|
21666
22815
|
links: {
|
|
21667
22816
|
[key: string]: {
|
|
21668
22817
|
linkId: string
|