@remotehost/sdk 0.2.0 → 0.4.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/dist/generated/schema.d.ts +1375 -93
- package/dist/generated/schema.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export interface paths {
|
|
|
10
10
|
path?: never;
|
|
11
11
|
cookie?: never;
|
|
12
12
|
};
|
|
13
|
+
/** List your organizations */
|
|
13
14
|
get: operations["listMyOrgs"];
|
|
14
15
|
put?: never;
|
|
15
16
|
post?: never;
|
|
@@ -26,8 +27,10 @@ export interface paths {
|
|
|
26
27
|
path?: never;
|
|
27
28
|
cookie?: never;
|
|
28
29
|
};
|
|
30
|
+
/** List projects */
|
|
29
31
|
get: operations["listOrgProjects"];
|
|
30
32
|
put?: never;
|
|
33
|
+
/** Create a project */
|
|
31
34
|
post: operations["createProject"];
|
|
32
35
|
delete?: never;
|
|
33
36
|
options?: never;
|
|
@@ -48,6 +51,7 @@ export interface paths {
|
|
|
48
51
|
delete?: never;
|
|
49
52
|
options?: never;
|
|
50
53
|
head?: never;
|
|
54
|
+
/** Update a project */
|
|
51
55
|
patch: operations["updateProject"];
|
|
52
56
|
trace?: never;
|
|
53
57
|
};
|
|
@@ -58,6 +62,7 @@ export interface paths {
|
|
|
58
62
|
path?: never;
|
|
59
63
|
cookie?: never;
|
|
60
64
|
};
|
|
65
|
+
/** List a project's repositories */
|
|
61
66
|
get: operations["listProjectRepos"];
|
|
62
67
|
put?: never;
|
|
63
68
|
post?: never;
|
|
@@ -74,6 +79,7 @@ export interface paths {
|
|
|
74
79
|
path?: never;
|
|
75
80
|
cookie?: never;
|
|
76
81
|
};
|
|
82
|
+
/** List a project's MCP connections */
|
|
77
83
|
get: operations["listProjectMcpConnections"];
|
|
78
84
|
put?: never;
|
|
79
85
|
post?: never;
|
|
@@ -90,6 +96,7 @@ export interface paths {
|
|
|
90
96
|
path?: never;
|
|
91
97
|
cookie?: never;
|
|
92
98
|
};
|
|
99
|
+
/** List a project's skill connections */
|
|
93
100
|
get: operations["listProjectSkillConnections"];
|
|
94
101
|
put?: never;
|
|
95
102
|
post?: never;
|
|
@@ -106,6 +113,7 @@ export interface paths {
|
|
|
106
113
|
path?: never;
|
|
107
114
|
cookie?: never;
|
|
108
115
|
};
|
|
116
|
+
/** List project members */
|
|
109
117
|
get: operations["listProjectMembers"];
|
|
110
118
|
put?: never;
|
|
111
119
|
post?: never;
|
|
@@ -122,6 +130,7 @@ export interface paths {
|
|
|
122
130
|
path?: never;
|
|
123
131
|
cookie?: never;
|
|
124
132
|
};
|
|
133
|
+
/** Read an organization's subscription */
|
|
125
134
|
get: operations["getOrgSubscription"];
|
|
126
135
|
put?: never;
|
|
127
136
|
post?: never;
|
|
@@ -138,8 +147,16 @@ export interface paths {
|
|
|
138
147
|
path?: never;
|
|
139
148
|
cookie?: never;
|
|
140
149
|
};
|
|
150
|
+
/**
|
|
151
|
+
* List sandboxes
|
|
152
|
+
* @description Newest first. Deleted sandboxes are excluded.
|
|
153
|
+
*/
|
|
141
154
|
get: operations["listOrgSandboxes"];
|
|
142
155
|
put?: never;
|
|
156
|
+
/**
|
|
157
|
+
* Create a sandbox
|
|
158
|
+
* @description `agent` (`claude` or `codex`) and `projectId` are required; every other field falls back to the project's defaults, the selected profile, or a server-generated value. `profile` picks a workload shape (`auto`, `agent-small`, `agent-standard`, `build-heavy`, `browser-heavy`, `repo-large` or `long-running`), and `machineSize` overrides its initial machine tier. `region` picks where it runs; an unavailable region is refused rather than replaced. Infrastructure tier comes from the org's plan. `endUserId` and `metadata` attribute the sandbox to one of your own users. The sandbox is returned while it is still provisioning; poll GET /sandboxes/{sandboxId} until it is ready.
|
|
159
|
+
*/
|
|
143
160
|
post: operations["createSandbox"];
|
|
144
161
|
delete?: never;
|
|
145
162
|
options?: never;
|
|
@@ -156,6 +173,10 @@ export interface paths {
|
|
|
156
173
|
};
|
|
157
174
|
get?: never;
|
|
158
175
|
put?: never;
|
|
176
|
+
/**
|
|
177
|
+
* Put a sandbox to sleep
|
|
178
|
+
* @description Snapshots the sandbox, releases its machine and ends machine-time billing. A sleeping sandbox reports status `stopped` and keeps everything for wake. An ephemeral sandbox has no snapshot to keep, so sleeping ends it.
|
|
179
|
+
*/
|
|
159
180
|
post: operations["sleepSandbox"];
|
|
160
181
|
delete?: never;
|
|
161
182
|
options?: never;
|
|
@@ -173,6 +194,7 @@ export interface paths {
|
|
|
173
194
|
get?: never;
|
|
174
195
|
put?: never;
|
|
175
196
|
/**
|
|
197
|
+
* Stop a sandbox
|
|
176
198
|
* @deprecated
|
|
177
199
|
* @description Deprecated: use POST /sandboxes/{sandboxId}/sleep.
|
|
178
200
|
*/
|
|
@@ -192,6 +214,10 @@ export interface paths {
|
|
|
192
214
|
};
|
|
193
215
|
get?: never;
|
|
194
216
|
put?: never;
|
|
217
|
+
/**
|
|
218
|
+
* Destroy a sandbox
|
|
219
|
+
* @description Permanently deletes the sandbox and its retained snapshot. Sleep it instead if you intend to come back to it.
|
|
220
|
+
*/
|
|
195
221
|
post: operations["destroySandbox"];
|
|
196
222
|
delete?: never;
|
|
197
223
|
options?: never;
|
|
@@ -208,6 +234,10 @@ export interface paths {
|
|
|
208
234
|
};
|
|
209
235
|
get?: never;
|
|
210
236
|
put?: never;
|
|
237
|
+
/**
|
|
238
|
+
* Renew an ephemeral sandbox
|
|
239
|
+
* @description Extends a running ephemeral sandbox's expiry by its configured TTL. The plan's session cap still applies; once it is exhausted the sandbox can no longer be renewed.
|
|
240
|
+
*/
|
|
211
241
|
post: operations["renewSandbox"];
|
|
212
242
|
delete?: never;
|
|
213
243
|
options?: never;
|
|
@@ -224,6 +254,10 @@ export interface paths {
|
|
|
224
254
|
};
|
|
225
255
|
get?: never;
|
|
226
256
|
put?: never;
|
|
257
|
+
/**
|
|
258
|
+
* Resize a sandbox
|
|
259
|
+
* @description Sets an exact allocation. A sleeping sandbox's allocation changes immediately. A running sandbox is resized live only when the provider can verify the change; otherwise the shape is stored as `pendingAllocation` and applied on the next wake.
|
|
260
|
+
*/
|
|
227
261
|
post: operations["resizeSandbox"];
|
|
228
262
|
delete?: never;
|
|
229
263
|
options?: never;
|
|
@@ -240,6 +274,10 @@ export interface paths {
|
|
|
240
274
|
};
|
|
241
275
|
get?: never;
|
|
242
276
|
put?: never;
|
|
277
|
+
/**
|
|
278
|
+
* Wake a sleeping sandbox
|
|
279
|
+
* @description Boots a sleeping sandbox from its own snapshot.
|
|
280
|
+
*/
|
|
243
281
|
post: operations["wakeSandbox"];
|
|
244
282
|
delete?: never;
|
|
245
283
|
options?: never;
|
|
@@ -257,6 +295,7 @@ export interface paths {
|
|
|
257
295
|
get?: never;
|
|
258
296
|
put?: never;
|
|
259
297
|
/**
|
|
298
|
+
* Resume a sandbox
|
|
260
299
|
* @deprecated
|
|
261
300
|
* @description Deprecated: use POST /sandboxes/{sandboxId}/wake.
|
|
262
301
|
*/
|
|
@@ -274,7 +313,10 @@ export interface paths {
|
|
|
274
313
|
path?: never;
|
|
275
314
|
cookie?: never;
|
|
276
315
|
};
|
|
277
|
-
/**
|
|
316
|
+
/**
|
|
317
|
+
* Retrieve a sandbox
|
|
318
|
+
* @description Poll this to follow provisioning and lifecycle changes. The platform does not send lifecycle webhooks.
|
|
319
|
+
*/
|
|
278
320
|
get: operations["getSandbox"];
|
|
279
321
|
put?: never;
|
|
280
322
|
post?: never;
|
|
@@ -295,7 +337,7 @@ export interface paths {
|
|
|
295
337
|
put?: never;
|
|
296
338
|
/**
|
|
297
339
|
* Run a command in a sandbox
|
|
298
|
-
* @description Runs a non-interactive command to
|
|
340
|
+
* @description Runs a non-interactive command through /bin/sh in /code and waits for it to exit. The sandbox must be running or ready. Standard output and error are each capped at 64 KiB; the tail is kept when either is truncated. The default timeout is 120 seconds. A non-zero exitCode is still a successful request: the command ran and failed. A command that hits the timeout returns timedOut true and exitCode 124.
|
|
299
341
|
*/
|
|
300
342
|
post: operations["execSandboxCommand"];
|
|
301
343
|
delete?: never;
|
|
@@ -331,7 +373,10 @@ export interface paths {
|
|
|
331
373
|
path?: never;
|
|
332
374
|
cookie?: never;
|
|
333
375
|
};
|
|
334
|
-
/**
|
|
376
|
+
/**
|
|
377
|
+
* Read a sandbox file
|
|
378
|
+
* @description Returns the content as UTF-8, or as base64 for binary files, with its size in bytes. Relative paths resolve beneath /code.
|
|
379
|
+
*/
|
|
335
380
|
get: operations["readSandboxFile"];
|
|
336
381
|
/**
|
|
337
382
|
* Write a sandbox file
|
|
@@ -360,7 +405,7 @@ export interface paths {
|
|
|
360
405
|
put?: never;
|
|
361
406
|
/**
|
|
362
407
|
* Create a sandbox preview
|
|
363
|
-
* @description A team preview (the default) is a signed URL for signed-in organization members. A public preview is a persistent, revocable link
|
|
408
|
+
* @description A team preview (the default) is a signed URL for signed-in organization members. A public preview is a persistent, revocable link that anyone holding the URL can open; it requires sandbox.preview.share and expires after expiresInSeconds (24 hours by default, 30 days at most).
|
|
364
409
|
*/
|
|
365
410
|
post: operations["createSandboxPreview"];
|
|
366
411
|
delete?: never;
|
|
@@ -544,7 +589,7 @@ export interface paths {
|
|
|
544
589
|
patch?: never;
|
|
545
590
|
trace?: never;
|
|
546
591
|
};
|
|
547
|
-
"/agent-sessions/{sessionId}/
|
|
592
|
+
"/agent-sessions/{sessionId}/release": {
|
|
548
593
|
parameters: {
|
|
549
594
|
query?: never;
|
|
550
595
|
header?: never;
|
|
@@ -553,14 +598,55 @@ export interface paths {
|
|
|
553
598
|
};
|
|
554
599
|
get?: never;
|
|
555
600
|
put?: never;
|
|
556
|
-
/**
|
|
557
|
-
|
|
601
|
+
/**
|
|
602
|
+
* Release a session to its native terminal
|
|
603
|
+
* @description Release an idle managed session to its native terminal without deleting its saved conversation. Requires agent_session.send and bridge v8. Refuses active turns; interrupt first. Returns resume arguments only after the bridge and agent processes exit. Retry on an uncertain response; repeated release is safe. Close manual CLI ownership before using recover to restore remote control. Native terminal surfaces are unsupported.
|
|
604
|
+
*/
|
|
605
|
+
post: operations["releaseAgentSession"];
|
|
606
|
+
delete?: never;
|
|
607
|
+
options?: never;
|
|
608
|
+
head?: never;
|
|
609
|
+
patch?: never;
|
|
610
|
+
trace?: never;
|
|
611
|
+
};
|
|
612
|
+
"/me/agent-tokens": {
|
|
613
|
+
parameters: {
|
|
614
|
+
query?: never;
|
|
615
|
+
header?: never;
|
|
616
|
+
path?: never;
|
|
617
|
+
cookie?: never;
|
|
618
|
+
};
|
|
619
|
+
/** List personal agent tokens */
|
|
620
|
+
get: operations["listAgentAccessTokens"];
|
|
621
|
+
put?: never;
|
|
622
|
+
/**
|
|
623
|
+
* Create a personal agent token
|
|
624
|
+
* @description User sign-in required. Explicit delegation across accessible organizations; does not alter organization API keys. sandbox.create permits waking existing sandboxes only. Token returned once.
|
|
625
|
+
*/
|
|
626
|
+
post: operations["createAgentAccessToken"];
|
|
558
627
|
delete?: never;
|
|
559
628
|
options?: never;
|
|
560
629
|
head?: never;
|
|
561
630
|
patch?: never;
|
|
562
631
|
trace?: never;
|
|
563
632
|
};
|
|
633
|
+
"/me/agent-tokens/{tokenId}": {
|
|
634
|
+
parameters: {
|
|
635
|
+
query?: never;
|
|
636
|
+
header?: never;
|
|
637
|
+
path?: never;
|
|
638
|
+
cookie?: never;
|
|
639
|
+
};
|
|
640
|
+
get?: never;
|
|
641
|
+
put?: never;
|
|
642
|
+
post?: never;
|
|
643
|
+
/** Revoke a personal agent token */
|
|
644
|
+
delete: operations["revokeAgentAccessToken"];
|
|
645
|
+
options?: never;
|
|
646
|
+
head?: never;
|
|
647
|
+
patch?: never;
|
|
648
|
+
trace?: never;
|
|
649
|
+
};
|
|
564
650
|
"/agent-sessions": {
|
|
565
651
|
parameters: {
|
|
566
652
|
query?: never;
|
|
@@ -568,7 +654,10 @@ export interface paths {
|
|
|
568
654
|
path?: never;
|
|
569
655
|
cookie?: never;
|
|
570
656
|
};
|
|
571
|
-
/**
|
|
657
|
+
/**
|
|
658
|
+
* Discover agent sessions
|
|
659
|
+
* @description Discover registered sessions across accessible projects. Organization API keys retain their org limit; personal agent tokens span accessible orgs. New Codex terminals are registered; existing standalone and native Claude sessions are not attached. State is last known; read a session to refresh it. Pages are ordered by stable session ID, not activity.
|
|
660
|
+
*/
|
|
572
661
|
get: operations["discoverAgentSessions"];
|
|
573
662
|
put?: never;
|
|
574
663
|
post?: never;
|
|
@@ -587,7 +676,10 @@ export interface paths {
|
|
|
587
676
|
};
|
|
588
677
|
get?: never;
|
|
589
678
|
put?: never;
|
|
590
|
-
/**
|
|
679
|
+
/**
|
|
680
|
+
* Start an agent session
|
|
681
|
+
* @description Start a separate managed conversation using this running sandbox's configured agent. Does not attach to its native terminal conversation. Requires agent_session.send.
|
|
682
|
+
*/
|
|
591
683
|
post: operations["createAgentSession"];
|
|
592
684
|
delete?: never;
|
|
593
685
|
options?: never;
|
|
@@ -602,6 +694,7 @@ export interface paths {
|
|
|
602
694
|
path?: never;
|
|
603
695
|
cookie?: never;
|
|
604
696
|
};
|
|
697
|
+
/** List a project's agent sessions */
|
|
605
698
|
get: operations["listAgentSessions"];
|
|
606
699
|
put?: never;
|
|
607
700
|
post?: never;
|
|
@@ -618,6 +711,7 @@ export interface paths {
|
|
|
618
711
|
path?: never;
|
|
619
712
|
cookie?: never;
|
|
620
713
|
};
|
|
714
|
+
/** Retrieve an agent session */
|
|
621
715
|
get: operations["getAgentSession"];
|
|
622
716
|
put?: never;
|
|
623
717
|
post?: never;
|
|
@@ -634,6 +728,7 @@ export interface paths {
|
|
|
634
728
|
path?: never;
|
|
635
729
|
cookie?: never;
|
|
636
730
|
};
|
|
731
|
+
/** Read agent replies */
|
|
637
732
|
get: operations["getAgentOutput"];
|
|
638
733
|
put?: never;
|
|
639
734
|
post?: never;
|
|
@@ -643,6 +738,57 @@ export interface paths {
|
|
|
643
738
|
patch?: never;
|
|
644
739
|
trace?: never;
|
|
645
740
|
};
|
|
741
|
+
"/agent-sessions/{sessionId}/events": {
|
|
742
|
+
parameters: {
|
|
743
|
+
query?: never;
|
|
744
|
+
header?: never;
|
|
745
|
+
path?: never;
|
|
746
|
+
cookie?: never;
|
|
747
|
+
};
|
|
748
|
+
/** Stream agent session events */
|
|
749
|
+
get: operations["streamAgentSessionEvents"];
|
|
750
|
+
put?: never;
|
|
751
|
+
post?: never;
|
|
752
|
+
delete?: never;
|
|
753
|
+
options?: never;
|
|
754
|
+
head?: never;
|
|
755
|
+
patch?: never;
|
|
756
|
+
trace?: never;
|
|
757
|
+
};
|
|
758
|
+
"/agent-sessions/{sessionId}/transcript": {
|
|
759
|
+
parameters: {
|
|
760
|
+
query?: never;
|
|
761
|
+
header?: never;
|
|
762
|
+
path?: never;
|
|
763
|
+
cookie?: never;
|
|
764
|
+
};
|
|
765
|
+
/** Read an agent session's conversation */
|
|
766
|
+
get: operations["getAgentTranscript"];
|
|
767
|
+
put?: never;
|
|
768
|
+
post?: never;
|
|
769
|
+
delete?: never;
|
|
770
|
+
options?: never;
|
|
771
|
+
head?: never;
|
|
772
|
+
patch?: never;
|
|
773
|
+
trace?: never;
|
|
774
|
+
};
|
|
775
|
+
"/agent-sessions/{sessionId}/wait": {
|
|
776
|
+
parameters: {
|
|
777
|
+
query?: never;
|
|
778
|
+
header?: never;
|
|
779
|
+
path?: never;
|
|
780
|
+
cookie?: never;
|
|
781
|
+
};
|
|
782
|
+
/** Wait for an agent session to change */
|
|
783
|
+
get: operations["waitForAgentSession"];
|
|
784
|
+
put?: never;
|
|
785
|
+
post?: never;
|
|
786
|
+
delete?: never;
|
|
787
|
+
options?: never;
|
|
788
|
+
head?: never;
|
|
789
|
+
patch?: never;
|
|
790
|
+
trace?: never;
|
|
791
|
+
};
|
|
646
792
|
"/agent-sessions/{sessionId}/messages": {
|
|
647
793
|
parameters: {
|
|
648
794
|
query?: never;
|
|
@@ -652,6 +798,7 @@ export interface paths {
|
|
|
652
798
|
};
|
|
653
799
|
get?: never;
|
|
654
800
|
put?: never;
|
|
801
|
+
/** Send a message to an agent */
|
|
655
802
|
post: operations["sendAgentMessage"];
|
|
656
803
|
delete?: never;
|
|
657
804
|
options?: never;
|
|
@@ -668,6 +815,7 @@ export interface paths {
|
|
|
668
815
|
};
|
|
669
816
|
get?: never;
|
|
670
817
|
put?: never;
|
|
818
|
+
/** Answer an agent's prompt */
|
|
671
819
|
post: operations["answerAgentPrompt"];
|
|
672
820
|
delete?: never;
|
|
673
821
|
options?: never;
|
|
@@ -684,6 +832,7 @@ export interface paths {
|
|
|
684
832
|
};
|
|
685
833
|
get?: never;
|
|
686
834
|
put?: never;
|
|
835
|
+
/** Interrupt the current turn */
|
|
687
836
|
post: operations["interruptAgentTurn"];
|
|
688
837
|
delete?: never;
|
|
689
838
|
options?: never;
|
|
@@ -691,6 +840,26 @@ export interface paths {
|
|
|
691
840
|
patch?: never;
|
|
692
841
|
trace?: never;
|
|
693
842
|
};
|
|
843
|
+
"/agent-sessions/{sessionId}/recover": {
|
|
844
|
+
parameters: {
|
|
845
|
+
query?: never;
|
|
846
|
+
header?: never;
|
|
847
|
+
path?: never;
|
|
848
|
+
cookie?: never;
|
|
849
|
+
};
|
|
850
|
+
get?: never;
|
|
851
|
+
put?: never;
|
|
852
|
+
/**
|
|
853
|
+
* Recover an agent session
|
|
854
|
+
* @description Resume a saved managed Claude or Codex conversation, or a registered native Codex session. Requires agent_session.send and the original running sandbox with saved history. Already-ready sessions are unchanged; known live previous processes prevent restart. Queued work is never replayed; interrupted turns have uncertain prior effects. Native Claude attachment is not supported.
|
|
855
|
+
*/
|
|
856
|
+
post: operations["recoverAgentSession"];
|
|
857
|
+
delete?: never;
|
|
858
|
+
options?: never;
|
|
859
|
+
head?: never;
|
|
860
|
+
patch?: never;
|
|
861
|
+
trace?: never;
|
|
862
|
+
};
|
|
694
863
|
}
|
|
695
864
|
export type webhooks = Record<string, never>;
|
|
696
865
|
export interface components {
|
|
@@ -1023,13 +1192,34 @@ export interface components {
|
|
|
1023
1192
|
expires_at: string | null;
|
|
1024
1193
|
scopes: string[] | null;
|
|
1025
1194
|
};
|
|
1195
|
+
AgentSessionCommunication: {
|
|
1196
|
+
/** @enum {string} */
|
|
1197
|
+
status: "ready" | "starting" | "restart_required" | "setup_required" | "unavailable" | "unsupported";
|
|
1198
|
+
capabilities: ("messages" | "output" | "approvals" | "interrupt" | "recover" | "release")[];
|
|
1199
|
+
message: string | null;
|
|
1200
|
+
requirements: {
|
|
1201
|
+
code: string;
|
|
1202
|
+
/** @enum {string} */
|
|
1203
|
+
action: "restart" | "setup";
|
|
1204
|
+
message: string;
|
|
1205
|
+
}[];
|
|
1206
|
+
};
|
|
1026
1207
|
AgentSessionState: {
|
|
1027
1208
|
id: string;
|
|
1028
1209
|
sessionId: string;
|
|
1029
1210
|
projectId: string;
|
|
1030
1211
|
sandboxId: string | null;
|
|
1212
|
+
agent: string;
|
|
1213
|
+
agentLabel: string;
|
|
1214
|
+
communication: components["schemas"]["AgentSessionCommunication"];
|
|
1215
|
+
requirements: {
|
|
1216
|
+
code: string;
|
|
1217
|
+
/** @enum {string} */
|
|
1218
|
+
action: "restart" | "setup";
|
|
1219
|
+
message: string;
|
|
1220
|
+
}[];
|
|
1031
1221
|
/** @enum {string} */
|
|
1032
|
-
|
|
1222
|
+
surface: "terminal" | "managed";
|
|
1033
1223
|
/** @enum {string} */
|
|
1034
1224
|
status: "active" | "closed";
|
|
1035
1225
|
turnId: string | null;
|
|
@@ -1045,6 +1235,9 @@ export interface components {
|
|
|
1045
1235
|
error: string | null;
|
|
1046
1236
|
/** @enum {string|null} */
|
|
1047
1237
|
bridgeState: "starting" | "ready" | "closed" | null;
|
|
1238
|
+
released: boolean;
|
|
1239
|
+
releasing: boolean;
|
|
1240
|
+
bridgeEventSeq: number | null;
|
|
1048
1241
|
drifted: boolean;
|
|
1049
1242
|
problems: {
|
|
1050
1243
|
seq: number;
|
|
@@ -5031,7 +5224,7 @@ export interface operations {
|
|
|
5031
5224
|
};
|
|
5032
5225
|
};
|
|
5033
5226
|
};
|
|
5034
|
-
|
|
5227
|
+
releaseAgentSession: {
|
|
5035
5228
|
parameters: {
|
|
5036
5229
|
query?: never;
|
|
5037
5230
|
header?: never;
|
|
@@ -5042,13 +5235,19 @@ export interface operations {
|
|
|
5042
5235
|
};
|
|
5043
5236
|
requestBody?: never;
|
|
5044
5237
|
responses: {
|
|
5045
|
-
/** @description
|
|
5238
|
+
/** @description Control released; resume in the same sandbox using the returned command, arguments and directory. Resume is null if no vendor conversation exists yet. */
|
|
5046
5239
|
200: {
|
|
5047
5240
|
headers: {
|
|
5048
5241
|
[name: string]: unknown;
|
|
5049
5242
|
};
|
|
5050
5243
|
content: {
|
|
5051
|
-
"application/json": components["schemas"]["AgentSessionState"]
|
|
5244
|
+
"application/json": components["schemas"]["AgentSessionState"] & {
|
|
5245
|
+
resume: {
|
|
5246
|
+
command: string;
|
|
5247
|
+
args: string[];
|
|
5248
|
+
cwd: string;
|
|
5249
|
+
} | null;
|
|
5250
|
+
};
|
|
5052
5251
|
};
|
|
5053
5252
|
};
|
|
5054
5253
|
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
@@ -5061,6 +5260,8 @@ export interface operations {
|
|
|
5061
5260
|
error: {
|
|
5062
5261
|
message: string;
|
|
5063
5262
|
code?: string;
|
|
5263
|
+
turnId?: string;
|
|
5264
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5064
5265
|
};
|
|
5065
5266
|
};
|
|
5066
5267
|
};
|
|
@@ -5075,6 +5276,8 @@ export interface operations {
|
|
|
5075
5276
|
error: {
|
|
5076
5277
|
message: string;
|
|
5077
5278
|
code?: string;
|
|
5279
|
+
turnId?: string;
|
|
5280
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5078
5281
|
};
|
|
5079
5282
|
};
|
|
5080
5283
|
};
|
|
@@ -5089,6 +5292,8 @@ export interface operations {
|
|
|
5089
5292
|
error: {
|
|
5090
5293
|
message: string;
|
|
5091
5294
|
code?: string;
|
|
5295
|
+
turnId?: string;
|
|
5296
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5092
5297
|
};
|
|
5093
5298
|
};
|
|
5094
5299
|
};
|
|
@@ -5103,6 +5308,8 @@ export interface operations {
|
|
|
5103
5308
|
error: {
|
|
5104
5309
|
message: string;
|
|
5105
5310
|
code?: string;
|
|
5311
|
+
turnId?: string;
|
|
5312
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5106
5313
|
};
|
|
5107
5314
|
};
|
|
5108
5315
|
};
|
|
@@ -5117,6 +5324,8 @@ export interface operations {
|
|
|
5117
5324
|
error: {
|
|
5118
5325
|
message: string;
|
|
5119
5326
|
code?: string;
|
|
5327
|
+
turnId?: string;
|
|
5328
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5120
5329
|
};
|
|
5121
5330
|
};
|
|
5122
5331
|
};
|
|
@@ -5131,53 +5340,40 @@ export interface operations {
|
|
|
5131
5340
|
error: {
|
|
5132
5341
|
message: string;
|
|
5133
5342
|
code?: string;
|
|
5343
|
+
turnId?: string;
|
|
5344
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5134
5345
|
};
|
|
5135
5346
|
};
|
|
5136
5347
|
};
|
|
5137
5348
|
};
|
|
5138
5349
|
};
|
|
5139
5350
|
};
|
|
5140
|
-
|
|
5351
|
+
listAgentAccessTokens: {
|
|
5141
5352
|
parameters: {
|
|
5142
|
-
query?:
|
|
5143
|
-
orgId?: string;
|
|
5144
|
-
projectId?: string;
|
|
5145
|
-
sandboxId?: string;
|
|
5146
|
-
after?: string;
|
|
5147
|
-
limit?: number;
|
|
5148
|
-
};
|
|
5353
|
+
query?: never;
|
|
5149
5354
|
header?: never;
|
|
5150
5355
|
path?: never;
|
|
5151
5356
|
cookie?: never;
|
|
5152
5357
|
};
|
|
5153
5358
|
requestBody?: never;
|
|
5154
5359
|
responses: {
|
|
5155
|
-
/** @description
|
|
5360
|
+
/** @description The signed-in user's tokens. No token hashes or secrets. */
|
|
5156
5361
|
200: {
|
|
5157
5362
|
headers: {
|
|
5158
5363
|
[name: string]: unknown;
|
|
5159
5364
|
};
|
|
5160
5365
|
content: {
|
|
5161
5366
|
"application/json": {
|
|
5162
|
-
|
|
5367
|
+
tokens: {
|
|
5368
|
+
/** Format: uuid */
|
|
5163
5369
|
id: string;
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
status: "active" | "closed";
|
|
5171
|
-
last_activity_at: string;
|
|
5172
|
-
sandbox_status: string | null;
|
|
5173
|
-
turn_id: string | null;
|
|
5174
|
-
/** @enum {string|null} */
|
|
5175
|
-
turn_state: "submitted" | "working" | "input-required" | "completed" | "failed" | "canceled" | null;
|
|
5176
|
-
needs_you: boolean;
|
|
5177
|
-
permissions: ("agent_session.read" | "agent_session.send" | "agent_session.approve")[];
|
|
5370
|
+
name: string;
|
|
5371
|
+
token_prefix: string;
|
|
5372
|
+
scopes: ("agent_session.read" | "agent_session.send" | "agent_session.approve" | "sandbox.create")[];
|
|
5373
|
+
created_at: string;
|
|
5374
|
+
expires_at: string;
|
|
5375
|
+
revoked_at: string | null;
|
|
5178
5376
|
}[];
|
|
5179
|
-
nextCursor: string | null;
|
|
5180
|
-
hasMore: boolean;
|
|
5181
5377
|
};
|
|
5182
5378
|
};
|
|
5183
5379
|
};
|
|
@@ -5191,6 +5387,8 @@ export interface operations {
|
|
|
5191
5387
|
error: {
|
|
5192
5388
|
message: string;
|
|
5193
5389
|
code?: string;
|
|
5390
|
+
turnId?: string;
|
|
5391
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5194
5392
|
};
|
|
5195
5393
|
};
|
|
5196
5394
|
};
|
|
@@ -5205,6 +5403,8 @@ export interface operations {
|
|
|
5205
5403
|
error: {
|
|
5206
5404
|
message: string;
|
|
5207
5405
|
code?: string;
|
|
5406
|
+
turnId?: string;
|
|
5407
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5208
5408
|
};
|
|
5209
5409
|
};
|
|
5210
5410
|
};
|
|
@@ -5219,6 +5419,8 @@ export interface operations {
|
|
|
5219
5419
|
error: {
|
|
5220
5420
|
message: string;
|
|
5221
5421
|
code?: string;
|
|
5422
|
+
turnId?: string;
|
|
5423
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5222
5424
|
};
|
|
5223
5425
|
};
|
|
5224
5426
|
};
|
|
@@ -5233,6 +5435,8 @@ export interface operations {
|
|
|
5233
5435
|
error: {
|
|
5234
5436
|
message: string;
|
|
5235
5437
|
code?: string;
|
|
5438
|
+
turnId?: string;
|
|
5439
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5236
5440
|
};
|
|
5237
5441
|
};
|
|
5238
5442
|
};
|
|
@@ -5247,6 +5451,8 @@ export interface operations {
|
|
|
5247
5451
|
error: {
|
|
5248
5452
|
message: string;
|
|
5249
5453
|
code?: string;
|
|
5454
|
+
turnId?: string;
|
|
5455
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5250
5456
|
};
|
|
5251
5457
|
};
|
|
5252
5458
|
};
|
|
@@ -5261,30 +5467,50 @@ export interface operations {
|
|
|
5261
5467
|
error: {
|
|
5262
5468
|
message: string;
|
|
5263
5469
|
code?: string;
|
|
5470
|
+
turnId?: string;
|
|
5471
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5264
5472
|
};
|
|
5265
5473
|
};
|
|
5266
5474
|
};
|
|
5267
5475
|
};
|
|
5268
5476
|
};
|
|
5269
5477
|
};
|
|
5270
|
-
|
|
5478
|
+
createAgentAccessToken: {
|
|
5271
5479
|
parameters: {
|
|
5272
5480
|
query?: never;
|
|
5273
5481
|
header?: never;
|
|
5274
|
-
path
|
|
5275
|
-
sandboxId: string;
|
|
5276
|
-
};
|
|
5482
|
+
path?: never;
|
|
5277
5483
|
cookie?: never;
|
|
5278
5484
|
};
|
|
5279
|
-
requestBody
|
|
5485
|
+
requestBody: {
|
|
5486
|
+
content: {
|
|
5487
|
+
"application/json": {
|
|
5488
|
+
name: string;
|
|
5489
|
+
scopes: ("agent_session.read" | "agent_session.send" | "agent_session.approve" | "sandbox.create")[];
|
|
5490
|
+
expiresInDays?: number;
|
|
5491
|
+
};
|
|
5492
|
+
};
|
|
5493
|
+
};
|
|
5280
5494
|
responses: {
|
|
5281
|
-
/** @description
|
|
5495
|
+
/** @description Personal token created. */
|
|
5282
5496
|
201: {
|
|
5283
5497
|
headers: {
|
|
5284
5498
|
[name: string]: unknown;
|
|
5285
5499
|
};
|
|
5286
5500
|
content: {
|
|
5287
|
-
"application/json":
|
|
5501
|
+
"application/json": {
|
|
5502
|
+
agentToken: {
|
|
5503
|
+
/** Format: uuid */
|
|
5504
|
+
id: string;
|
|
5505
|
+
name: string;
|
|
5506
|
+
token_prefix: string;
|
|
5507
|
+
scopes: ("agent_session.read" | "agent_session.send" | "agent_session.approve" | "sandbox.create")[];
|
|
5508
|
+
created_at: string;
|
|
5509
|
+
expires_at: string;
|
|
5510
|
+
revoked_at: string | null;
|
|
5511
|
+
};
|
|
5512
|
+
token: string;
|
|
5513
|
+
};
|
|
5288
5514
|
};
|
|
5289
5515
|
};
|
|
5290
5516
|
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
@@ -5297,6 +5523,8 @@ export interface operations {
|
|
|
5297
5523
|
error: {
|
|
5298
5524
|
message: string;
|
|
5299
5525
|
code?: string;
|
|
5526
|
+
turnId?: string;
|
|
5527
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5300
5528
|
};
|
|
5301
5529
|
};
|
|
5302
5530
|
};
|
|
@@ -5311,6 +5539,8 @@ export interface operations {
|
|
|
5311
5539
|
error: {
|
|
5312
5540
|
message: string;
|
|
5313
5541
|
code?: string;
|
|
5542
|
+
turnId?: string;
|
|
5543
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5314
5544
|
};
|
|
5315
5545
|
};
|
|
5316
5546
|
};
|
|
@@ -5325,6 +5555,8 @@ export interface operations {
|
|
|
5325
5555
|
error: {
|
|
5326
5556
|
message: string;
|
|
5327
5557
|
code?: string;
|
|
5558
|
+
turnId?: string;
|
|
5559
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5328
5560
|
};
|
|
5329
5561
|
};
|
|
5330
5562
|
};
|
|
@@ -5339,6 +5571,8 @@ export interface operations {
|
|
|
5339
5571
|
error: {
|
|
5340
5572
|
message: string;
|
|
5341
5573
|
code?: string;
|
|
5574
|
+
turnId?: string;
|
|
5575
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5342
5576
|
};
|
|
5343
5577
|
};
|
|
5344
5578
|
};
|
|
@@ -5353,6 +5587,8 @@ export interface operations {
|
|
|
5353
5587
|
error: {
|
|
5354
5588
|
message: string;
|
|
5355
5589
|
code?: string;
|
|
5590
|
+
turnId?: string;
|
|
5591
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5356
5592
|
};
|
|
5357
5593
|
};
|
|
5358
5594
|
};
|
|
@@ -5367,46 +5603,33 @@ export interface operations {
|
|
|
5367
5603
|
error: {
|
|
5368
5604
|
message: string;
|
|
5369
5605
|
code?: string;
|
|
5606
|
+
turnId?: string;
|
|
5607
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5370
5608
|
};
|
|
5371
5609
|
};
|
|
5372
5610
|
};
|
|
5373
5611
|
};
|
|
5374
5612
|
};
|
|
5375
5613
|
};
|
|
5376
|
-
|
|
5614
|
+
revokeAgentAccessToken: {
|
|
5377
5615
|
parameters: {
|
|
5378
|
-
query
|
|
5379
|
-
orgId: string;
|
|
5380
|
-
};
|
|
5616
|
+
query?: never;
|
|
5381
5617
|
header?: never;
|
|
5382
5618
|
path: {
|
|
5383
|
-
|
|
5619
|
+
tokenId: string;
|
|
5384
5620
|
};
|
|
5385
5621
|
cookie?: never;
|
|
5386
5622
|
};
|
|
5387
5623
|
requestBody?: never;
|
|
5388
5624
|
responses: {
|
|
5389
|
-
/** @description
|
|
5625
|
+
/** @description Revoked. User sign-in required. */
|
|
5390
5626
|
200: {
|
|
5391
5627
|
headers: {
|
|
5392
5628
|
[name: string]: unknown;
|
|
5393
5629
|
};
|
|
5394
5630
|
content: {
|
|
5395
5631
|
"application/json": {
|
|
5396
|
-
|
|
5397
|
-
id: string;
|
|
5398
|
-
org_id: string;
|
|
5399
|
-
project_id: string;
|
|
5400
|
-
sandbox_id: string | null;
|
|
5401
|
-
/** @enum {string} */
|
|
5402
|
-
agent: "claude" | "codex";
|
|
5403
|
-
/** @enum {string} */
|
|
5404
|
-
status: "active" | "closed";
|
|
5405
|
-
vendor_session_id: string | null;
|
|
5406
|
-
last_activity_at: string;
|
|
5407
|
-
} & {
|
|
5408
|
-
[key: string]: unknown;
|
|
5409
|
-
})[];
|
|
5632
|
+
revoked: boolean;
|
|
5410
5633
|
};
|
|
5411
5634
|
};
|
|
5412
5635
|
};
|
|
@@ -5420,6 +5643,8 @@ export interface operations {
|
|
|
5420
5643
|
error: {
|
|
5421
5644
|
message: string;
|
|
5422
5645
|
code?: string;
|
|
5646
|
+
turnId?: string;
|
|
5647
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5423
5648
|
};
|
|
5424
5649
|
};
|
|
5425
5650
|
};
|
|
@@ -5434,6 +5659,8 @@ export interface operations {
|
|
|
5434
5659
|
error: {
|
|
5435
5660
|
message: string;
|
|
5436
5661
|
code?: string;
|
|
5662
|
+
turnId?: string;
|
|
5663
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5437
5664
|
};
|
|
5438
5665
|
};
|
|
5439
5666
|
};
|
|
@@ -5448,6 +5675,8 @@ export interface operations {
|
|
|
5448
5675
|
error: {
|
|
5449
5676
|
message: string;
|
|
5450
5677
|
code?: string;
|
|
5678
|
+
turnId?: string;
|
|
5679
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5451
5680
|
};
|
|
5452
5681
|
};
|
|
5453
5682
|
};
|
|
@@ -5462,6 +5691,8 @@ export interface operations {
|
|
|
5462
5691
|
error: {
|
|
5463
5692
|
message: string;
|
|
5464
5693
|
code?: string;
|
|
5694
|
+
turnId?: string;
|
|
5695
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5465
5696
|
};
|
|
5466
5697
|
};
|
|
5467
5698
|
};
|
|
@@ -5476,6 +5707,8 @@ export interface operations {
|
|
|
5476
5707
|
error: {
|
|
5477
5708
|
message: string;
|
|
5478
5709
|
code?: string;
|
|
5710
|
+
turnId?: string;
|
|
5711
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5479
5712
|
};
|
|
5480
5713
|
};
|
|
5481
5714
|
};
|
|
@@ -5490,30 +5723,58 @@ export interface operations {
|
|
|
5490
5723
|
error: {
|
|
5491
5724
|
message: string;
|
|
5492
5725
|
code?: string;
|
|
5726
|
+
turnId?: string;
|
|
5727
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5493
5728
|
};
|
|
5494
5729
|
};
|
|
5495
5730
|
};
|
|
5496
5731
|
};
|
|
5497
5732
|
};
|
|
5498
5733
|
};
|
|
5499
|
-
|
|
5734
|
+
discoverAgentSessions: {
|
|
5500
5735
|
parameters: {
|
|
5501
|
-
query?:
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5736
|
+
query?: {
|
|
5737
|
+
orgId?: string;
|
|
5738
|
+
projectId?: string;
|
|
5739
|
+
sandboxId?: string;
|
|
5740
|
+
after?: string;
|
|
5741
|
+
limit?: number;
|
|
5505
5742
|
};
|
|
5743
|
+
header?: never;
|
|
5744
|
+
path?: never;
|
|
5506
5745
|
cookie?: never;
|
|
5507
5746
|
};
|
|
5508
5747
|
requestBody?: never;
|
|
5509
5748
|
responses: {
|
|
5510
|
-
/** @description
|
|
5749
|
+
/** @description Permission-filtered page. Follow nextCursor with after while hasMore is true. */
|
|
5511
5750
|
200: {
|
|
5512
5751
|
headers: {
|
|
5513
5752
|
[name: string]: unknown;
|
|
5514
5753
|
};
|
|
5515
5754
|
content: {
|
|
5516
|
-
"application/json":
|
|
5755
|
+
"application/json": {
|
|
5756
|
+
sessions: {
|
|
5757
|
+
id: string;
|
|
5758
|
+
org_id: string;
|
|
5759
|
+
project_id: string;
|
|
5760
|
+
sandbox_id: string | null;
|
|
5761
|
+
agent: string;
|
|
5762
|
+
agent_label: string;
|
|
5763
|
+
/** @enum {string} */
|
|
5764
|
+
status: "active" | "closed";
|
|
5765
|
+
last_activity_at: string;
|
|
5766
|
+
/** @enum {string} */
|
|
5767
|
+
surface: "terminal" | "managed";
|
|
5768
|
+
sandbox_status: string | null;
|
|
5769
|
+
turn_id: string | null;
|
|
5770
|
+
/** @enum {string|null} */
|
|
5771
|
+
turn_state: "submitted" | "working" | "input-required" | "completed" | "failed" | "canceled" | null;
|
|
5772
|
+
needs_you: boolean;
|
|
5773
|
+
permissions: ("agent_session.read" | "agent_session.send" | "agent_session.approve")[];
|
|
5774
|
+
}[];
|
|
5775
|
+
nextCursor: string | null;
|
|
5776
|
+
hasMore: boolean;
|
|
5777
|
+
};
|
|
5517
5778
|
};
|
|
5518
5779
|
};
|
|
5519
5780
|
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
@@ -5526,6 +5787,8 @@ export interface operations {
|
|
|
5526
5787
|
error: {
|
|
5527
5788
|
message: string;
|
|
5528
5789
|
code?: string;
|
|
5790
|
+
turnId?: string;
|
|
5791
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5529
5792
|
};
|
|
5530
5793
|
};
|
|
5531
5794
|
};
|
|
@@ -5540,6 +5803,8 @@ export interface operations {
|
|
|
5540
5803
|
error: {
|
|
5541
5804
|
message: string;
|
|
5542
5805
|
code?: string;
|
|
5806
|
+
turnId?: string;
|
|
5807
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5543
5808
|
};
|
|
5544
5809
|
};
|
|
5545
5810
|
};
|
|
@@ -5554,6 +5819,8 @@ export interface operations {
|
|
|
5554
5819
|
error: {
|
|
5555
5820
|
message: string;
|
|
5556
5821
|
code?: string;
|
|
5822
|
+
turnId?: string;
|
|
5823
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5557
5824
|
};
|
|
5558
5825
|
};
|
|
5559
5826
|
};
|
|
@@ -5568,6 +5835,8 @@ export interface operations {
|
|
|
5568
5835
|
error: {
|
|
5569
5836
|
message: string;
|
|
5570
5837
|
code?: string;
|
|
5838
|
+
turnId?: string;
|
|
5839
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5571
5840
|
};
|
|
5572
5841
|
};
|
|
5573
5842
|
};
|
|
@@ -5582,6 +5851,8 @@ export interface operations {
|
|
|
5582
5851
|
error: {
|
|
5583
5852
|
message: string;
|
|
5584
5853
|
code?: string;
|
|
5854
|
+
turnId?: string;
|
|
5855
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5585
5856
|
};
|
|
5586
5857
|
};
|
|
5587
5858
|
};
|
|
@@ -5596,43 +5867,32 @@ export interface operations {
|
|
|
5596
5867
|
error: {
|
|
5597
5868
|
message: string;
|
|
5598
5869
|
code?: string;
|
|
5870
|
+
turnId?: string;
|
|
5871
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5599
5872
|
};
|
|
5600
5873
|
};
|
|
5601
5874
|
};
|
|
5602
5875
|
};
|
|
5603
5876
|
};
|
|
5604
5877
|
};
|
|
5605
|
-
|
|
5878
|
+
createAgentSession: {
|
|
5606
5879
|
parameters: {
|
|
5607
|
-
query?:
|
|
5608
|
-
after?: number | null;
|
|
5609
|
-
limit?: number;
|
|
5610
|
-
};
|
|
5880
|
+
query?: never;
|
|
5611
5881
|
header?: never;
|
|
5612
5882
|
path: {
|
|
5613
|
-
|
|
5883
|
+
sandboxId: string;
|
|
5614
5884
|
};
|
|
5615
5885
|
cookie?: never;
|
|
5616
5886
|
};
|
|
5617
5887
|
requestBody?: never;
|
|
5618
5888
|
responses: {
|
|
5619
|
-
/** @description
|
|
5620
|
-
|
|
5889
|
+
/** @description Bridge ready. */
|
|
5890
|
+
201: {
|
|
5621
5891
|
headers: {
|
|
5622
5892
|
[name: string]: unknown;
|
|
5623
5893
|
};
|
|
5624
5894
|
content: {
|
|
5625
|
-
"application/json":
|
|
5626
|
-
messages: {
|
|
5627
|
-
seq: number;
|
|
5628
|
-
turnId: string | null;
|
|
5629
|
-
at: string;
|
|
5630
|
-
text: string;
|
|
5631
|
-
truncated: boolean;
|
|
5632
|
-
}[];
|
|
5633
|
-
nextCursor: number;
|
|
5634
|
-
hasMore: boolean;
|
|
5635
|
-
};
|
|
5895
|
+
"application/json": components["schemas"]["AgentSessionState"];
|
|
5636
5896
|
};
|
|
5637
5897
|
};
|
|
5638
5898
|
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
@@ -5645,6 +5905,8 @@ export interface operations {
|
|
|
5645
5905
|
error: {
|
|
5646
5906
|
message: string;
|
|
5647
5907
|
code?: string;
|
|
5908
|
+
turnId?: string;
|
|
5909
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5648
5910
|
};
|
|
5649
5911
|
};
|
|
5650
5912
|
};
|
|
@@ -5659,6 +5921,8 @@ export interface operations {
|
|
|
5659
5921
|
error: {
|
|
5660
5922
|
message: string;
|
|
5661
5923
|
code?: string;
|
|
5924
|
+
turnId?: string;
|
|
5925
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5662
5926
|
};
|
|
5663
5927
|
};
|
|
5664
5928
|
};
|
|
@@ -5673,6 +5937,8 @@ export interface operations {
|
|
|
5673
5937
|
error: {
|
|
5674
5938
|
message: string;
|
|
5675
5939
|
code?: string;
|
|
5940
|
+
turnId?: string;
|
|
5941
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5676
5942
|
};
|
|
5677
5943
|
};
|
|
5678
5944
|
};
|
|
@@ -5687,6 +5953,8 @@ export interface operations {
|
|
|
5687
5953
|
error: {
|
|
5688
5954
|
message: string;
|
|
5689
5955
|
code?: string;
|
|
5956
|
+
turnId?: string;
|
|
5957
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5690
5958
|
};
|
|
5691
5959
|
};
|
|
5692
5960
|
};
|
|
@@ -5701,6 +5969,8 @@ export interface operations {
|
|
|
5701
5969
|
error: {
|
|
5702
5970
|
message: string;
|
|
5703
5971
|
code?: string;
|
|
5972
|
+
turnId?: string;
|
|
5973
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5704
5974
|
};
|
|
5705
5975
|
};
|
|
5706
5976
|
};
|
|
@@ -5715,6 +5985,861 @@ export interface operations {
|
|
|
5715
5985
|
error: {
|
|
5716
5986
|
message: string;
|
|
5717
5987
|
code?: string;
|
|
5988
|
+
turnId?: string;
|
|
5989
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5990
|
+
};
|
|
5991
|
+
};
|
|
5992
|
+
};
|
|
5993
|
+
};
|
|
5994
|
+
};
|
|
5995
|
+
};
|
|
5996
|
+
listAgentSessions: {
|
|
5997
|
+
parameters: {
|
|
5998
|
+
query: {
|
|
5999
|
+
orgId: string;
|
|
6000
|
+
};
|
|
6001
|
+
header?: never;
|
|
6002
|
+
path: {
|
|
6003
|
+
projectId: string;
|
|
6004
|
+
};
|
|
6005
|
+
cookie?: never;
|
|
6006
|
+
};
|
|
6007
|
+
requestBody?: never;
|
|
6008
|
+
responses: {
|
|
6009
|
+
/** @description Most recent session index records. Read a session for reconciled turn state. */
|
|
6010
|
+
200: {
|
|
6011
|
+
headers: {
|
|
6012
|
+
[name: string]: unknown;
|
|
6013
|
+
};
|
|
6014
|
+
content: {
|
|
6015
|
+
"application/json": {
|
|
6016
|
+
sessions: ({
|
|
6017
|
+
id: string;
|
|
6018
|
+
org_id: string;
|
|
6019
|
+
project_id: string;
|
|
6020
|
+
sandbox_id: string | null;
|
|
6021
|
+
agent: string;
|
|
6022
|
+
agent_label: string;
|
|
6023
|
+
/** @enum {string} */
|
|
6024
|
+
status: "active" | "closed";
|
|
6025
|
+
vendor_session_id: string | null;
|
|
6026
|
+
last_activity_at: string;
|
|
6027
|
+
} & {
|
|
6028
|
+
[key: string]: unknown;
|
|
6029
|
+
})[];
|
|
6030
|
+
};
|
|
6031
|
+
};
|
|
6032
|
+
};
|
|
6033
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6034
|
+
400: {
|
|
6035
|
+
headers: {
|
|
6036
|
+
[name: string]: unknown;
|
|
6037
|
+
};
|
|
6038
|
+
content: {
|
|
6039
|
+
"application/json": {
|
|
6040
|
+
error: {
|
|
6041
|
+
message: string;
|
|
6042
|
+
code?: string;
|
|
6043
|
+
turnId?: string;
|
|
6044
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6045
|
+
};
|
|
6046
|
+
};
|
|
6047
|
+
};
|
|
6048
|
+
};
|
|
6049
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6050
|
+
403: {
|
|
6051
|
+
headers: {
|
|
6052
|
+
[name: string]: unknown;
|
|
6053
|
+
};
|
|
6054
|
+
content: {
|
|
6055
|
+
"application/json": {
|
|
6056
|
+
error: {
|
|
6057
|
+
message: string;
|
|
6058
|
+
code?: string;
|
|
6059
|
+
turnId?: string;
|
|
6060
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6061
|
+
};
|
|
6062
|
+
};
|
|
6063
|
+
};
|
|
6064
|
+
};
|
|
6065
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6066
|
+
404: {
|
|
6067
|
+
headers: {
|
|
6068
|
+
[name: string]: unknown;
|
|
6069
|
+
};
|
|
6070
|
+
content: {
|
|
6071
|
+
"application/json": {
|
|
6072
|
+
error: {
|
|
6073
|
+
message: string;
|
|
6074
|
+
code?: string;
|
|
6075
|
+
turnId?: string;
|
|
6076
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6077
|
+
};
|
|
6078
|
+
};
|
|
6079
|
+
};
|
|
6080
|
+
};
|
|
6081
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6082
|
+
409: {
|
|
6083
|
+
headers: {
|
|
6084
|
+
[name: string]: unknown;
|
|
6085
|
+
};
|
|
6086
|
+
content: {
|
|
6087
|
+
"application/json": {
|
|
6088
|
+
error: {
|
|
6089
|
+
message: string;
|
|
6090
|
+
code?: string;
|
|
6091
|
+
turnId?: string;
|
|
6092
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6093
|
+
};
|
|
6094
|
+
};
|
|
6095
|
+
};
|
|
6096
|
+
};
|
|
6097
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6098
|
+
500: {
|
|
6099
|
+
headers: {
|
|
6100
|
+
[name: string]: unknown;
|
|
6101
|
+
};
|
|
6102
|
+
content: {
|
|
6103
|
+
"application/json": {
|
|
6104
|
+
error: {
|
|
6105
|
+
message: string;
|
|
6106
|
+
code?: string;
|
|
6107
|
+
turnId?: string;
|
|
6108
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6109
|
+
};
|
|
6110
|
+
};
|
|
6111
|
+
};
|
|
6112
|
+
};
|
|
6113
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6114
|
+
503: {
|
|
6115
|
+
headers: {
|
|
6116
|
+
[name: string]: unknown;
|
|
6117
|
+
};
|
|
6118
|
+
content: {
|
|
6119
|
+
"application/json": {
|
|
6120
|
+
error: {
|
|
6121
|
+
message: string;
|
|
6122
|
+
code?: string;
|
|
6123
|
+
turnId?: string;
|
|
6124
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6125
|
+
};
|
|
6126
|
+
};
|
|
6127
|
+
};
|
|
6128
|
+
};
|
|
6129
|
+
};
|
|
6130
|
+
};
|
|
6131
|
+
getAgentSession: {
|
|
6132
|
+
parameters: {
|
|
6133
|
+
query?: never;
|
|
6134
|
+
header?: never;
|
|
6135
|
+
path: {
|
|
6136
|
+
sessionId: string;
|
|
6137
|
+
};
|
|
6138
|
+
cookie?: never;
|
|
6139
|
+
};
|
|
6140
|
+
requestBody?: never;
|
|
6141
|
+
responses: {
|
|
6142
|
+
/** @description Reconciled state, including the most recent completed turn or pending approval. */
|
|
6143
|
+
200: {
|
|
6144
|
+
headers: {
|
|
6145
|
+
[name: string]: unknown;
|
|
6146
|
+
};
|
|
6147
|
+
content: {
|
|
6148
|
+
"application/json": components["schemas"]["AgentSessionState"];
|
|
6149
|
+
};
|
|
6150
|
+
};
|
|
6151
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6152
|
+
400: {
|
|
6153
|
+
headers: {
|
|
6154
|
+
[name: string]: unknown;
|
|
6155
|
+
};
|
|
6156
|
+
content: {
|
|
6157
|
+
"application/json": {
|
|
6158
|
+
error: {
|
|
6159
|
+
message: string;
|
|
6160
|
+
code?: string;
|
|
6161
|
+
turnId?: string;
|
|
6162
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6163
|
+
};
|
|
6164
|
+
};
|
|
6165
|
+
};
|
|
6166
|
+
};
|
|
6167
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6168
|
+
403: {
|
|
6169
|
+
headers: {
|
|
6170
|
+
[name: string]: unknown;
|
|
6171
|
+
};
|
|
6172
|
+
content: {
|
|
6173
|
+
"application/json": {
|
|
6174
|
+
error: {
|
|
6175
|
+
message: string;
|
|
6176
|
+
code?: string;
|
|
6177
|
+
turnId?: string;
|
|
6178
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6179
|
+
};
|
|
6180
|
+
};
|
|
6181
|
+
};
|
|
6182
|
+
};
|
|
6183
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6184
|
+
404: {
|
|
6185
|
+
headers: {
|
|
6186
|
+
[name: string]: unknown;
|
|
6187
|
+
};
|
|
6188
|
+
content: {
|
|
6189
|
+
"application/json": {
|
|
6190
|
+
error: {
|
|
6191
|
+
message: string;
|
|
6192
|
+
code?: string;
|
|
6193
|
+
turnId?: string;
|
|
6194
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6195
|
+
};
|
|
6196
|
+
};
|
|
6197
|
+
};
|
|
6198
|
+
};
|
|
6199
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6200
|
+
409: {
|
|
6201
|
+
headers: {
|
|
6202
|
+
[name: string]: unknown;
|
|
6203
|
+
};
|
|
6204
|
+
content: {
|
|
6205
|
+
"application/json": {
|
|
6206
|
+
error: {
|
|
6207
|
+
message: string;
|
|
6208
|
+
code?: string;
|
|
6209
|
+
turnId?: string;
|
|
6210
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6211
|
+
};
|
|
6212
|
+
};
|
|
6213
|
+
};
|
|
6214
|
+
};
|
|
6215
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6216
|
+
500: {
|
|
6217
|
+
headers: {
|
|
6218
|
+
[name: string]: unknown;
|
|
6219
|
+
};
|
|
6220
|
+
content: {
|
|
6221
|
+
"application/json": {
|
|
6222
|
+
error: {
|
|
6223
|
+
message: string;
|
|
6224
|
+
code?: string;
|
|
6225
|
+
turnId?: string;
|
|
6226
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6227
|
+
};
|
|
6228
|
+
};
|
|
6229
|
+
};
|
|
6230
|
+
};
|
|
6231
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6232
|
+
503: {
|
|
6233
|
+
headers: {
|
|
6234
|
+
[name: string]: unknown;
|
|
6235
|
+
};
|
|
6236
|
+
content: {
|
|
6237
|
+
"application/json": {
|
|
6238
|
+
error: {
|
|
6239
|
+
message: string;
|
|
6240
|
+
code?: string;
|
|
6241
|
+
turnId?: string;
|
|
6242
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6243
|
+
};
|
|
6244
|
+
};
|
|
6245
|
+
};
|
|
6246
|
+
};
|
|
6247
|
+
};
|
|
6248
|
+
};
|
|
6249
|
+
getAgentOutput: {
|
|
6250
|
+
parameters: {
|
|
6251
|
+
query?: {
|
|
6252
|
+
after?: number | null;
|
|
6253
|
+
limit?: number;
|
|
6254
|
+
};
|
|
6255
|
+
header?: never;
|
|
6256
|
+
path: {
|
|
6257
|
+
sessionId: string;
|
|
6258
|
+
};
|
|
6259
|
+
cookie?: never;
|
|
6260
|
+
};
|
|
6261
|
+
requestBody?: never;
|
|
6262
|
+
responses: {
|
|
6263
|
+
/** @description Replies read in the guest; each reader keeps its own nextCursor. Unavailable while asleep. Pages contain at most 128 Ki UTF-16 code units of text; a larger individual reply is explicitly marked truncated. */
|
|
6264
|
+
200: {
|
|
6265
|
+
headers: {
|
|
6266
|
+
[name: string]: unknown;
|
|
6267
|
+
};
|
|
6268
|
+
content: {
|
|
6269
|
+
"application/json": {
|
|
6270
|
+
messages: {
|
|
6271
|
+
seq: number;
|
|
6272
|
+
turnId: string | null;
|
|
6273
|
+
at: string;
|
|
6274
|
+
text: string;
|
|
6275
|
+
truncated: boolean;
|
|
6276
|
+
}[];
|
|
6277
|
+
nextCursor: number;
|
|
6278
|
+
hasMore: boolean;
|
|
6279
|
+
};
|
|
6280
|
+
};
|
|
6281
|
+
};
|
|
6282
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6283
|
+
400: {
|
|
6284
|
+
headers: {
|
|
6285
|
+
[name: string]: unknown;
|
|
6286
|
+
};
|
|
6287
|
+
content: {
|
|
6288
|
+
"application/json": {
|
|
6289
|
+
error: {
|
|
6290
|
+
message: string;
|
|
6291
|
+
code?: string;
|
|
6292
|
+
turnId?: string;
|
|
6293
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6294
|
+
};
|
|
6295
|
+
};
|
|
6296
|
+
};
|
|
6297
|
+
};
|
|
6298
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6299
|
+
403: {
|
|
6300
|
+
headers: {
|
|
6301
|
+
[name: string]: unknown;
|
|
6302
|
+
};
|
|
6303
|
+
content: {
|
|
6304
|
+
"application/json": {
|
|
6305
|
+
error: {
|
|
6306
|
+
message: string;
|
|
6307
|
+
code?: string;
|
|
6308
|
+
turnId?: string;
|
|
6309
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6310
|
+
};
|
|
6311
|
+
};
|
|
6312
|
+
};
|
|
6313
|
+
};
|
|
6314
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6315
|
+
404: {
|
|
6316
|
+
headers: {
|
|
6317
|
+
[name: string]: unknown;
|
|
6318
|
+
};
|
|
6319
|
+
content: {
|
|
6320
|
+
"application/json": {
|
|
6321
|
+
error: {
|
|
6322
|
+
message: string;
|
|
6323
|
+
code?: string;
|
|
6324
|
+
turnId?: string;
|
|
6325
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6326
|
+
};
|
|
6327
|
+
};
|
|
6328
|
+
};
|
|
6329
|
+
};
|
|
6330
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6331
|
+
409: {
|
|
6332
|
+
headers: {
|
|
6333
|
+
[name: string]: unknown;
|
|
6334
|
+
};
|
|
6335
|
+
content: {
|
|
6336
|
+
"application/json": {
|
|
6337
|
+
error: {
|
|
6338
|
+
message: string;
|
|
6339
|
+
code?: string;
|
|
6340
|
+
turnId?: string;
|
|
6341
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6342
|
+
};
|
|
6343
|
+
};
|
|
6344
|
+
};
|
|
6345
|
+
};
|
|
6346
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6347
|
+
500: {
|
|
6348
|
+
headers: {
|
|
6349
|
+
[name: string]: unknown;
|
|
6350
|
+
};
|
|
6351
|
+
content: {
|
|
6352
|
+
"application/json": {
|
|
6353
|
+
error: {
|
|
6354
|
+
message: string;
|
|
6355
|
+
code?: string;
|
|
6356
|
+
turnId?: string;
|
|
6357
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6358
|
+
};
|
|
6359
|
+
};
|
|
6360
|
+
};
|
|
6361
|
+
};
|
|
6362
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6363
|
+
503: {
|
|
6364
|
+
headers: {
|
|
6365
|
+
[name: string]: unknown;
|
|
6366
|
+
};
|
|
6367
|
+
content: {
|
|
6368
|
+
"application/json": {
|
|
6369
|
+
error: {
|
|
6370
|
+
message: string;
|
|
6371
|
+
code?: string;
|
|
6372
|
+
turnId?: string;
|
|
6373
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6374
|
+
};
|
|
6375
|
+
};
|
|
6376
|
+
};
|
|
6377
|
+
};
|
|
6378
|
+
};
|
|
6379
|
+
};
|
|
6380
|
+
streamAgentSessionEvents: {
|
|
6381
|
+
parameters: {
|
|
6382
|
+
query?: {
|
|
6383
|
+
/** @description Output cursor to resume from when no Last-Event-ID header is sent. */
|
|
6384
|
+
after?: number | null;
|
|
6385
|
+
};
|
|
6386
|
+
header?: {
|
|
6387
|
+
/** @description The id of the last output event received; takes precedence over after. */
|
|
6388
|
+
"last-event-id"?: string;
|
|
6389
|
+
};
|
|
6390
|
+
path: {
|
|
6391
|
+
sessionId: string;
|
|
6392
|
+
};
|
|
6393
|
+
cookie?: never;
|
|
6394
|
+
};
|
|
6395
|
+
requestBody?: never;
|
|
6396
|
+
responses: {
|
|
6397
|
+
/** @description Server-sent events. `ready` ({cursor}) opens the stream; `state` carries the same body as getAgentSession whenever it changes (always once on connect); `output` carries one reply (with itemId when it was streamed) and its id is the output cursor; `conversation` carries one conversation event (user.message, agent.delta, agent.thought, tool.started, tool.output, tool.completed; bridge v9+) under the same cursor; `reconnect` ({cursor, reason}) closes a rotated stream; `unavailable` ({code, message}) closes when the sandbox cannot be followed; `error` ({code, message}) closes on lost access. Streams rotate within four minutes; reconnect with Last-Event-ID to continue without gaps or repeats. Requires agent_session.read. */
|
|
6398
|
+
200: {
|
|
6399
|
+
headers: {
|
|
6400
|
+
[name: string]: unknown;
|
|
6401
|
+
};
|
|
6402
|
+
content: {
|
|
6403
|
+
"text/event-stream": string;
|
|
6404
|
+
};
|
|
6405
|
+
};
|
|
6406
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6407
|
+
400: {
|
|
6408
|
+
headers: {
|
|
6409
|
+
[name: string]: unknown;
|
|
6410
|
+
};
|
|
6411
|
+
content: {
|
|
6412
|
+
"application/json": {
|
|
6413
|
+
error: {
|
|
6414
|
+
message: string;
|
|
6415
|
+
code?: string;
|
|
6416
|
+
turnId?: string;
|
|
6417
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6418
|
+
};
|
|
6419
|
+
};
|
|
6420
|
+
};
|
|
6421
|
+
};
|
|
6422
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6423
|
+
403: {
|
|
6424
|
+
headers: {
|
|
6425
|
+
[name: string]: unknown;
|
|
6426
|
+
};
|
|
6427
|
+
content: {
|
|
6428
|
+
"application/json": {
|
|
6429
|
+
error: {
|
|
6430
|
+
message: string;
|
|
6431
|
+
code?: string;
|
|
6432
|
+
turnId?: string;
|
|
6433
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6434
|
+
};
|
|
6435
|
+
};
|
|
6436
|
+
};
|
|
6437
|
+
};
|
|
6438
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6439
|
+
404: {
|
|
6440
|
+
headers: {
|
|
6441
|
+
[name: string]: unknown;
|
|
6442
|
+
};
|
|
6443
|
+
content: {
|
|
6444
|
+
"application/json": {
|
|
6445
|
+
error: {
|
|
6446
|
+
message: string;
|
|
6447
|
+
code?: string;
|
|
6448
|
+
turnId?: string;
|
|
6449
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6450
|
+
};
|
|
6451
|
+
};
|
|
6452
|
+
};
|
|
6453
|
+
};
|
|
6454
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6455
|
+
409: {
|
|
6456
|
+
headers: {
|
|
6457
|
+
[name: string]: unknown;
|
|
6458
|
+
};
|
|
6459
|
+
content: {
|
|
6460
|
+
"application/json": {
|
|
6461
|
+
error: {
|
|
6462
|
+
message: string;
|
|
6463
|
+
code?: string;
|
|
6464
|
+
turnId?: string;
|
|
6465
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6466
|
+
};
|
|
6467
|
+
};
|
|
6468
|
+
};
|
|
6469
|
+
};
|
|
6470
|
+
/** @description Too many event streams are open for this credential. */
|
|
6471
|
+
429: {
|
|
6472
|
+
headers: {
|
|
6473
|
+
[name: string]: unknown;
|
|
6474
|
+
};
|
|
6475
|
+
content: {
|
|
6476
|
+
"application/json": {
|
|
6477
|
+
error: {
|
|
6478
|
+
code: string;
|
|
6479
|
+
message: string;
|
|
6480
|
+
};
|
|
6481
|
+
};
|
|
6482
|
+
};
|
|
6483
|
+
};
|
|
6484
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6485
|
+
500: {
|
|
6486
|
+
headers: {
|
|
6487
|
+
[name: string]: unknown;
|
|
6488
|
+
};
|
|
6489
|
+
content: {
|
|
6490
|
+
"application/json": {
|
|
6491
|
+
error: {
|
|
6492
|
+
message: string;
|
|
6493
|
+
code?: string;
|
|
6494
|
+
turnId?: string;
|
|
6495
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6496
|
+
};
|
|
6497
|
+
};
|
|
6498
|
+
};
|
|
6499
|
+
};
|
|
6500
|
+
/** @description Event streaming is not enabled on this API. */
|
|
6501
|
+
501: {
|
|
6502
|
+
headers: {
|
|
6503
|
+
[name: string]: unknown;
|
|
6504
|
+
};
|
|
6505
|
+
content: {
|
|
6506
|
+
"application/json": {
|
|
6507
|
+
error: {
|
|
6508
|
+
code: string;
|
|
6509
|
+
message: string;
|
|
6510
|
+
};
|
|
6511
|
+
};
|
|
6512
|
+
};
|
|
6513
|
+
};
|
|
6514
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6515
|
+
503: {
|
|
6516
|
+
headers: {
|
|
6517
|
+
[name: string]: unknown;
|
|
6518
|
+
};
|
|
6519
|
+
content: {
|
|
6520
|
+
"application/json": {
|
|
6521
|
+
error: {
|
|
6522
|
+
message: string;
|
|
6523
|
+
code?: string;
|
|
6524
|
+
turnId?: string;
|
|
6525
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6526
|
+
};
|
|
6527
|
+
};
|
|
6528
|
+
};
|
|
6529
|
+
};
|
|
6530
|
+
};
|
|
6531
|
+
};
|
|
6532
|
+
getAgentTranscript: {
|
|
6533
|
+
parameters: {
|
|
6534
|
+
query?: {
|
|
6535
|
+
after?: number | null;
|
|
6536
|
+
limit?: number;
|
|
6537
|
+
};
|
|
6538
|
+
header?: never;
|
|
6539
|
+
path: {
|
|
6540
|
+
sessionId: string;
|
|
6541
|
+
};
|
|
6542
|
+
cookie?: never;
|
|
6543
|
+
};
|
|
6544
|
+
requestBody?: never;
|
|
6545
|
+
responses: {
|
|
6546
|
+
/** @description The conversation in order, read in the guest: user.message (origin caller or terminal), agent.message, agent.thought, tool.started, tool.completed (kind command | file_change | mcp | web_search | tool; status completed | failed | declined; bounded output tail and diff), plus turn and approval markers. Streaming deltas are folded into their final item; `partial` holds text still streaming when the page reaches the end of the log. Follow getAgentSessionEvents from nextCursor afterwards. Requires bridge v9 (409 session_transcript_upgrade_required otherwise) and agent_session.read. */
|
|
6547
|
+
200: {
|
|
6548
|
+
headers: {
|
|
6549
|
+
[name: string]: unknown;
|
|
6550
|
+
};
|
|
6551
|
+
content: {
|
|
6552
|
+
"application/json": {
|
|
6553
|
+
items: ({
|
|
6554
|
+
seq: number;
|
|
6555
|
+
at: string;
|
|
6556
|
+
type: string;
|
|
6557
|
+
turnId: string | null;
|
|
6558
|
+
} & {
|
|
6559
|
+
[key: string]: unknown;
|
|
6560
|
+
})[];
|
|
6561
|
+
partial: ({
|
|
6562
|
+
seq: number;
|
|
6563
|
+
type: string;
|
|
6564
|
+
itemId: string;
|
|
6565
|
+
text: string;
|
|
6566
|
+
} & {
|
|
6567
|
+
[key: string]: unknown;
|
|
6568
|
+
})[];
|
|
6569
|
+
nextCursor: number;
|
|
6570
|
+
hasMore: boolean;
|
|
6571
|
+
};
|
|
6572
|
+
};
|
|
6573
|
+
};
|
|
6574
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6575
|
+
400: {
|
|
6576
|
+
headers: {
|
|
6577
|
+
[name: string]: unknown;
|
|
6578
|
+
};
|
|
6579
|
+
content: {
|
|
6580
|
+
"application/json": {
|
|
6581
|
+
error: {
|
|
6582
|
+
message: string;
|
|
6583
|
+
code?: string;
|
|
6584
|
+
turnId?: string;
|
|
6585
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6586
|
+
};
|
|
6587
|
+
};
|
|
6588
|
+
};
|
|
6589
|
+
};
|
|
6590
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6591
|
+
403: {
|
|
6592
|
+
headers: {
|
|
6593
|
+
[name: string]: unknown;
|
|
6594
|
+
};
|
|
6595
|
+
content: {
|
|
6596
|
+
"application/json": {
|
|
6597
|
+
error: {
|
|
6598
|
+
message: string;
|
|
6599
|
+
code?: string;
|
|
6600
|
+
turnId?: string;
|
|
6601
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6602
|
+
};
|
|
6603
|
+
};
|
|
6604
|
+
};
|
|
6605
|
+
};
|
|
6606
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6607
|
+
404: {
|
|
6608
|
+
headers: {
|
|
6609
|
+
[name: string]: unknown;
|
|
6610
|
+
};
|
|
6611
|
+
content: {
|
|
6612
|
+
"application/json": {
|
|
6613
|
+
error: {
|
|
6614
|
+
message: string;
|
|
6615
|
+
code?: string;
|
|
6616
|
+
turnId?: string;
|
|
6617
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6618
|
+
};
|
|
6619
|
+
};
|
|
6620
|
+
};
|
|
6621
|
+
};
|
|
6622
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6623
|
+
409: {
|
|
6624
|
+
headers: {
|
|
6625
|
+
[name: string]: unknown;
|
|
6626
|
+
};
|
|
6627
|
+
content: {
|
|
6628
|
+
"application/json": {
|
|
6629
|
+
error: {
|
|
6630
|
+
message: string;
|
|
6631
|
+
code?: string;
|
|
6632
|
+
turnId?: string;
|
|
6633
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6634
|
+
};
|
|
6635
|
+
};
|
|
6636
|
+
};
|
|
6637
|
+
};
|
|
6638
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6639
|
+
500: {
|
|
6640
|
+
headers: {
|
|
6641
|
+
[name: string]: unknown;
|
|
6642
|
+
};
|
|
6643
|
+
content: {
|
|
6644
|
+
"application/json": {
|
|
6645
|
+
error: {
|
|
6646
|
+
message: string;
|
|
6647
|
+
code?: string;
|
|
6648
|
+
turnId?: string;
|
|
6649
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6650
|
+
};
|
|
6651
|
+
};
|
|
6652
|
+
};
|
|
6653
|
+
};
|
|
6654
|
+
/** @description Transcripts are not enabled on this API. */
|
|
6655
|
+
501: {
|
|
6656
|
+
headers: {
|
|
6657
|
+
[name: string]: unknown;
|
|
6658
|
+
};
|
|
6659
|
+
content: {
|
|
6660
|
+
"application/json": {
|
|
6661
|
+
error: {
|
|
6662
|
+
code: string;
|
|
6663
|
+
message: string;
|
|
6664
|
+
};
|
|
6665
|
+
};
|
|
6666
|
+
};
|
|
6667
|
+
};
|
|
6668
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6669
|
+
503: {
|
|
6670
|
+
headers: {
|
|
6671
|
+
[name: string]: unknown;
|
|
6672
|
+
};
|
|
6673
|
+
content: {
|
|
6674
|
+
"application/json": {
|
|
6675
|
+
error: {
|
|
6676
|
+
message: string;
|
|
6677
|
+
code?: string;
|
|
6678
|
+
turnId?: string;
|
|
6679
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6680
|
+
};
|
|
6681
|
+
};
|
|
6682
|
+
};
|
|
6683
|
+
};
|
|
6684
|
+
};
|
|
6685
|
+
};
|
|
6686
|
+
waitForAgentSession: {
|
|
6687
|
+
parameters: {
|
|
6688
|
+
query?: {
|
|
6689
|
+
after?: number | null;
|
|
6690
|
+
timeoutMs?: number;
|
|
6691
|
+
};
|
|
6692
|
+
header?: never;
|
|
6693
|
+
path: {
|
|
6694
|
+
sessionId: string;
|
|
6695
|
+
};
|
|
6696
|
+
cookie?: never;
|
|
6697
|
+
};
|
|
6698
|
+
requestBody?: never;
|
|
6699
|
+
responses: {
|
|
6700
|
+
/** @description Long-poll for clients that cannot hold an event stream. Returns as soon as a reply, turn transition or approval request lands after `after`, or with changed: false at the timeout (default 25 s). `output` follows the same cursor and page bounds as getAgentOutput. Requires agent_session.read. */
|
|
6701
|
+
200: {
|
|
6702
|
+
headers: {
|
|
6703
|
+
[name: string]: unknown;
|
|
6704
|
+
};
|
|
6705
|
+
content: {
|
|
6706
|
+
"application/json": {
|
|
6707
|
+
changed: boolean;
|
|
6708
|
+
session: components["schemas"]["AgentSessionState"];
|
|
6709
|
+
output: {
|
|
6710
|
+
messages: {
|
|
6711
|
+
seq: number;
|
|
6712
|
+
turnId: string | null;
|
|
6713
|
+
at: string;
|
|
6714
|
+
text: string;
|
|
6715
|
+
truncated: boolean;
|
|
6716
|
+
}[];
|
|
6717
|
+
nextCursor: number;
|
|
6718
|
+
hasMore: boolean;
|
|
6719
|
+
};
|
|
6720
|
+
};
|
|
6721
|
+
};
|
|
6722
|
+
};
|
|
6723
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6724
|
+
400: {
|
|
6725
|
+
headers: {
|
|
6726
|
+
[name: string]: unknown;
|
|
6727
|
+
};
|
|
6728
|
+
content: {
|
|
6729
|
+
"application/json": {
|
|
6730
|
+
error: {
|
|
6731
|
+
message: string;
|
|
6732
|
+
code?: string;
|
|
6733
|
+
turnId?: string;
|
|
6734
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6735
|
+
};
|
|
6736
|
+
};
|
|
6737
|
+
};
|
|
6738
|
+
};
|
|
6739
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6740
|
+
403: {
|
|
6741
|
+
headers: {
|
|
6742
|
+
[name: string]: unknown;
|
|
6743
|
+
};
|
|
6744
|
+
content: {
|
|
6745
|
+
"application/json": {
|
|
6746
|
+
error: {
|
|
6747
|
+
message: string;
|
|
6748
|
+
code?: string;
|
|
6749
|
+
turnId?: string;
|
|
6750
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6751
|
+
};
|
|
6752
|
+
};
|
|
6753
|
+
};
|
|
6754
|
+
};
|
|
6755
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6756
|
+
404: {
|
|
6757
|
+
headers: {
|
|
6758
|
+
[name: string]: unknown;
|
|
6759
|
+
};
|
|
6760
|
+
content: {
|
|
6761
|
+
"application/json": {
|
|
6762
|
+
error: {
|
|
6763
|
+
message: string;
|
|
6764
|
+
code?: string;
|
|
6765
|
+
turnId?: string;
|
|
6766
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6767
|
+
};
|
|
6768
|
+
};
|
|
6769
|
+
};
|
|
6770
|
+
};
|
|
6771
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6772
|
+
409: {
|
|
6773
|
+
headers: {
|
|
6774
|
+
[name: string]: unknown;
|
|
6775
|
+
};
|
|
6776
|
+
content: {
|
|
6777
|
+
"application/json": {
|
|
6778
|
+
error: {
|
|
6779
|
+
message: string;
|
|
6780
|
+
code?: string;
|
|
6781
|
+
turnId?: string;
|
|
6782
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6783
|
+
};
|
|
6784
|
+
};
|
|
6785
|
+
};
|
|
6786
|
+
};
|
|
6787
|
+
/** @description Too many waits or event streams are open for this credential. */
|
|
6788
|
+
429: {
|
|
6789
|
+
headers: {
|
|
6790
|
+
[name: string]: unknown;
|
|
6791
|
+
};
|
|
6792
|
+
content: {
|
|
6793
|
+
"application/json": {
|
|
6794
|
+
error: {
|
|
6795
|
+
code: string;
|
|
6796
|
+
message: string;
|
|
6797
|
+
};
|
|
6798
|
+
};
|
|
6799
|
+
};
|
|
6800
|
+
};
|
|
6801
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6802
|
+
500: {
|
|
6803
|
+
headers: {
|
|
6804
|
+
[name: string]: unknown;
|
|
6805
|
+
};
|
|
6806
|
+
content: {
|
|
6807
|
+
"application/json": {
|
|
6808
|
+
error: {
|
|
6809
|
+
message: string;
|
|
6810
|
+
code?: string;
|
|
6811
|
+
turnId?: string;
|
|
6812
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6813
|
+
};
|
|
6814
|
+
};
|
|
6815
|
+
};
|
|
6816
|
+
};
|
|
6817
|
+
/** @description Waiting is not enabled on this API. */
|
|
6818
|
+
501: {
|
|
6819
|
+
headers: {
|
|
6820
|
+
[name: string]: unknown;
|
|
6821
|
+
};
|
|
6822
|
+
content: {
|
|
6823
|
+
"application/json": {
|
|
6824
|
+
error: {
|
|
6825
|
+
code: string;
|
|
6826
|
+
message: string;
|
|
6827
|
+
};
|
|
6828
|
+
};
|
|
6829
|
+
};
|
|
6830
|
+
};
|
|
6831
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
6832
|
+
503: {
|
|
6833
|
+
headers: {
|
|
6834
|
+
[name: string]: unknown;
|
|
6835
|
+
};
|
|
6836
|
+
content: {
|
|
6837
|
+
"application/json": {
|
|
6838
|
+
error: {
|
|
6839
|
+
message: string;
|
|
6840
|
+
code?: string;
|
|
6841
|
+
turnId?: string;
|
|
6842
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5718
6843
|
};
|
|
5719
6844
|
};
|
|
5720
6845
|
};
|
|
@@ -5734,6 +6859,8 @@ export interface operations {
|
|
|
5734
6859
|
content: {
|
|
5735
6860
|
"application/json": {
|
|
5736
6861
|
text: string;
|
|
6862
|
+
/** @description Reuse the same key and text to retry without creating another turn. */
|
|
6863
|
+
requestKey?: string;
|
|
5737
6864
|
};
|
|
5738
6865
|
};
|
|
5739
6866
|
};
|
|
@@ -5747,7 +6874,8 @@ export interface operations {
|
|
|
5747
6874
|
"application/json": {
|
|
5748
6875
|
turnId: string;
|
|
5749
6876
|
/** @enum {string} */
|
|
5750
|
-
state: "submitted";
|
|
6877
|
+
state: "submitted" | "working" | "input-required" | "completed" | "failed" | "canceled";
|
|
6878
|
+
replayed?: boolean;
|
|
5751
6879
|
};
|
|
5752
6880
|
};
|
|
5753
6881
|
};
|
|
@@ -5761,6 +6889,8 @@ export interface operations {
|
|
|
5761
6889
|
error: {
|
|
5762
6890
|
message: string;
|
|
5763
6891
|
code?: string;
|
|
6892
|
+
turnId?: string;
|
|
6893
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5764
6894
|
};
|
|
5765
6895
|
};
|
|
5766
6896
|
};
|
|
@@ -5775,6 +6905,8 @@ export interface operations {
|
|
|
5775
6905
|
error: {
|
|
5776
6906
|
message: string;
|
|
5777
6907
|
code?: string;
|
|
6908
|
+
turnId?: string;
|
|
6909
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5778
6910
|
};
|
|
5779
6911
|
};
|
|
5780
6912
|
};
|
|
@@ -5789,6 +6921,8 @@ export interface operations {
|
|
|
5789
6921
|
error: {
|
|
5790
6922
|
message: string;
|
|
5791
6923
|
code?: string;
|
|
6924
|
+
turnId?: string;
|
|
6925
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5792
6926
|
};
|
|
5793
6927
|
};
|
|
5794
6928
|
};
|
|
@@ -5803,6 +6937,8 @@ export interface operations {
|
|
|
5803
6937
|
error: {
|
|
5804
6938
|
message: string;
|
|
5805
6939
|
code?: string;
|
|
6940
|
+
turnId?: string;
|
|
6941
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5806
6942
|
};
|
|
5807
6943
|
};
|
|
5808
6944
|
};
|
|
@@ -5817,6 +6953,8 @@ export interface operations {
|
|
|
5817
6953
|
error: {
|
|
5818
6954
|
message: string;
|
|
5819
6955
|
code?: string;
|
|
6956
|
+
turnId?: string;
|
|
6957
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5820
6958
|
};
|
|
5821
6959
|
};
|
|
5822
6960
|
};
|
|
@@ -5831,6 +6969,8 @@ export interface operations {
|
|
|
5831
6969
|
error: {
|
|
5832
6970
|
message: string;
|
|
5833
6971
|
code?: string;
|
|
6972
|
+
turnId?: string;
|
|
6973
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5834
6974
|
};
|
|
5835
6975
|
};
|
|
5836
6976
|
};
|
|
@@ -5877,6 +7017,8 @@ export interface operations {
|
|
|
5877
7017
|
error: {
|
|
5878
7018
|
message: string;
|
|
5879
7019
|
code?: string;
|
|
7020
|
+
turnId?: string;
|
|
7021
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5880
7022
|
};
|
|
5881
7023
|
};
|
|
5882
7024
|
};
|
|
@@ -5891,6 +7033,8 @@ export interface operations {
|
|
|
5891
7033
|
error: {
|
|
5892
7034
|
message: string;
|
|
5893
7035
|
code?: string;
|
|
7036
|
+
turnId?: string;
|
|
7037
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5894
7038
|
};
|
|
5895
7039
|
};
|
|
5896
7040
|
};
|
|
@@ -5905,6 +7049,8 @@ export interface operations {
|
|
|
5905
7049
|
error: {
|
|
5906
7050
|
message: string;
|
|
5907
7051
|
code?: string;
|
|
7052
|
+
turnId?: string;
|
|
7053
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5908
7054
|
};
|
|
5909
7055
|
};
|
|
5910
7056
|
};
|
|
@@ -5919,6 +7065,8 @@ export interface operations {
|
|
|
5919
7065
|
error: {
|
|
5920
7066
|
message: string;
|
|
5921
7067
|
code?: string;
|
|
7068
|
+
turnId?: string;
|
|
7069
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5922
7070
|
};
|
|
5923
7071
|
};
|
|
5924
7072
|
};
|
|
@@ -5933,6 +7081,8 @@ export interface operations {
|
|
|
5933
7081
|
error: {
|
|
5934
7082
|
message: string;
|
|
5935
7083
|
code?: string;
|
|
7084
|
+
turnId?: string;
|
|
7085
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5936
7086
|
};
|
|
5937
7087
|
};
|
|
5938
7088
|
};
|
|
@@ -5947,6 +7097,8 @@ export interface operations {
|
|
|
5947
7097
|
error: {
|
|
5948
7098
|
message: string;
|
|
5949
7099
|
code?: string;
|
|
7100
|
+
turnId?: string;
|
|
7101
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5950
7102
|
};
|
|
5951
7103
|
};
|
|
5952
7104
|
};
|
|
@@ -5985,6 +7137,126 @@ export interface operations {
|
|
|
5985
7137
|
error: {
|
|
5986
7138
|
message: string;
|
|
5987
7139
|
code?: string;
|
|
7140
|
+
turnId?: string;
|
|
7141
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
7142
|
+
};
|
|
7143
|
+
};
|
|
7144
|
+
};
|
|
7145
|
+
};
|
|
7146
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
7147
|
+
403: {
|
|
7148
|
+
headers: {
|
|
7149
|
+
[name: string]: unknown;
|
|
7150
|
+
};
|
|
7151
|
+
content: {
|
|
7152
|
+
"application/json": {
|
|
7153
|
+
error: {
|
|
7154
|
+
message: string;
|
|
7155
|
+
code?: string;
|
|
7156
|
+
turnId?: string;
|
|
7157
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
7158
|
+
};
|
|
7159
|
+
};
|
|
7160
|
+
};
|
|
7161
|
+
};
|
|
7162
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
7163
|
+
404: {
|
|
7164
|
+
headers: {
|
|
7165
|
+
[name: string]: unknown;
|
|
7166
|
+
};
|
|
7167
|
+
content: {
|
|
7168
|
+
"application/json": {
|
|
7169
|
+
error: {
|
|
7170
|
+
message: string;
|
|
7171
|
+
code?: string;
|
|
7172
|
+
turnId?: string;
|
|
7173
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
7174
|
+
};
|
|
7175
|
+
};
|
|
7176
|
+
};
|
|
7177
|
+
};
|
|
7178
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
7179
|
+
409: {
|
|
7180
|
+
headers: {
|
|
7181
|
+
[name: string]: unknown;
|
|
7182
|
+
};
|
|
7183
|
+
content: {
|
|
7184
|
+
"application/json": {
|
|
7185
|
+
error: {
|
|
7186
|
+
message: string;
|
|
7187
|
+
code?: string;
|
|
7188
|
+
turnId?: string;
|
|
7189
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
7190
|
+
};
|
|
7191
|
+
};
|
|
7192
|
+
};
|
|
7193
|
+
};
|
|
7194
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
7195
|
+
500: {
|
|
7196
|
+
headers: {
|
|
7197
|
+
[name: string]: unknown;
|
|
7198
|
+
};
|
|
7199
|
+
content: {
|
|
7200
|
+
"application/json": {
|
|
7201
|
+
error: {
|
|
7202
|
+
message: string;
|
|
7203
|
+
code?: string;
|
|
7204
|
+
turnId?: string;
|
|
7205
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
7206
|
+
};
|
|
7207
|
+
};
|
|
7208
|
+
};
|
|
7209
|
+
};
|
|
7210
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
7211
|
+
503: {
|
|
7212
|
+
headers: {
|
|
7213
|
+
[name: string]: unknown;
|
|
7214
|
+
};
|
|
7215
|
+
content: {
|
|
7216
|
+
"application/json": {
|
|
7217
|
+
error: {
|
|
7218
|
+
message: string;
|
|
7219
|
+
code?: string;
|
|
7220
|
+
turnId?: string;
|
|
7221
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
7222
|
+
};
|
|
7223
|
+
};
|
|
7224
|
+
};
|
|
7225
|
+
};
|
|
7226
|
+
};
|
|
7227
|
+
};
|
|
7228
|
+
recoverAgentSession: {
|
|
7229
|
+
parameters: {
|
|
7230
|
+
query?: never;
|
|
7231
|
+
header?: never;
|
|
7232
|
+
path: {
|
|
7233
|
+
sessionId: string;
|
|
7234
|
+
};
|
|
7235
|
+
cookie?: never;
|
|
7236
|
+
};
|
|
7237
|
+
requestBody?: never;
|
|
7238
|
+
responses: {
|
|
7239
|
+
/** @description Saved conversation resumed. */
|
|
7240
|
+
200: {
|
|
7241
|
+
headers: {
|
|
7242
|
+
[name: string]: unknown;
|
|
7243
|
+
};
|
|
7244
|
+
content: {
|
|
7245
|
+
"application/json": components["schemas"]["AgentSessionState"];
|
|
7246
|
+
};
|
|
7247
|
+
};
|
|
7248
|
+
/** @description The operation could not be completed; inspect error.message and error.code. */
|
|
7249
|
+
400: {
|
|
7250
|
+
headers: {
|
|
7251
|
+
[name: string]: unknown;
|
|
7252
|
+
};
|
|
7253
|
+
content: {
|
|
7254
|
+
"application/json": {
|
|
7255
|
+
error: {
|
|
7256
|
+
message: string;
|
|
7257
|
+
code?: string;
|
|
7258
|
+
turnId?: string;
|
|
7259
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
5988
7260
|
};
|
|
5989
7261
|
};
|
|
5990
7262
|
};
|
|
@@ -5999,6 +7271,8 @@ export interface operations {
|
|
|
5999
7271
|
error: {
|
|
6000
7272
|
message: string;
|
|
6001
7273
|
code?: string;
|
|
7274
|
+
turnId?: string;
|
|
7275
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6002
7276
|
};
|
|
6003
7277
|
};
|
|
6004
7278
|
};
|
|
@@ -6013,6 +7287,8 @@ export interface operations {
|
|
|
6013
7287
|
error: {
|
|
6014
7288
|
message: string;
|
|
6015
7289
|
code?: string;
|
|
7290
|
+
turnId?: string;
|
|
7291
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6016
7292
|
};
|
|
6017
7293
|
};
|
|
6018
7294
|
};
|
|
@@ -6027,6 +7303,8 @@ export interface operations {
|
|
|
6027
7303
|
error: {
|
|
6028
7304
|
message: string;
|
|
6029
7305
|
code?: string;
|
|
7306
|
+
turnId?: string;
|
|
7307
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6030
7308
|
};
|
|
6031
7309
|
};
|
|
6032
7310
|
};
|
|
@@ -6041,6 +7319,8 @@ export interface operations {
|
|
|
6041
7319
|
error: {
|
|
6042
7320
|
message: string;
|
|
6043
7321
|
code?: string;
|
|
7322
|
+
turnId?: string;
|
|
7323
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6044
7324
|
};
|
|
6045
7325
|
};
|
|
6046
7326
|
};
|
|
@@ -6055,6 +7335,8 @@ export interface operations {
|
|
|
6055
7335
|
error: {
|
|
6056
7336
|
message: string;
|
|
6057
7337
|
code?: string;
|
|
7338
|
+
turnId?: string;
|
|
7339
|
+
communication?: components["schemas"]["AgentSessionCommunication"];
|
|
6058
7340
|
};
|
|
6059
7341
|
};
|
|
6060
7342
|
};
|