@beeos-ai/bma-sdk 1.0.1 → 2.1.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 +72 -131
- package/dist/beta.d.ts +79 -0
- package/dist/beta.js +107 -0
- package/dist/beta.js.map +1 -0
- package/dist/client.d.ts +32 -0
- package/dist/client.js +50 -0
- package/dist/client.js.map +1 -0
- package/dist/errors.d.ts +6 -75
- package/dist/errors.js +11 -105
- package/dist/errors.js.map +1 -1
- package/dist/extensions.d.ts +80 -0
- package/dist/extensions.js +24 -0
- package/dist/extensions.js.map +1 -0
- package/dist/generated/extensions-resources.d.ts +271 -0
- package/dist/generated/extensions-resources.js +255 -0
- package/dist/generated/extensions-resources.js.map +1 -0
- package/dist/generated/extensions.d.ts +3727 -0
- package/dist/generated/{rest.js → extensions.js} +1 -1
- package/dist/generated/extensions.js.map +1 -0
- package/dist/idempotency.d.ts +4 -0
- package/dist/idempotency.js +7 -0
- package/dist/idempotency.js.map +1 -0
- package/dist/index.d.ts +9 -55
- package/dist/index.js +9 -57
- package/dist/index.js.map +1 -1
- package/dist/internal.d.ts +9 -0
- package/dist/internal.js +32 -0
- package/dist/internal.js.map +1 -0
- package/dist/resume.d.ts +24 -0
- package/dist/resume.js +127 -0
- package/dist/resume.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +3 -3
- package/dist/version.js.map +1 -1
- package/package.json +6 -12
- package/dist/core.d.ts +0 -105
- package/dist/core.js +0 -406
- package/dist/core.js.map +0 -1
- package/dist/facade-extensions.d.ts +0 -27
- package/dist/facade-extensions.js +0 -47
- package/dist/facade-extensions.js.map +0 -1
- package/dist/generated/facade-extensions-operations.d.ts +0 -133
- package/dist/generated/facade-extensions-operations.js +0 -11
- package/dist/generated/facade-extensions-operations.js.map +0 -1
- package/dist/generated/facade-extensions-resources.d.ts +0 -34
- package/dist/generated/facade-extensions-resources.js +0 -47
- package/dist/generated/facade-extensions-resources.js.map +0 -1
- package/dist/generated/facade-extensions-types.d.ts +0 -14
- package/dist/generated/facade-extensions-types.js +0 -2
- package/dist/generated/facade-extensions-types.js.map +0 -1
- package/dist/generated/facade-extensions.d.ts +0 -507
- package/dist/generated/facade-extensions.js +0 -6
- package/dist/generated/facade-extensions.js.map +0 -1
- package/dist/generated/rest-operations.d.ts +0 -4079
- package/dist/generated/rest-operations.js +0 -234
- package/dist/generated/rest-operations.js.map +0 -1
- package/dist/generated/rest-resources.d.ts +0 -666
- package/dist/generated/rest-resources.js +0 -1124
- package/dist/generated/rest-resources.js.map +0 -1
- package/dist/generated/rest-types.d.ts +0 -572
- package/dist/generated/rest-types.js +0 -2
- package/dist/generated/rest-types.js.map +0 -1
- package/dist/generated/rest.d.ts +0 -18519
- package/dist/generated/rest.js.map +0 -1
- package/dist/lib/artifacts.d.ts +0 -14
- package/dist/lib/artifacts.js +0 -56
- package/dist/lib/artifacts.js.map +0 -1
- package/dist/lib/tool-runner.d.ts +0 -99
- package/dist/lib/tool-runner.js +0 -140
- package/dist/lib/tool-runner.js.map +0 -1
- package/dist/pagination.d.ts +0 -31
- package/dist/pagination.js +0 -66
- package/dist/pagination.js.map +0 -1
- package/dist/resource.d.ts +0 -8
- package/dist/resource.js +0 -9
- package/dist/resource.js.map +0 -1
- package/dist/streaming.d.ts +0 -27
- package/dist/streaming.js +0 -89
- package/dist/streaming.js.map +0 -1
|
@@ -0,0 +1,3727 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/organizations/{organization_id}/projects": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/** List the projects the key can see */
|
|
14
|
+
get: operations["listOrganizationProjects"];
|
|
15
|
+
put?: never;
|
|
16
|
+
/** Create a project */
|
|
17
|
+
post: operations["createOrganizationProject"];
|
|
18
|
+
delete?: never;
|
|
19
|
+
options?: never;
|
|
20
|
+
head?: never;
|
|
21
|
+
patch?: never;
|
|
22
|
+
trace?: never;
|
|
23
|
+
};
|
|
24
|
+
"/machine_pools": {
|
|
25
|
+
parameters: {
|
|
26
|
+
query?: never;
|
|
27
|
+
header?: never;
|
|
28
|
+
path?: never;
|
|
29
|
+
cookie?: never;
|
|
30
|
+
};
|
|
31
|
+
/** List machine pools */
|
|
32
|
+
get: operations["listMachinePools"];
|
|
33
|
+
put?: never;
|
|
34
|
+
/** Create a machine pool */
|
|
35
|
+
post: operations["createMachinePool"];
|
|
36
|
+
delete?: never;
|
|
37
|
+
options?: never;
|
|
38
|
+
head?: never;
|
|
39
|
+
patch?: never;
|
|
40
|
+
trace?: never;
|
|
41
|
+
};
|
|
42
|
+
"/machine_pools/check_connection": {
|
|
43
|
+
parameters: {
|
|
44
|
+
query?: never;
|
|
45
|
+
header?: never;
|
|
46
|
+
path?: never;
|
|
47
|
+
cookie?: never;
|
|
48
|
+
};
|
|
49
|
+
get?: never;
|
|
50
|
+
put?: never;
|
|
51
|
+
/** Check provider connectivity before creating a pool */
|
|
52
|
+
post: operations["checkMachinePoolConnection"];
|
|
53
|
+
delete?: never;
|
|
54
|
+
options?: never;
|
|
55
|
+
head?: never;
|
|
56
|
+
patch?: never;
|
|
57
|
+
trace?: never;
|
|
58
|
+
};
|
|
59
|
+
"/machine_pools/{pool_id}": {
|
|
60
|
+
parameters: {
|
|
61
|
+
query?: never;
|
|
62
|
+
header?: never;
|
|
63
|
+
path?: never;
|
|
64
|
+
cookie?: never;
|
|
65
|
+
};
|
|
66
|
+
/** Retrieve a machine pool */
|
|
67
|
+
get: operations["getMachinePool"];
|
|
68
|
+
put?: never;
|
|
69
|
+
/** Update a machine pool */
|
|
70
|
+
post: operations["updateMachinePool"];
|
|
71
|
+
/** Delete a machine pool */
|
|
72
|
+
delete: operations["deleteMachinePool"];
|
|
73
|
+
options?: never;
|
|
74
|
+
head?: never;
|
|
75
|
+
patch?: never;
|
|
76
|
+
trace?: never;
|
|
77
|
+
};
|
|
78
|
+
"/machine_pools/{pool_id}/grants": {
|
|
79
|
+
parameters: {
|
|
80
|
+
query?: never;
|
|
81
|
+
header?: never;
|
|
82
|
+
path?: never;
|
|
83
|
+
cookie?: never;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* List the pool grants of a project
|
|
87
|
+
* @description The project is the `project_id` query parameter or `x-bma-project-id`.
|
|
88
|
+
*/
|
|
89
|
+
get: operations["listMachinePoolGrants"];
|
|
90
|
+
put?: never;
|
|
91
|
+
/**
|
|
92
|
+
* Grant a project the use of a pool
|
|
93
|
+
* @description The body may carry `project_id`; otherwise the project header selects it. `machine_pool_id` comes from the path.
|
|
94
|
+
*/
|
|
95
|
+
post: operations["createMachinePoolGrant"];
|
|
96
|
+
delete?: never;
|
|
97
|
+
options?: never;
|
|
98
|
+
head?: never;
|
|
99
|
+
patch?: never;
|
|
100
|
+
trace?: never;
|
|
101
|
+
};
|
|
102
|
+
"/machine_pools/{pool_id}/grants/{grant_id}": {
|
|
103
|
+
parameters: {
|
|
104
|
+
query?: never;
|
|
105
|
+
header?: never;
|
|
106
|
+
path?: never;
|
|
107
|
+
cookie?: never;
|
|
108
|
+
};
|
|
109
|
+
/** Retrieve a pool grant */
|
|
110
|
+
get: operations["getMachinePoolGrant"];
|
|
111
|
+
put?: never;
|
|
112
|
+
/** Update a pool grant */
|
|
113
|
+
post: operations["updateMachinePoolGrant"];
|
|
114
|
+
/** Delete a pool grant */
|
|
115
|
+
delete: operations["deleteMachinePoolGrant"];
|
|
116
|
+
options?: never;
|
|
117
|
+
head?: never;
|
|
118
|
+
patch?: never;
|
|
119
|
+
trace?: never;
|
|
120
|
+
};
|
|
121
|
+
"/machines": {
|
|
122
|
+
parameters: {
|
|
123
|
+
query?: never;
|
|
124
|
+
header?: never;
|
|
125
|
+
path?: never;
|
|
126
|
+
cookie?: never;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* List machines
|
|
130
|
+
* @description `agent_id` lists that agent's machines (project scope, native listAgentMachines).
|
|
131
|
+
*/
|
|
132
|
+
get: operations["listMachines"];
|
|
133
|
+
put?: never;
|
|
134
|
+
/**
|
|
135
|
+
* Create a machine
|
|
136
|
+
* @description `agent_id` + `persistent: true` creates an agent persistent machine (createAgentPersistentMachine); `source: byo` connects a BYO machine (connectBYOMachine) and returns the one-time `token`; otherwise createMachine.
|
|
137
|
+
*/
|
|
138
|
+
post: operations["createMachine"];
|
|
139
|
+
delete?: never;
|
|
140
|
+
options?: never;
|
|
141
|
+
head?: never;
|
|
142
|
+
patch?: never;
|
|
143
|
+
trace?: never;
|
|
144
|
+
};
|
|
145
|
+
"/machines/{machine_id}": {
|
|
146
|
+
parameters: {
|
|
147
|
+
query?: never;
|
|
148
|
+
header?: never;
|
|
149
|
+
path?: never;
|
|
150
|
+
cookie?: never;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Retrieve a machine
|
|
154
|
+
* @description Adds `capabilities` (getMachineCapabilities), null when the project cannot use the machine.
|
|
155
|
+
*/
|
|
156
|
+
get: operations["getMachine"];
|
|
157
|
+
put?: never;
|
|
158
|
+
/** Update a machine */
|
|
159
|
+
post: operations["updateMachine"];
|
|
160
|
+
/**
|
|
161
|
+
* Delete a machine
|
|
162
|
+
* @description With `agent_id` it deletes that agent's persistent machine (deleteAgentMachine).
|
|
163
|
+
*/
|
|
164
|
+
delete: operations["deleteMachine"];
|
|
165
|
+
options?: never;
|
|
166
|
+
head?: never;
|
|
167
|
+
patch?: never;
|
|
168
|
+
trace?: never;
|
|
169
|
+
};
|
|
170
|
+
"/machines/{machine_id}/resume": {
|
|
171
|
+
parameters: {
|
|
172
|
+
query?: never;
|
|
173
|
+
header?: never;
|
|
174
|
+
path?: never;
|
|
175
|
+
cookie?: never;
|
|
176
|
+
};
|
|
177
|
+
get?: never;
|
|
178
|
+
put?: never;
|
|
179
|
+
/** Resume a paused machine */
|
|
180
|
+
post: operations["resumeMachine"];
|
|
181
|
+
delete?: never;
|
|
182
|
+
options?: never;
|
|
183
|
+
head?: never;
|
|
184
|
+
patch?: never;
|
|
185
|
+
trace?: never;
|
|
186
|
+
};
|
|
187
|
+
"/machines/{machine_id}/capabilities": {
|
|
188
|
+
parameters: {
|
|
189
|
+
query?: never;
|
|
190
|
+
header?: never;
|
|
191
|
+
path?: never;
|
|
192
|
+
cookie?: never;
|
|
193
|
+
};
|
|
194
|
+
/** Machine interaction capabilities */
|
|
195
|
+
get: operations["getMachineCapabilities"];
|
|
196
|
+
put?: never;
|
|
197
|
+
post?: never;
|
|
198
|
+
delete?: never;
|
|
199
|
+
options?: never;
|
|
200
|
+
head?: never;
|
|
201
|
+
patch?: never;
|
|
202
|
+
trace?: never;
|
|
203
|
+
};
|
|
204
|
+
"/desktop_sessions": {
|
|
205
|
+
parameters: {
|
|
206
|
+
query?: never;
|
|
207
|
+
header?: never;
|
|
208
|
+
path?: never;
|
|
209
|
+
cookie?: never;
|
|
210
|
+
};
|
|
211
|
+
get?: never;
|
|
212
|
+
put?: never;
|
|
213
|
+
/** Create a desktop session */
|
|
214
|
+
post: operations["createDesktopSession"];
|
|
215
|
+
delete?: never;
|
|
216
|
+
options?: never;
|
|
217
|
+
head?: never;
|
|
218
|
+
patch?: never;
|
|
219
|
+
trace?: never;
|
|
220
|
+
};
|
|
221
|
+
"/desktop_sessions/{desktop_session_id}": {
|
|
222
|
+
parameters: {
|
|
223
|
+
query?: never;
|
|
224
|
+
header?: never;
|
|
225
|
+
path?: never;
|
|
226
|
+
cookie?: never;
|
|
227
|
+
};
|
|
228
|
+
/** Retrieve a desktop session (control state in `control`) */
|
|
229
|
+
get: operations["getDesktopSession"];
|
|
230
|
+
put?: never;
|
|
231
|
+
post?: never;
|
|
232
|
+
delete?: never;
|
|
233
|
+
options?: never;
|
|
234
|
+
head?: never;
|
|
235
|
+
patch?: never;
|
|
236
|
+
trace?: never;
|
|
237
|
+
};
|
|
238
|
+
"/desktop_sessions/{desktop_session_id}/close": {
|
|
239
|
+
parameters: {
|
|
240
|
+
query?: never;
|
|
241
|
+
header?: never;
|
|
242
|
+
path?: never;
|
|
243
|
+
cookie?: never;
|
|
244
|
+
};
|
|
245
|
+
get?: never;
|
|
246
|
+
put?: never;
|
|
247
|
+
/** Close a desktop session */
|
|
248
|
+
post: operations["closeDesktopSession"];
|
|
249
|
+
delete?: never;
|
|
250
|
+
options?: never;
|
|
251
|
+
head?: never;
|
|
252
|
+
patch?: never;
|
|
253
|
+
trace?: never;
|
|
254
|
+
};
|
|
255
|
+
"/desktop_sessions/{desktop_session_id}/acquire_control": {
|
|
256
|
+
parameters: {
|
|
257
|
+
query?: never;
|
|
258
|
+
header?: never;
|
|
259
|
+
path?: never;
|
|
260
|
+
cookie?: never;
|
|
261
|
+
};
|
|
262
|
+
get?: never;
|
|
263
|
+
put?: never;
|
|
264
|
+
/** Take input control */
|
|
265
|
+
post: operations["acquireDesktopControl"];
|
|
266
|
+
delete?: never;
|
|
267
|
+
options?: never;
|
|
268
|
+
head?: never;
|
|
269
|
+
patch?: never;
|
|
270
|
+
trace?: never;
|
|
271
|
+
};
|
|
272
|
+
"/desktop_sessions/{desktop_session_id}/renew_control": {
|
|
273
|
+
parameters: {
|
|
274
|
+
query?: never;
|
|
275
|
+
header?: never;
|
|
276
|
+
path?: never;
|
|
277
|
+
cookie?: never;
|
|
278
|
+
};
|
|
279
|
+
get?: never;
|
|
280
|
+
put?: never;
|
|
281
|
+
/** Renew the control lease */
|
|
282
|
+
post: operations["renewDesktopControl"];
|
|
283
|
+
delete?: never;
|
|
284
|
+
options?: never;
|
|
285
|
+
head?: never;
|
|
286
|
+
patch?: never;
|
|
287
|
+
trace?: never;
|
|
288
|
+
};
|
|
289
|
+
"/desktop_sessions/{desktop_session_id}/release_control": {
|
|
290
|
+
parameters: {
|
|
291
|
+
query?: never;
|
|
292
|
+
header?: never;
|
|
293
|
+
path?: never;
|
|
294
|
+
cookie?: never;
|
|
295
|
+
};
|
|
296
|
+
get?: never;
|
|
297
|
+
put?: never;
|
|
298
|
+
/** Release control */
|
|
299
|
+
post: operations["releaseDesktopControl"];
|
|
300
|
+
delete?: never;
|
|
301
|
+
options?: never;
|
|
302
|
+
head?: never;
|
|
303
|
+
patch?: never;
|
|
304
|
+
trace?: never;
|
|
305
|
+
};
|
|
306
|
+
"/desktop_sessions/{desktop_session_id}/handback_control": {
|
|
307
|
+
parameters: {
|
|
308
|
+
query?: never;
|
|
309
|
+
header?: never;
|
|
310
|
+
path?: never;
|
|
311
|
+
cookie?: never;
|
|
312
|
+
};
|
|
313
|
+
get?: never;
|
|
314
|
+
put?: never;
|
|
315
|
+
/** Hand control back to the agent */
|
|
316
|
+
post: operations["handbackDesktopControl"];
|
|
317
|
+
delete?: never;
|
|
318
|
+
options?: never;
|
|
319
|
+
head?: never;
|
|
320
|
+
patch?: never;
|
|
321
|
+
trace?: never;
|
|
322
|
+
};
|
|
323
|
+
"/desktop_sessions/{desktop_session_id}/actions": {
|
|
324
|
+
parameters: {
|
|
325
|
+
query?: never;
|
|
326
|
+
header?: never;
|
|
327
|
+
path?: never;
|
|
328
|
+
cookie?: never;
|
|
329
|
+
};
|
|
330
|
+
get?: never;
|
|
331
|
+
put?: never;
|
|
332
|
+
/** Send input actions */
|
|
333
|
+
post: operations["sendDesktopActions"];
|
|
334
|
+
delete?: never;
|
|
335
|
+
options?: never;
|
|
336
|
+
head?: never;
|
|
337
|
+
patch?: never;
|
|
338
|
+
trace?: never;
|
|
339
|
+
};
|
|
340
|
+
"/desktop_sessions/{desktop_session_id}/screenshot": {
|
|
341
|
+
parameters: {
|
|
342
|
+
query?: never;
|
|
343
|
+
header?: never;
|
|
344
|
+
path?: never;
|
|
345
|
+
cookie?: never;
|
|
346
|
+
};
|
|
347
|
+
get?: never;
|
|
348
|
+
put?: never;
|
|
349
|
+
/** Capture a screenshot */
|
|
350
|
+
post: operations["captureDesktopScreenshot"];
|
|
351
|
+
delete?: never;
|
|
352
|
+
options?: never;
|
|
353
|
+
head?: never;
|
|
354
|
+
patch?: never;
|
|
355
|
+
trace?: never;
|
|
356
|
+
};
|
|
357
|
+
"/desktop_sessions/{desktop_session_id}/resume_agent": {
|
|
358
|
+
parameters: {
|
|
359
|
+
query?: never;
|
|
360
|
+
header?: never;
|
|
361
|
+
path?: never;
|
|
362
|
+
cookie?: never;
|
|
363
|
+
};
|
|
364
|
+
get?: never;
|
|
365
|
+
put?: never;
|
|
366
|
+
/** Resume the desktop agent */
|
|
367
|
+
post: operations["resumeDesktopAgent"];
|
|
368
|
+
delete?: never;
|
|
369
|
+
options?: never;
|
|
370
|
+
head?: never;
|
|
371
|
+
patch?: never;
|
|
372
|
+
trace?: never;
|
|
373
|
+
};
|
|
374
|
+
"/desktop_sessions/{desktop_session_id}/pending_actions/{pending_id}/confirm": {
|
|
375
|
+
parameters: {
|
|
376
|
+
query?: never;
|
|
377
|
+
header?: never;
|
|
378
|
+
path?: never;
|
|
379
|
+
cookie?: never;
|
|
380
|
+
};
|
|
381
|
+
get?: never;
|
|
382
|
+
put?: never;
|
|
383
|
+
/** Confirm a pending agent action */
|
|
384
|
+
post: operations["confirmDesktopAction"];
|
|
385
|
+
delete?: never;
|
|
386
|
+
options?: never;
|
|
387
|
+
head?: never;
|
|
388
|
+
patch?: never;
|
|
389
|
+
trace?: never;
|
|
390
|
+
};
|
|
391
|
+
"/desktop_sessions/{desktop_session_id}/tickets": {
|
|
392
|
+
parameters: {
|
|
393
|
+
query?: never;
|
|
394
|
+
header?: never;
|
|
395
|
+
path?: never;
|
|
396
|
+
cookie?: never;
|
|
397
|
+
};
|
|
398
|
+
get?: never;
|
|
399
|
+
put?: never;
|
|
400
|
+
/**
|
|
401
|
+
* Mint a single-use ticket (purpose watch)
|
|
402
|
+
* @description D-7 unified ticket endpoint. `purpose` defaults to and must be `watch`; the response is a `ticket` object. `watch_tickets` is the deprecated alias that answers `desktop_watch_ticket`.
|
|
403
|
+
*/
|
|
404
|
+
post: operations["createDesktopSessionTicket"];
|
|
405
|
+
delete?: never;
|
|
406
|
+
options?: never;
|
|
407
|
+
head?: never;
|
|
408
|
+
patch?: never;
|
|
409
|
+
trace?: never;
|
|
410
|
+
};
|
|
411
|
+
"/terminal_sessions": {
|
|
412
|
+
parameters: {
|
|
413
|
+
query?: never;
|
|
414
|
+
header?: never;
|
|
415
|
+
path?: never;
|
|
416
|
+
cookie?: never;
|
|
417
|
+
};
|
|
418
|
+
/** List the terminal sessions of a machine */
|
|
419
|
+
get: operations["listTerminalSessions"];
|
|
420
|
+
put?: never;
|
|
421
|
+
/** Open a terminal session (body machine_id) */
|
|
422
|
+
post: operations["createTerminalSession"];
|
|
423
|
+
delete?: never;
|
|
424
|
+
options?: never;
|
|
425
|
+
head?: never;
|
|
426
|
+
patch?: never;
|
|
427
|
+
trace?: never;
|
|
428
|
+
};
|
|
429
|
+
"/terminal_sessions/{terminal_session_id}": {
|
|
430
|
+
parameters: {
|
|
431
|
+
query?: never;
|
|
432
|
+
header?: never;
|
|
433
|
+
path?: never;
|
|
434
|
+
cookie?: never;
|
|
435
|
+
};
|
|
436
|
+
/** Retrieve a terminal session */
|
|
437
|
+
get: operations["getTerminalSession"];
|
|
438
|
+
put?: never;
|
|
439
|
+
post?: never;
|
|
440
|
+
delete?: never;
|
|
441
|
+
options?: never;
|
|
442
|
+
head?: never;
|
|
443
|
+
patch?: never;
|
|
444
|
+
trace?: never;
|
|
445
|
+
};
|
|
446
|
+
"/terminal_sessions/{terminal_session_id}/close": {
|
|
447
|
+
parameters: {
|
|
448
|
+
query?: never;
|
|
449
|
+
header?: never;
|
|
450
|
+
path?: never;
|
|
451
|
+
cookie?: never;
|
|
452
|
+
};
|
|
453
|
+
get?: never;
|
|
454
|
+
put?: never;
|
|
455
|
+
/**
|
|
456
|
+
* Close a terminal session
|
|
457
|
+
* @description Native answers 204; the facade returns the session.
|
|
458
|
+
*/
|
|
459
|
+
post: operations["closeTerminalSession"];
|
|
460
|
+
delete?: never;
|
|
461
|
+
options?: never;
|
|
462
|
+
head?: never;
|
|
463
|
+
patch?: never;
|
|
464
|
+
trace?: never;
|
|
465
|
+
};
|
|
466
|
+
"/terminal_sessions/{terminal_session_id}/tickets": {
|
|
467
|
+
parameters: {
|
|
468
|
+
query?: never;
|
|
469
|
+
header?: never;
|
|
470
|
+
path?: never;
|
|
471
|
+
cookie?: never;
|
|
472
|
+
};
|
|
473
|
+
get?: never;
|
|
474
|
+
put?: never;
|
|
475
|
+
/**
|
|
476
|
+
* Mint a single-use ticket (purpose connect)
|
|
477
|
+
* @description D-7 unified ticket endpoint. `purpose` defaults to and must be `connect`; the response is a `ticket` object. `connection_tickets` is the deprecated alias that answers `terminal_connection_ticket`.
|
|
478
|
+
*/
|
|
479
|
+
post: operations["createTerminalSessionTicket"];
|
|
480
|
+
delete?: never;
|
|
481
|
+
options?: never;
|
|
482
|
+
head?: never;
|
|
483
|
+
patch?: never;
|
|
484
|
+
trace?: never;
|
|
485
|
+
};
|
|
486
|
+
"/vaults": {
|
|
487
|
+
parameters: {
|
|
488
|
+
query?: never;
|
|
489
|
+
header?: never;
|
|
490
|
+
path?: never;
|
|
491
|
+
cookie?: never;
|
|
492
|
+
};
|
|
493
|
+
/**
|
|
494
|
+
* List vaults
|
|
495
|
+
* @description Vaults of the project selected with `x-bma-project-id`, or of every project the key sees. `limit` is 1-100 (default 20).
|
|
496
|
+
*/
|
|
497
|
+
get: operations["listVaults"];
|
|
498
|
+
put?: never;
|
|
499
|
+
/**
|
|
500
|
+
* Create a vault
|
|
501
|
+
* @description Creates a new vault in the selected project (or the default project); it never returns an existing one.
|
|
502
|
+
*/
|
|
503
|
+
post: operations["createVault"];
|
|
504
|
+
delete?: never;
|
|
505
|
+
options?: never;
|
|
506
|
+
head?: never;
|
|
507
|
+
patch?: never;
|
|
508
|
+
trace?: never;
|
|
509
|
+
};
|
|
510
|
+
"/vaults/{vault_id}": {
|
|
511
|
+
parameters: {
|
|
512
|
+
query?: never;
|
|
513
|
+
header?: never;
|
|
514
|
+
path?: never;
|
|
515
|
+
cookie?: never;
|
|
516
|
+
};
|
|
517
|
+
/** Retrieve a vault */
|
|
518
|
+
get: operations["getVault"];
|
|
519
|
+
put?: never;
|
|
520
|
+
/** Update a vault */
|
|
521
|
+
post: operations["updateVault"];
|
|
522
|
+
/**
|
|
523
|
+
* Delete a vault
|
|
524
|
+
* @description Deletes the vault and every credential in it.
|
|
525
|
+
*/
|
|
526
|
+
delete: operations["deleteVault"];
|
|
527
|
+
options?: never;
|
|
528
|
+
head?: never;
|
|
529
|
+
patch?: never;
|
|
530
|
+
trace?: never;
|
|
531
|
+
};
|
|
532
|
+
"/vaults/{vault_id}/archive": {
|
|
533
|
+
parameters: {
|
|
534
|
+
query?: never;
|
|
535
|
+
header?: never;
|
|
536
|
+
path?: never;
|
|
537
|
+
cookie?: never;
|
|
538
|
+
};
|
|
539
|
+
get?: never;
|
|
540
|
+
put?: never;
|
|
541
|
+
/** Archive a vault */
|
|
542
|
+
post: operations["archiveVault"];
|
|
543
|
+
delete?: never;
|
|
544
|
+
options?: never;
|
|
545
|
+
head?: never;
|
|
546
|
+
patch?: never;
|
|
547
|
+
trace?: never;
|
|
548
|
+
};
|
|
549
|
+
"/vaults/{vault_id}/credentials": {
|
|
550
|
+
parameters: {
|
|
551
|
+
query?: never;
|
|
552
|
+
header?: never;
|
|
553
|
+
path?: never;
|
|
554
|
+
cookie?: never;
|
|
555
|
+
};
|
|
556
|
+
/** List credentials */
|
|
557
|
+
get: operations["listVaultCredentials"];
|
|
558
|
+
put?: never;
|
|
559
|
+
/**
|
|
560
|
+
* Create a credential
|
|
561
|
+
* @description `static_bearer` and `environment_variable` store a generic secret, `mcp_oauth` an oauth_token_set. `injection_location` defaults to header only. `expires_at` and refresh settings are stored as given.
|
|
562
|
+
*/
|
|
563
|
+
post: operations["createVaultCredential"];
|
|
564
|
+
delete?: never;
|
|
565
|
+
options?: never;
|
|
566
|
+
head?: never;
|
|
567
|
+
patch?: never;
|
|
568
|
+
trace?: never;
|
|
569
|
+
};
|
|
570
|
+
"/vaults/{vault_id}/credentials/{credential_id}": {
|
|
571
|
+
parameters: {
|
|
572
|
+
query?: never;
|
|
573
|
+
header?: never;
|
|
574
|
+
path?: never;
|
|
575
|
+
cookie?: never;
|
|
576
|
+
};
|
|
577
|
+
/** Retrieve a credential */
|
|
578
|
+
get: operations["getVaultCredential"];
|
|
579
|
+
put?: never;
|
|
580
|
+
/**
|
|
581
|
+
* Update or rotate a credential
|
|
582
|
+
* @description A new secret value is a new native secret version; `auth.type` must match and `mcp_server_url` and `secret_name` are immutable. Changing an `mcp_oauth` credential rewrites its whole token set (see McpOAuthUpdate).
|
|
583
|
+
*/
|
|
584
|
+
post: operations["updateVaultCredential"];
|
|
585
|
+
/** Delete a credential */
|
|
586
|
+
delete: operations["deleteVaultCredential"];
|
|
587
|
+
options?: never;
|
|
588
|
+
head?: never;
|
|
589
|
+
patch?: never;
|
|
590
|
+
trace?: never;
|
|
591
|
+
};
|
|
592
|
+
"/vaults/{vault_id}/credentials/{credential_id}/archive": {
|
|
593
|
+
parameters: {
|
|
594
|
+
query?: never;
|
|
595
|
+
header?: never;
|
|
596
|
+
path?: never;
|
|
597
|
+
cookie?: never;
|
|
598
|
+
};
|
|
599
|
+
get?: never;
|
|
600
|
+
put?: never;
|
|
601
|
+
/** Archive a credential */
|
|
602
|
+
post: operations["archiveVaultCredential"];
|
|
603
|
+
delete?: never;
|
|
604
|
+
options?: never;
|
|
605
|
+
head?: never;
|
|
606
|
+
patch?: never;
|
|
607
|
+
trace?: never;
|
|
608
|
+
};
|
|
609
|
+
"/skills": {
|
|
610
|
+
parameters: {
|
|
611
|
+
query?: never;
|
|
612
|
+
header?: never;
|
|
613
|
+
path?: never;
|
|
614
|
+
cookie?: never;
|
|
615
|
+
};
|
|
616
|
+
/** List skills */
|
|
617
|
+
get: operations["listSkills"];
|
|
618
|
+
put?: never;
|
|
619
|
+
/**
|
|
620
|
+
* Create a skill
|
|
621
|
+
* @description Uploading a name that exists for the owner is the next revision of that skill.
|
|
622
|
+
*/
|
|
623
|
+
post: operations["createSkill"];
|
|
624
|
+
delete?: never;
|
|
625
|
+
options?: never;
|
|
626
|
+
head?: never;
|
|
627
|
+
patch?: never;
|
|
628
|
+
trace?: never;
|
|
629
|
+
};
|
|
630
|
+
"/skills/{skill_id}": {
|
|
631
|
+
parameters: {
|
|
632
|
+
query?: never;
|
|
633
|
+
header?: never;
|
|
634
|
+
path?: never;
|
|
635
|
+
cookie?: never;
|
|
636
|
+
};
|
|
637
|
+
/** Retrieve a skill */
|
|
638
|
+
get: operations["getSkill"];
|
|
639
|
+
put?: never;
|
|
640
|
+
post?: never;
|
|
641
|
+
/** Delete a skill */
|
|
642
|
+
delete: operations["deleteSkill"];
|
|
643
|
+
options?: never;
|
|
644
|
+
head?: never;
|
|
645
|
+
patch?: never;
|
|
646
|
+
trace?: never;
|
|
647
|
+
};
|
|
648
|
+
}
|
|
649
|
+
export type webhooks = Record<string, never>;
|
|
650
|
+
export interface components {
|
|
651
|
+
schemas: {
|
|
652
|
+
Error: {
|
|
653
|
+
/** @constant */
|
|
654
|
+
type: "error";
|
|
655
|
+
error: {
|
|
656
|
+
/** @enum {string} */
|
|
657
|
+
type: "invalid_request_error" | "authentication_error" | "permission_error" | "not_found_error" | "rate_limit_error" | "api_error";
|
|
658
|
+
message: string;
|
|
659
|
+
/** @description BMA reason, kept as the native code. */
|
|
660
|
+
code?: string;
|
|
661
|
+
};
|
|
662
|
+
request_id?: string;
|
|
663
|
+
};
|
|
664
|
+
Project: {
|
|
665
|
+
/** @constant */
|
|
666
|
+
type: "project";
|
|
667
|
+
id: components["schemas"]["ProjectID"];
|
|
668
|
+
org_id: components["schemas"]["OrganizationID"];
|
|
669
|
+
name: components["schemas"]["ResourceName"];
|
|
670
|
+
created_at: components["schemas"]["Timestamp"];
|
|
671
|
+
updated_at: components["schemas"]["Timestamp"];
|
|
672
|
+
};
|
|
673
|
+
ListProject: {
|
|
674
|
+
data: components["schemas"]["Project"][];
|
|
675
|
+
next_page: string | null;
|
|
676
|
+
};
|
|
677
|
+
MachinePool: {
|
|
678
|
+
/** @constant */
|
|
679
|
+
type: "machine_pool";
|
|
680
|
+
id: components["schemas"]["MachinePoolID"];
|
|
681
|
+
org_id: components["schemas"]["OrganizationID"];
|
|
682
|
+
name: components["schemas"]["ResourceName"];
|
|
683
|
+
management_kind: components["schemas"]["ManagementKind"];
|
|
684
|
+
description: string;
|
|
685
|
+
provider: string;
|
|
686
|
+
/** Format: int32 */
|
|
687
|
+
default_machine_cpu: number | null;
|
|
688
|
+
/** Format: int32 */
|
|
689
|
+
default_machine_memory_mb: number | null;
|
|
690
|
+
/** @description Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch. */
|
|
691
|
+
default_machine_env: {
|
|
692
|
+
[key: string]: string;
|
|
693
|
+
};
|
|
694
|
+
/** @description Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied. */
|
|
695
|
+
default_machine_secret_env: {
|
|
696
|
+
[key: string]: components["schemas"]["SecretID"];
|
|
697
|
+
};
|
|
698
|
+
default_machine_provider_options: {
|
|
699
|
+
[key: string]: unknown;
|
|
700
|
+
};
|
|
701
|
+
default_cwd: string;
|
|
702
|
+
provider_auth_secret_id?: components["schemas"]["SecretID"];
|
|
703
|
+
provider_config: {
|
|
704
|
+
[key: string]: unknown;
|
|
705
|
+
};
|
|
706
|
+
/** @description Whether BMA deletes this pool's machines when the provider remains running after the daemon becomes inactive. */
|
|
707
|
+
runtime_protection_enabled: boolean;
|
|
708
|
+
/**
|
|
709
|
+
* Format: int32
|
|
710
|
+
* @description Deprecated, not enforced: how many machines a pool has no longer blocks new machines. Organization and project quotas over in-use machines (org resource limits max_in_use_pool_machines_per_project and max_in_use_pool_machines_per_org) govern capacity.
|
|
711
|
+
*/
|
|
712
|
+
max_total_machines: number;
|
|
713
|
+
/**
|
|
714
|
+
* Format: int32
|
|
715
|
+
* @description Deprecated, not enforced: organization and project in-use machine CPU quotas govern capacity.
|
|
716
|
+
*/
|
|
717
|
+
max_total_cpu: number | null;
|
|
718
|
+
/**
|
|
719
|
+
* Format: int32
|
|
720
|
+
* @description Deprecated, not enforced: organization and project in-use machine memory quotas govern capacity.
|
|
721
|
+
*/
|
|
722
|
+
max_total_memory_mb: number | null;
|
|
723
|
+
/** Format: int32 */
|
|
724
|
+
min_machine_cpu: number | null;
|
|
725
|
+
/** Format: int32 */
|
|
726
|
+
min_machine_memory_mb: number | null;
|
|
727
|
+
/** Format: int32 */
|
|
728
|
+
max_machine_cpu: number | null;
|
|
729
|
+
/** Format: int32 */
|
|
730
|
+
max_machine_memory_mb: number | null;
|
|
731
|
+
/**
|
|
732
|
+
* Format: int32
|
|
733
|
+
* @description Idle minutes before deleting a machine from this pool, or null when the pool default is unset.
|
|
734
|
+
*/
|
|
735
|
+
delete_after_idle_minutes: number | null;
|
|
736
|
+
/**
|
|
737
|
+
* Format: int32
|
|
738
|
+
* @description Idle minutes before pausing a machine from this pool, or null when the pool does not pause idle machines.
|
|
739
|
+
*/
|
|
740
|
+
pause_after_idle_minutes: number | null;
|
|
741
|
+
/**
|
|
742
|
+
* Format: int32
|
|
743
|
+
* @description Days a machine stays paused before it is archived, or null when the pool does not archive.
|
|
744
|
+
*/
|
|
745
|
+
archive_after_paused_days: number | null;
|
|
746
|
+
/**
|
|
747
|
+
* Format: int32
|
|
748
|
+
* @description Days a machine stays paused before it is deleted, counted from when it paused, or null when the pool keeps paused machines.
|
|
749
|
+
*/
|
|
750
|
+
delete_after_paused_days: number | null;
|
|
751
|
+
metadata: components["schemas"]["Metadata"];
|
|
752
|
+
created_at: components["schemas"]["Timestamp"];
|
|
753
|
+
updated_at: components["schemas"]["Timestamp"];
|
|
754
|
+
/** @description Current quota-consuming usage. Populated when the machine pool is returned by the list or get endpoint. */
|
|
755
|
+
usage?: components["schemas"]["MachinePoolUsage"];
|
|
756
|
+
};
|
|
757
|
+
ListMachinePool: {
|
|
758
|
+
data: components["schemas"]["MachinePool"][];
|
|
759
|
+
next_page: string | null;
|
|
760
|
+
};
|
|
761
|
+
MachinePoolConnectionCheck: {
|
|
762
|
+
/** @constant */
|
|
763
|
+
type: "machine_pool_connection_check";
|
|
764
|
+
ok: boolean;
|
|
765
|
+
};
|
|
766
|
+
MachinePoolDeleted: {
|
|
767
|
+
id: string;
|
|
768
|
+
/** @constant */
|
|
769
|
+
type: "machine_pool_deleted";
|
|
770
|
+
};
|
|
771
|
+
MachinePoolGrant: {
|
|
772
|
+
/** @constant */
|
|
773
|
+
type: "machine_pool_grant";
|
|
774
|
+
id: components["schemas"]["ProjectMachinePoolGrantID"];
|
|
775
|
+
org_id: components["schemas"]["OrganizationID"];
|
|
776
|
+
project_id: components["schemas"]["ProjectID"];
|
|
777
|
+
machine_pool_id: components["schemas"]["MachinePoolID"];
|
|
778
|
+
description: string;
|
|
779
|
+
/** Format: int32 */
|
|
780
|
+
default_machine_cpu: number | null;
|
|
781
|
+
/** Format: int32 */
|
|
782
|
+
default_machine_memory_mb: number | null;
|
|
783
|
+
/** @description Env overlay merged over the pool's default_machine_env for machines materialized through this grant; a null entry removes the key. */
|
|
784
|
+
default_machine_env_overlay: {
|
|
785
|
+
[key: string]: string | null;
|
|
786
|
+
};
|
|
787
|
+
/** @description Secret env overlay merged over the pool's default_machine_secret_env for machines materialized through this grant; a null entry removes the key. */
|
|
788
|
+
default_machine_secret_env_overlay: {
|
|
789
|
+
[key: string]: string | null;
|
|
790
|
+
};
|
|
791
|
+
default_machine_provider_options_overlay: {
|
|
792
|
+
[key: string]: unknown;
|
|
793
|
+
};
|
|
794
|
+
default_cwd: string;
|
|
795
|
+
/** Format: int32 */
|
|
796
|
+
max_total_machines: number | null;
|
|
797
|
+
/** Format: int32 */
|
|
798
|
+
max_total_cpu: number | null;
|
|
799
|
+
/** Format: int32 */
|
|
800
|
+
max_total_memory_mb: number | null;
|
|
801
|
+
/** Format: int32 */
|
|
802
|
+
min_machine_cpu: number | null;
|
|
803
|
+
/** Format: int32 */
|
|
804
|
+
min_machine_memory_mb: number | null;
|
|
805
|
+
/** Format: int32 */
|
|
806
|
+
max_machine_cpu: number | null;
|
|
807
|
+
/** Format: int32 */
|
|
808
|
+
max_machine_memory_mb: number | null;
|
|
809
|
+
/**
|
|
810
|
+
* Format: int32
|
|
811
|
+
* @description Idle minutes before deleting a machine created through this grant. Zero disables deletion for this grant; null inherits the pool default.
|
|
812
|
+
*/
|
|
813
|
+
delete_after_idle_minutes: never & (0 | number | null);
|
|
814
|
+
metadata: components["schemas"]["Metadata"];
|
|
815
|
+
created_at: components["schemas"]["Timestamp"];
|
|
816
|
+
updated_at: components["schemas"]["Timestamp"];
|
|
817
|
+
/** @description Present on list items. */
|
|
818
|
+
machine_pool?: components["schemas"]["NativeMachinePool"];
|
|
819
|
+
};
|
|
820
|
+
ListMachinePoolGrant: {
|
|
821
|
+
data: components["schemas"]["MachinePoolGrant"][];
|
|
822
|
+
next_page: string | null;
|
|
823
|
+
};
|
|
824
|
+
MachinePoolGrantDeleted: {
|
|
825
|
+
id: string;
|
|
826
|
+
/** @constant */
|
|
827
|
+
type: "machine_pool_grant_deleted";
|
|
828
|
+
};
|
|
829
|
+
/** @description An org machine, an agent machine (kind, machine_pool_name, cpu, memory_mb, agent_id) or a connected BYO machine (token); the fields of the other families are absent. */
|
|
830
|
+
Machine: {
|
|
831
|
+
/** @constant */
|
|
832
|
+
type: "machine";
|
|
833
|
+
id: components["schemas"]["MachineID"];
|
|
834
|
+
org_id?: components["schemas"]["OrganizationID"];
|
|
835
|
+
source_kind?: components["schemas"]["MachineSourceKind"];
|
|
836
|
+
machine_pool_id?: components["schemas"]["MachinePoolID"] | null;
|
|
837
|
+
display_name?: components["schemas"]["ResourceName"];
|
|
838
|
+
description?: string;
|
|
839
|
+
provider?: string;
|
|
840
|
+
lifecycle_state?: components["schemas"]["MachineLifecycleState"];
|
|
841
|
+
connection_state?: components["schemas"]["MachineConnectionState"];
|
|
842
|
+
connection_state_reason?: string;
|
|
843
|
+
power_state?: components["schemas"]["MachinePowerState"];
|
|
844
|
+
last_observed_at?: components["schemas"]["Timestamp"] | null;
|
|
845
|
+
cwd?: string;
|
|
846
|
+
env?: {
|
|
847
|
+
[key: string]: string;
|
|
848
|
+
};
|
|
849
|
+
secret_env?: {
|
|
850
|
+
[key: string]: components["schemas"]["SecretID"];
|
|
851
|
+
};
|
|
852
|
+
lifecycle_reason_code?: string;
|
|
853
|
+
lifecycle_reason_message?: string;
|
|
854
|
+
failure_report?: components["schemas"]["MachineFailureReport"];
|
|
855
|
+
next_reconcile_after?: components["schemas"]["Timestamp"] | null;
|
|
856
|
+
/** Format: int32 */
|
|
857
|
+
provision_attempts?: number;
|
|
858
|
+
/** Format: int32 */
|
|
859
|
+
delete_attempts?: number;
|
|
860
|
+
metadata?: components["schemas"]["Metadata"];
|
|
861
|
+
deleted_at?: components["schemas"]["Timestamp"] | null;
|
|
862
|
+
created_at?: components["schemas"]["Timestamp"];
|
|
863
|
+
updated_at?: components["schemas"]["Timestamp"];
|
|
864
|
+
kind?: components["schemas"]["AgentMachineKind"];
|
|
865
|
+
machine_pool_name?: components["schemas"]["ResourceName"];
|
|
866
|
+
/** @description The machine shape BMA reports, or null before the provider resolves it. */
|
|
867
|
+
cpu?: number | null;
|
|
868
|
+
/** @description The machine shape BMA reports, or null before the provider resolves it. */
|
|
869
|
+
memory_mb?: number | null;
|
|
870
|
+
/** @description Agent machines only: the id /v1/agents uses (never the native agt_ id). */
|
|
871
|
+
agent_id?: string;
|
|
872
|
+
/** @description Single read only; null when the project cannot use the machine. */
|
|
873
|
+
capabilities?: components["schemas"]["MachineCapabilities"] | null;
|
|
874
|
+
/** @description BYO connect only: the one-time machine token. */
|
|
875
|
+
token?: string;
|
|
876
|
+
token_record?: components["schemas"]["MachineDaemonToken"];
|
|
877
|
+
project_grants?: components["schemas"]["ProjectMachineGrant"][];
|
|
878
|
+
};
|
|
879
|
+
ListMachine: {
|
|
880
|
+
data: components["schemas"]["Machine"][];
|
|
881
|
+
next_page: string | null;
|
|
882
|
+
};
|
|
883
|
+
MachineDeleted: {
|
|
884
|
+
id: string;
|
|
885
|
+
/** @constant */
|
|
886
|
+
type: "machine_deleted";
|
|
887
|
+
};
|
|
888
|
+
MachinePowerStatus: {
|
|
889
|
+
/** @constant */
|
|
890
|
+
type: "machine_power_status";
|
|
891
|
+
machine_id: components["schemas"]["MachineID"];
|
|
892
|
+
connection_state: components["schemas"]["MachineConnectionState"];
|
|
893
|
+
power_state: components["schemas"]["MachinePowerState"];
|
|
894
|
+
};
|
|
895
|
+
MachineCapabilities: {
|
|
896
|
+
/** @constant */
|
|
897
|
+
type: "machine_capabilities";
|
|
898
|
+
machine_id: components["schemas"]["MachineID"];
|
|
899
|
+
terminal: components["schemas"]["MachineTerminalCapability"];
|
|
900
|
+
session_files: components["schemas"]["MachineSessionFilesCapability"];
|
|
901
|
+
desktop: components["schemas"]["MachineDesktopCapability"];
|
|
902
|
+
permissions: components["schemas"]["MachineInteractionPermissions"];
|
|
903
|
+
protocol_versions: components["schemas"]["MachineProtocolVersions"];
|
|
904
|
+
};
|
|
905
|
+
/** @description The native create body plus the machine the session runs on. */
|
|
906
|
+
CreateDesktopSessionExtensionRequest: {
|
|
907
|
+
/** @description The id /v1/agents uses. */
|
|
908
|
+
agent_id?: string;
|
|
909
|
+
/** @default false */
|
|
910
|
+
read_only?: boolean;
|
|
911
|
+
/** Format: int32 */
|
|
912
|
+
lease_seconds?: number;
|
|
913
|
+
capabilities?: components["schemas"]["DesktopCapabilitiesRequest"];
|
|
914
|
+
machine_id: string;
|
|
915
|
+
};
|
|
916
|
+
DesktopSession: {
|
|
917
|
+
/** @constant */
|
|
918
|
+
type: "desktop_session";
|
|
919
|
+
id: components["schemas"]["DesktopSessionID"];
|
|
920
|
+
org_id: components["schemas"]["OrganizationID"];
|
|
921
|
+
project_id: components["schemas"]["ProjectID"];
|
|
922
|
+
machine_id: components["schemas"]["MachineID"];
|
|
923
|
+
/**
|
|
924
|
+
* Format: uuid
|
|
925
|
+
* @description Authenticated user or organization API key that created the session.
|
|
926
|
+
*/
|
|
927
|
+
owner_id: string;
|
|
928
|
+
/** @description The id /v1/agents uses (never the native agt_ id). */
|
|
929
|
+
agent_id?: string;
|
|
930
|
+
read_only: boolean;
|
|
931
|
+
closed: boolean;
|
|
932
|
+
/** Format: date-time */
|
|
933
|
+
created_at: string;
|
|
934
|
+
capabilities: components["schemas"]["DesktopCapabilities"];
|
|
935
|
+
control: components["schemas"]["NativeDesktopControlStatus"];
|
|
936
|
+
};
|
|
937
|
+
DesktopWatchTicket: {
|
|
938
|
+
/** @constant */
|
|
939
|
+
type: "desktop_watch_ticket";
|
|
940
|
+
id: string;
|
|
941
|
+
ticket: string;
|
|
942
|
+
purpose: string;
|
|
943
|
+
/** Format: date-time */
|
|
944
|
+
expires_at: string;
|
|
945
|
+
ws_url: string;
|
|
946
|
+
subprotocol: string;
|
|
947
|
+
permissions: string[];
|
|
948
|
+
machine_id: string;
|
|
949
|
+
desktop_session_id: string;
|
|
950
|
+
owner_route?: string;
|
|
951
|
+
};
|
|
952
|
+
DesktopSessionClosed: {
|
|
953
|
+
id: string;
|
|
954
|
+
/** @constant */
|
|
955
|
+
type: "desktop_session_closed";
|
|
956
|
+
};
|
|
957
|
+
DesktopControlStatus: {
|
|
958
|
+
/** @constant */
|
|
959
|
+
type: "desktop_control_status";
|
|
960
|
+
/** @enum {string} */
|
|
961
|
+
mode: "paused" | "agent" | "human";
|
|
962
|
+
/** Format: int64 */
|
|
963
|
+
epoch: number;
|
|
964
|
+
/** Format: int64 */
|
|
965
|
+
generation: number;
|
|
966
|
+
holder: string;
|
|
967
|
+
lease_id?: string;
|
|
968
|
+
/** Format: date-time */
|
|
969
|
+
lease_expires_at?: string;
|
|
970
|
+
agent_state: string;
|
|
971
|
+
};
|
|
972
|
+
DesktopScreenshot: {
|
|
973
|
+
/** @constant */
|
|
974
|
+
type: "desktop_screenshot";
|
|
975
|
+
content_type: string;
|
|
976
|
+
/** Format: int32 */
|
|
977
|
+
width: number;
|
|
978
|
+
/** Format: int32 */
|
|
979
|
+
height: number;
|
|
980
|
+
/** Format: date-time */
|
|
981
|
+
captured_at: string;
|
|
982
|
+
/** @description Base64-encoded image bytes. */
|
|
983
|
+
image_base64: string;
|
|
984
|
+
};
|
|
985
|
+
DesktopActionResult: {
|
|
986
|
+
/** @constant */
|
|
987
|
+
type: "desktop_action_result";
|
|
988
|
+
/** Format: int64 */
|
|
989
|
+
seq: number;
|
|
990
|
+
};
|
|
991
|
+
/** @description The native grant body; the pool is the path and the project is project_id, the x-bma-project-id header or the default. */
|
|
992
|
+
CreateMachinePoolGrantExtensionRequest: {
|
|
993
|
+
/** @description Optional note about this grant. */
|
|
994
|
+
description?: string;
|
|
995
|
+
/**
|
|
996
|
+
* Format: int32
|
|
997
|
+
* @description Default CPU count for machines this project creates from the pool, overriding the pool's default.
|
|
998
|
+
*/
|
|
999
|
+
default_machine_cpu?: number;
|
|
1000
|
+
/**
|
|
1001
|
+
* Format: int32
|
|
1002
|
+
* @description Default memory in MB for machines this project creates from the pool, overriding the pool's default.
|
|
1003
|
+
*/
|
|
1004
|
+
default_machine_memory_mb?: number;
|
|
1005
|
+
/** @description Env overlay merged over the pool's default_machine_env for machines materialized through this grant; a null entry removes the key. */
|
|
1006
|
+
default_machine_env_overlay?: {
|
|
1007
|
+
[key: string]: string | null;
|
|
1008
|
+
};
|
|
1009
|
+
/** @description Secret env overlay merged over the pool's default_machine_secret_env for machines materialized through this grant; a null entry removes the key. */
|
|
1010
|
+
default_machine_secret_env_overlay?: {
|
|
1011
|
+
[key: string]: string | null;
|
|
1012
|
+
};
|
|
1013
|
+
/** @description Provider-specific options layered over the pool's provider options for this project's machines. */
|
|
1014
|
+
default_machine_provider_options_overlay?: {
|
|
1015
|
+
[key: string]: unknown;
|
|
1016
|
+
};
|
|
1017
|
+
/** @description Default working directory for processes on this project's machines from the pool. */
|
|
1018
|
+
default_cwd?: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* Format: int32
|
|
1021
|
+
* @description Maximum number of live machines this project can have from the pool.
|
|
1022
|
+
*/
|
|
1023
|
+
max_total_machines?: number;
|
|
1024
|
+
/**
|
|
1025
|
+
* Format: int32
|
|
1026
|
+
* @description Maximum total CPU across this project's live machines from the pool.
|
|
1027
|
+
*/
|
|
1028
|
+
max_total_cpu?: number;
|
|
1029
|
+
/**
|
|
1030
|
+
* Format: int32
|
|
1031
|
+
* @description Maximum total memory in MB across this project's live machines from the pool.
|
|
1032
|
+
*/
|
|
1033
|
+
max_total_memory_mb?: number;
|
|
1034
|
+
/**
|
|
1035
|
+
* Format: int32
|
|
1036
|
+
* @description Smallest CPU count one of this project's machines can request.
|
|
1037
|
+
*/
|
|
1038
|
+
min_machine_cpu?: number;
|
|
1039
|
+
/**
|
|
1040
|
+
* Format: int32
|
|
1041
|
+
* @description Smallest memory in MB one of this project's machines can request.
|
|
1042
|
+
*/
|
|
1043
|
+
min_machine_memory_mb?: number;
|
|
1044
|
+
/**
|
|
1045
|
+
* Format: int32
|
|
1046
|
+
* @description Largest CPU count one of this project's machines can request.
|
|
1047
|
+
*/
|
|
1048
|
+
max_machine_cpu?: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* Format: int32
|
|
1051
|
+
* @description Largest memory in MB one of this project's machines can request.
|
|
1052
|
+
*/
|
|
1053
|
+
max_machine_memory_mb?: number;
|
|
1054
|
+
/**
|
|
1055
|
+
* Format: int32
|
|
1056
|
+
* @description Idle minutes before deleting a machine created through this grant. Use 0 to disable for this grant; omit to inherit the pool default. Values from 1 through 4 are invalid.
|
|
1057
|
+
*/
|
|
1058
|
+
delete_after_idle_minutes?: number & (0 | number);
|
|
1059
|
+
metadata?: components["schemas"]["Metadata"];
|
|
1060
|
+
project_id?: string;
|
|
1061
|
+
};
|
|
1062
|
+
/** @description Agent machine (agent_id, persistent, template, ...), BYO connect (source byo, display_name, ...) or org machine (display_name, ...); the native request of that family. */
|
|
1063
|
+
CreateMachineExtensionRequest: {
|
|
1064
|
+
/** @description The id /v1/agents uses; with persistent true and template, creates a persistent machine of that agent. */
|
|
1065
|
+
agent_id?: string;
|
|
1066
|
+
/** @description Must be true when agent_id is set. */
|
|
1067
|
+
persistent?: boolean;
|
|
1068
|
+
template?: string;
|
|
1069
|
+
machine_pool_id?: string;
|
|
1070
|
+
display_name?: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* @description byo connects a bring-your-own machine.
|
|
1073
|
+
* @enum {unknown}
|
|
1074
|
+
*/
|
|
1075
|
+
source?: "byo";
|
|
1076
|
+
description?: string;
|
|
1077
|
+
cwd?: string;
|
|
1078
|
+
env?: {
|
|
1079
|
+
[key: string]: string;
|
|
1080
|
+
};
|
|
1081
|
+
secret_env?: {
|
|
1082
|
+
[key: string]: string;
|
|
1083
|
+
};
|
|
1084
|
+
metadata?: {
|
|
1085
|
+
[key: string]: string;
|
|
1086
|
+
};
|
|
1087
|
+
project_ids?: string[];
|
|
1088
|
+
token_name?: string;
|
|
1089
|
+
};
|
|
1090
|
+
DesktopWatchTicketRequest: {
|
|
1091
|
+
origin?: string;
|
|
1092
|
+
ttl_seconds?: number;
|
|
1093
|
+
};
|
|
1094
|
+
/** @description No fields; the body may be omitted. */
|
|
1095
|
+
DesktopEmptyRequest: Record<string, never>;
|
|
1096
|
+
/** @description The native create body plus the machine the session runs on. */
|
|
1097
|
+
CreateTerminalSessionExtensionRequest: {
|
|
1098
|
+
machine_id: components["schemas"]["MachineID"];
|
|
1099
|
+
shell?: string;
|
|
1100
|
+
cwd?: string;
|
|
1101
|
+
/** Format: int32 */
|
|
1102
|
+
cols?: number;
|
|
1103
|
+
/** Format: int32 */
|
|
1104
|
+
rows?: number;
|
|
1105
|
+
};
|
|
1106
|
+
TerminalSession: {
|
|
1107
|
+
/** @constant */
|
|
1108
|
+
type: "terminal_session";
|
|
1109
|
+
id: components["schemas"]["TerminalSessionID"];
|
|
1110
|
+
org_id: components["schemas"]["OrganizationID"];
|
|
1111
|
+
project_id: components["schemas"]["ProjectID"];
|
|
1112
|
+
machine_id: components["schemas"]["MachineID"];
|
|
1113
|
+
/** @enum {string} */
|
|
1114
|
+
state: "starting" | "running" | "closing" | "closed" | "failed";
|
|
1115
|
+
shell?: string;
|
|
1116
|
+
cwd?: string;
|
|
1117
|
+
/** Format: int32 */
|
|
1118
|
+
cols?: number;
|
|
1119
|
+
/** Format: int32 */
|
|
1120
|
+
rows?: number;
|
|
1121
|
+
/** Format: date-time */
|
|
1122
|
+
created_at: string;
|
|
1123
|
+
/** Format: date-time */
|
|
1124
|
+
closed_at?: string;
|
|
1125
|
+
/** Format: int32 */
|
|
1126
|
+
exit_code?: number;
|
|
1127
|
+
close_reason?: string;
|
|
1128
|
+
};
|
|
1129
|
+
ListTerminalSession: {
|
|
1130
|
+
data: components["schemas"]["TerminalSession"][];
|
|
1131
|
+
next_page: string | null;
|
|
1132
|
+
};
|
|
1133
|
+
TicketFields: {
|
|
1134
|
+
id?: string;
|
|
1135
|
+
/** @description Opaque single-use ticket. Returned once and never logged. */
|
|
1136
|
+
ticket?: string;
|
|
1137
|
+
/** Format: date-time */
|
|
1138
|
+
expires_at?: string;
|
|
1139
|
+
/** @description WebSocket URL without the ticket. */
|
|
1140
|
+
ws_url?: string;
|
|
1141
|
+
subprotocol?: string;
|
|
1142
|
+
permissions?: string[];
|
|
1143
|
+
machine_id?: string;
|
|
1144
|
+
desktop_session_id?: string;
|
|
1145
|
+
};
|
|
1146
|
+
/** @description Body of a terminal ticket. `purpose` is optional and must be `connect`. */
|
|
1147
|
+
CreateTicketRequest: {
|
|
1148
|
+
/** @enum {string} */
|
|
1149
|
+
purpose?: "connect";
|
|
1150
|
+
ttl_seconds?: number;
|
|
1151
|
+
};
|
|
1152
|
+
/** @description Body of a desktop ticket. `purpose` is optional and must be `watch`. */
|
|
1153
|
+
CreateDesktopTicketRequest: {
|
|
1154
|
+
/** @enum {string} */
|
|
1155
|
+
purpose?: "watch";
|
|
1156
|
+
origin?: string;
|
|
1157
|
+
ttl_seconds?: number;
|
|
1158
|
+
};
|
|
1159
|
+
/** @description A single-use ticket (D-7). `purpose` names what it opens (`watch`, `connect`; `control` is reserved). */
|
|
1160
|
+
Ticket: components["schemas"]["TicketFields"] & {
|
|
1161
|
+
/** @constant */
|
|
1162
|
+
type: "ticket";
|
|
1163
|
+
/** @enum {string} */
|
|
1164
|
+
purpose: "watch" | "connect" | "control";
|
|
1165
|
+
};
|
|
1166
|
+
TerminalConnectionTicket: {
|
|
1167
|
+
/** @constant */
|
|
1168
|
+
type: "terminal_connection_ticket";
|
|
1169
|
+
id: components["schemas"]["ConnectionTicketID"];
|
|
1170
|
+
ticket: string;
|
|
1171
|
+
/** @enum {string} */
|
|
1172
|
+
purpose: "terminal_connect" | "desktop_watch";
|
|
1173
|
+
/** Format: date-time */
|
|
1174
|
+
expires_at: string;
|
|
1175
|
+
ws_url: string;
|
|
1176
|
+
subprotocol: string;
|
|
1177
|
+
permissions: string[];
|
|
1178
|
+
};
|
|
1179
|
+
Vault: {
|
|
1180
|
+
id: string;
|
|
1181
|
+
/** @constant */
|
|
1182
|
+
type: "vault";
|
|
1183
|
+
display_name: string;
|
|
1184
|
+
metadata: {
|
|
1185
|
+
[key: string]: string;
|
|
1186
|
+
};
|
|
1187
|
+
/** Format: date-time */
|
|
1188
|
+
created_at: string;
|
|
1189
|
+
/** Format: date-time */
|
|
1190
|
+
updated_at: string;
|
|
1191
|
+
/** Format: date-time */
|
|
1192
|
+
archived_at: string | null;
|
|
1193
|
+
};
|
|
1194
|
+
VaultCreateRequest: {
|
|
1195
|
+
display_name: string;
|
|
1196
|
+
metadata?: {
|
|
1197
|
+
[key: string]: string;
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1200
|
+
VaultUpdateRequest: {
|
|
1201
|
+
display_name?: string | null;
|
|
1202
|
+
/** @description Patch: a key set to a string is upserted, to null deleted. */
|
|
1203
|
+
metadata?: {
|
|
1204
|
+
[key: string]: string | null;
|
|
1205
|
+
} | null;
|
|
1206
|
+
};
|
|
1207
|
+
VaultDeleted: {
|
|
1208
|
+
id: string;
|
|
1209
|
+
/** @constant */
|
|
1210
|
+
type: "vault_deleted";
|
|
1211
|
+
};
|
|
1212
|
+
ListVault: {
|
|
1213
|
+
data: components["schemas"]["Vault"][];
|
|
1214
|
+
next_page: string | null;
|
|
1215
|
+
};
|
|
1216
|
+
CredentialNetworking: components["schemas"]["CredentialNetworkingUnrestricted"] | components["schemas"]["CredentialNetworkingLimited"];
|
|
1217
|
+
CredentialNetworkingUnrestricted: {
|
|
1218
|
+
/**
|
|
1219
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1220
|
+
* @enum {string}
|
|
1221
|
+
*/
|
|
1222
|
+
type: "unrestricted";
|
|
1223
|
+
};
|
|
1224
|
+
CredentialNetworkingLimited: {
|
|
1225
|
+
/**
|
|
1226
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1227
|
+
* @enum {string}
|
|
1228
|
+
*/
|
|
1229
|
+
type: "limited";
|
|
1230
|
+
/** @description Bare hostnames, IPv4 addresses or `*.` wildcards. */
|
|
1231
|
+
allowed_hosts: string[];
|
|
1232
|
+
};
|
|
1233
|
+
CredentialInjectionLocation: {
|
|
1234
|
+
header: boolean;
|
|
1235
|
+
body: boolean;
|
|
1236
|
+
};
|
|
1237
|
+
/** @description A location left out keeps its current setting (create: header true, body false). At least one must be enabled. */
|
|
1238
|
+
CredentialInjectionLocationInput: {
|
|
1239
|
+
header?: boolean;
|
|
1240
|
+
body?: boolean;
|
|
1241
|
+
};
|
|
1242
|
+
TokenEndpointAuthNone: {
|
|
1243
|
+
/** @constant */
|
|
1244
|
+
type: "none";
|
|
1245
|
+
};
|
|
1246
|
+
TokenEndpointAuthSecret: {
|
|
1247
|
+
/** @enum {unknown} */
|
|
1248
|
+
type: "client_secret_basic" | "client_secret_post";
|
|
1249
|
+
client_secret: string;
|
|
1250
|
+
};
|
|
1251
|
+
TokenEndpointAuthResponse: {
|
|
1252
|
+
/** @enum {unknown} */
|
|
1253
|
+
type: "none" | "client_secret_basic" | "client_secret_post";
|
|
1254
|
+
};
|
|
1255
|
+
CredentialRefreshInput: {
|
|
1256
|
+
client_id: string;
|
|
1257
|
+
refresh_token: string;
|
|
1258
|
+
token_endpoint: string;
|
|
1259
|
+
token_endpoint_auth: components["schemas"]["TokenEndpointAuthNone"] | components["schemas"]["TokenEndpointAuthSecret"];
|
|
1260
|
+
resource?: string | null;
|
|
1261
|
+
scope?: string | null;
|
|
1262
|
+
};
|
|
1263
|
+
/** @description Required with a new access_token (refresh_token, and the client_secret unless the credential uses none): BMA rewrites the whole token set. */
|
|
1264
|
+
CredentialRefreshUpdate: {
|
|
1265
|
+
refresh_token?: string;
|
|
1266
|
+
token_endpoint_auth?: components["schemas"]["TokenEndpointAuthSecret"];
|
|
1267
|
+
/** @description An empty string clears the scope. */
|
|
1268
|
+
scope?: string;
|
|
1269
|
+
};
|
|
1270
|
+
CredentialRefreshResponse: {
|
|
1271
|
+
client_id: string;
|
|
1272
|
+
token_endpoint: string;
|
|
1273
|
+
token_endpoint_auth: components["schemas"]["TokenEndpointAuthResponse"];
|
|
1274
|
+
resource?: string;
|
|
1275
|
+
scope?: string;
|
|
1276
|
+
};
|
|
1277
|
+
StaticBearerCreate: {
|
|
1278
|
+
/**
|
|
1279
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1280
|
+
* @enum {string}
|
|
1281
|
+
*/
|
|
1282
|
+
type: "static_bearer";
|
|
1283
|
+
token: string;
|
|
1284
|
+
mcp_server_url: string;
|
|
1285
|
+
};
|
|
1286
|
+
EnvironmentVariableCreate: {
|
|
1287
|
+
/**
|
|
1288
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1289
|
+
* @enum {string}
|
|
1290
|
+
*/
|
|
1291
|
+
type: "environment_variable";
|
|
1292
|
+
secret_name: string;
|
|
1293
|
+
secret_value: string;
|
|
1294
|
+
networking: components["schemas"]["CredentialNetworking"];
|
|
1295
|
+
injection_location?: components["schemas"]["CredentialInjectionLocationInput"];
|
|
1296
|
+
};
|
|
1297
|
+
McpOAuthCreate: {
|
|
1298
|
+
/**
|
|
1299
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1300
|
+
* @enum {string}
|
|
1301
|
+
*/
|
|
1302
|
+
type: "mcp_oauth";
|
|
1303
|
+
access_token: string;
|
|
1304
|
+
mcp_server_url: string;
|
|
1305
|
+
/**
|
|
1306
|
+
* Format: date-time
|
|
1307
|
+
* @description Must be in the future.
|
|
1308
|
+
*/
|
|
1309
|
+
expires_at?: string | null;
|
|
1310
|
+
refresh?: components["schemas"]["CredentialRefreshInput"] | null;
|
|
1311
|
+
};
|
|
1312
|
+
CredentialAuthCreate: components["schemas"]["StaticBearerCreate"] | components["schemas"]["EnvironmentVariableCreate"] | components["schemas"]["McpOAuthCreate"];
|
|
1313
|
+
StaticBearerUpdate: {
|
|
1314
|
+
/**
|
|
1315
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1316
|
+
* @enum {string}
|
|
1317
|
+
*/
|
|
1318
|
+
type: "static_bearer";
|
|
1319
|
+
token?: string | null;
|
|
1320
|
+
};
|
|
1321
|
+
EnvironmentVariableUpdate: {
|
|
1322
|
+
/**
|
|
1323
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1324
|
+
* @enum {string}
|
|
1325
|
+
*/
|
|
1326
|
+
type: "environment_variable";
|
|
1327
|
+
secret_value?: string | null;
|
|
1328
|
+
networking?: components["schemas"]["CredentialNetworking"] | null;
|
|
1329
|
+
injection_location?: components["schemas"]["CredentialInjectionLocationInput"];
|
|
1330
|
+
};
|
|
1331
|
+
/** @description expires_at and refresh can change only together with a new access_token. */
|
|
1332
|
+
McpOAuthUpdate: {
|
|
1333
|
+
/**
|
|
1334
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1335
|
+
* @enum {string}
|
|
1336
|
+
*/
|
|
1337
|
+
type: "mcp_oauth";
|
|
1338
|
+
access_token?: string | null;
|
|
1339
|
+
/** Format: date-time */
|
|
1340
|
+
expires_at?: string | null;
|
|
1341
|
+
refresh?: components["schemas"]["CredentialRefreshUpdate"];
|
|
1342
|
+
};
|
|
1343
|
+
CredentialAuthUpdate: components["schemas"]["StaticBearerUpdate"] | components["schemas"]["EnvironmentVariableUpdate"] | components["schemas"]["McpOAuthUpdate"];
|
|
1344
|
+
StaticBearerAuth: {
|
|
1345
|
+
/**
|
|
1346
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1347
|
+
* @enum {string}
|
|
1348
|
+
*/
|
|
1349
|
+
type: "static_bearer";
|
|
1350
|
+
mcp_server_url: string;
|
|
1351
|
+
};
|
|
1352
|
+
EnvironmentVariableAuth: {
|
|
1353
|
+
/**
|
|
1354
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1355
|
+
* @enum {string}
|
|
1356
|
+
*/
|
|
1357
|
+
type: "environment_variable";
|
|
1358
|
+
secret_name: string;
|
|
1359
|
+
networking: components["schemas"]["CredentialNetworking"];
|
|
1360
|
+
injection_location: components["schemas"]["CredentialInjectionLocation"];
|
|
1361
|
+
};
|
|
1362
|
+
McpOAuthAuth: {
|
|
1363
|
+
/**
|
|
1364
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1365
|
+
* @enum {string}
|
|
1366
|
+
*/
|
|
1367
|
+
type: "mcp_oauth";
|
|
1368
|
+
mcp_server_url: string;
|
|
1369
|
+
/** Format: date-time */
|
|
1370
|
+
expires_at?: string;
|
|
1371
|
+
refresh?: components["schemas"]["CredentialRefreshResponse"];
|
|
1372
|
+
};
|
|
1373
|
+
CredentialAuth: components["schemas"]["StaticBearerAuth"] | components["schemas"]["EnvironmentVariableAuth"] | components["schemas"]["McpOAuthAuth"];
|
|
1374
|
+
VaultCredential: {
|
|
1375
|
+
id: string;
|
|
1376
|
+
/** @constant */
|
|
1377
|
+
type: "vault_credential";
|
|
1378
|
+
vault_id: string;
|
|
1379
|
+
display_name: string | null;
|
|
1380
|
+
metadata: {
|
|
1381
|
+
[key: string]: string;
|
|
1382
|
+
};
|
|
1383
|
+
auth: components["schemas"]["CredentialAuth"];
|
|
1384
|
+
/** Format: date-time */
|
|
1385
|
+
created_at: string;
|
|
1386
|
+
/** Format: date-time */
|
|
1387
|
+
updated_at: string;
|
|
1388
|
+
/** Format: date-time */
|
|
1389
|
+
archived_at: string | null;
|
|
1390
|
+
};
|
|
1391
|
+
VaultCredentialCreateRequest: {
|
|
1392
|
+
auth: components["schemas"]["CredentialAuthCreate"];
|
|
1393
|
+
display_name?: string | null;
|
|
1394
|
+
metadata?: {
|
|
1395
|
+
[key: string]: string;
|
|
1396
|
+
};
|
|
1397
|
+
};
|
|
1398
|
+
VaultCredentialUpdateRequest: {
|
|
1399
|
+
auth?: components["schemas"]["CredentialAuthUpdate"];
|
|
1400
|
+
display_name?: string | null;
|
|
1401
|
+
/** @description Patch: a key set to a string is upserted, to null deleted. */
|
|
1402
|
+
metadata?: {
|
|
1403
|
+
[key: string]: string | null;
|
|
1404
|
+
} | null;
|
|
1405
|
+
};
|
|
1406
|
+
VaultCredentialDeleted: {
|
|
1407
|
+
id: string;
|
|
1408
|
+
/** @constant */
|
|
1409
|
+
type: "vault_credential_deleted";
|
|
1410
|
+
};
|
|
1411
|
+
ListVaultCredential: {
|
|
1412
|
+
data: components["schemas"]["VaultCredential"][];
|
|
1413
|
+
next_page: string | null;
|
|
1414
|
+
};
|
|
1415
|
+
SkillSource: {
|
|
1416
|
+
/** @constant */
|
|
1417
|
+
type: "custom";
|
|
1418
|
+
};
|
|
1419
|
+
SkillFile: {
|
|
1420
|
+
path: string;
|
|
1421
|
+
size: number;
|
|
1422
|
+
};
|
|
1423
|
+
/** @description Who owns the skill (native SkillOwner). */
|
|
1424
|
+
SkillOwner: {
|
|
1425
|
+
/** @constant */
|
|
1426
|
+
kind: "org";
|
|
1427
|
+
} | {
|
|
1428
|
+
/** @constant */
|
|
1429
|
+
kind: "project";
|
|
1430
|
+
project_id: string;
|
|
1431
|
+
} | {
|
|
1432
|
+
/** @constant */
|
|
1433
|
+
kind: "user";
|
|
1434
|
+
};
|
|
1435
|
+
Skill: {
|
|
1436
|
+
id: string;
|
|
1437
|
+
/** @constant */
|
|
1438
|
+
type: "skill";
|
|
1439
|
+
display_name: string;
|
|
1440
|
+
latest_version_id: string;
|
|
1441
|
+
source: components["schemas"]["SkillSource"];
|
|
1442
|
+
/** Format: date-time */
|
|
1443
|
+
created_at: string;
|
|
1444
|
+
/** Format: date-time */
|
|
1445
|
+
updated_at: string;
|
|
1446
|
+
/** @description The machine-readable skill name from SKILL.md. */
|
|
1447
|
+
bma_name: string;
|
|
1448
|
+
bma_revision: number;
|
|
1449
|
+
bma_description: string;
|
|
1450
|
+
bma_owner: components["schemas"]["SkillOwner"];
|
|
1451
|
+
/** @description Single read only. */
|
|
1452
|
+
bma_skill_md?: string;
|
|
1453
|
+
/** @description Single read only. */
|
|
1454
|
+
bma_files?: components["schemas"]["SkillFile"][];
|
|
1455
|
+
};
|
|
1456
|
+
SkillUploadRequest: {
|
|
1457
|
+
/** @description One part per file; the part's filename is its path. All files share one top-level directory with a SKILL.md. */
|
|
1458
|
+
files: string[];
|
|
1459
|
+
/**
|
|
1460
|
+
* Format: binary
|
|
1461
|
+
* @description A ready zip, instead of files.
|
|
1462
|
+
*/
|
|
1463
|
+
archive?: string;
|
|
1464
|
+
/** @description Must equal the SKILL.md name when sent (400 otherwise). */
|
|
1465
|
+
display_name?: string;
|
|
1466
|
+
/** @description Native SkillOwner as JSON; defaults to the current project. */
|
|
1467
|
+
bma_owner?: string;
|
|
1468
|
+
};
|
|
1469
|
+
SkillDeleted: {
|
|
1470
|
+
id: string;
|
|
1471
|
+
/** @constant */
|
|
1472
|
+
type: "skill_deleted";
|
|
1473
|
+
};
|
|
1474
|
+
ListSkill: {
|
|
1475
|
+
data: components["schemas"]["Skill"][];
|
|
1476
|
+
next_page: string | null;
|
|
1477
|
+
};
|
|
1478
|
+
AgentModelOverride: {
|
|
1479
|
+
id: string;
|
|
1480
|
+
agent_id: string;
|
|
1481
|
+
session_id: string;
|
|
1482
|
+
model: string;
|
|
1483
|
+
api_format: string;
|
|
1484
|
+
api_variant?: string;
|
|
1485
|
+
base_url: string;
|
|
1486
|
+
endpoint_path?: string;
|
|
1487
|
+
/** @description First 16 hex chars of sha256(key). */
|
|
1488
|
+
fingerprint: string;
|
|
1489
|
+
/** @description Last 4 characters of the key, never the key. */
|
|
1490
|
+
key_hint?: string;
|
|
1491
|
+
/** @enum {string} */
|
|
1492
|
+
status: "active" | "expired" | "revoked";
|
|
1493
|
+
consume_after_turn?: boolean;
|
|
1494
|
+
/** Format: date-time */
|
|
1495
|
+
created_at: string;
|
|
1496
|
+
/** @description The override stays active until its session is archived. */
|
|
1497
|
+
expires_with_session: boolean;
|
|
1498
|
+
/**
|
|
1499
|
+
* Format: date-time
|
|
1500
|
+
* @description Absent for a session-lifetime override.
|
|
1501
|
+
*/
|
|
1502
|
+
expires_at?: string | null;
|
|
1503
|
+
/** Format: date-time */
|
|
1504
|
+
revoked_at?: string;
|
|
1505
|
+
};
|
|
1506
|
+
AgentModelOverridePatch: {
|
|
1507
|
+
model?: string;
|
|
1508
|
+
provider?: components["schemas"]["AgentModelOverrideProvider"];
|
|
1509
|
+
api_key?: string;
|
|
1510
|
+
ttl_seconds?: number;
|
|
1511
|
+
};
|
|
1512
|
+
AgentModelOverrideProvider: {
|
|
1513
|
+
/** @enum {string} */
|
|
1514
|
+
api_format: "openai-responses" | "openai-chat-completions" | "anthropic-messages";
|
|
1515
|
+
/**
|
|
1516
|
+
* @default default
|
|
1517
|
+
* @enum {string}
|
|
1518
|
+
*/
|
|
1519
|
+
api_variant: "default" | "openrouter";
|
|
1520
|
+
/**
|
|
1521
|
+
* Format: uri
|
|
1522
|
+
* @description HTTPS origin only; must not contain userinfo, query, fragment or a trailing slash. Private and link-local hosts are rejected by provider validation.
|
|
1523
|
+
*/
|
|
1524
|
+
base_url: string;
|
|
1525
|
+
/** @default /v1/chat/completions */
|
|
1526
|
+
endpoint_path: string;
|
|
1527
|
+
};
|
|
1528
|
+
AgentModelOverrideInput: {
|
|
1529
|
+
/** @description Provider model slug (for example deepseek-flash). */
|
|
1530
|
+
model: string;
|
|
1531
|
+
provider?: components["schemas"]["AgentModelOverrideProvider"];
|
|
1532
|
+
/** @description Write-only. Never returned, logged, or emitted; encrypted at rest. */
|
|
1533
|
+
api_key?: string;
|
|
1534
|
+
/** @default 3600 */
|
|
1535
|
+
ttl_seconds: number;
|
|
1536
|
+
/**
|
|
1537
|
+
* @description Keep the override active until the session is archived instead of a TTL.
|
|
1538
|
+
* @default false
|
|
1539
|
+
*/
|
|
1540
|
+
expires_with_session: boolean;
|
|
1541
|
+
/** @description Model context window in tokens. When omitted, BMA reads it from the provider's models endpoint, then a public model catalog, and otherwise uses 128000. */
|
|
1542
|
+
context_window_tokens?: number;
|
|
1543
|
+
/** @description Maximum output tokens per response; must be below the context window. When omitted, BMA keeps its default output policy for the API format. */
|
|
1544
|
+
max_output_tokens?: number;
|
|
1545
|
+
/** @description Compact the session as if the context window were this size, to bound per-turn cost and latency on large-window models. Must not exceed the context window. */
|
|
1546
|
+
auto_compact_window_tokens?: number;
|
|
1547
|
+
};
|
|
1548
|
+
/** @description Connection ticket ID (tkt_...). */
|
|
1549
|
+
ConnectionTicketID: string;
|
|
1550
|
+
/** @description Terminal session ID (tsn_...). */
|
|
1551
|
+
TerminalSessionID: string;
|
|
1552
|
+
NativeDesktopControlStatus: {
|
|
1553
|
+
/** @enum {string} */
|
|
1554
|
+
mode: "paused" | "agent" | "human";
|
|
1555
|
+
/** Format: int64 */
|
|
1556
|
+
epoch: number;
|
|
1557
|
+
/** Format: int64 */
|
|
1558
|
+
generation: number;
|
|
1559
|
+
holder: string;
|
|
1560
|
+
lease_id?: string;
|
|
1561
|
+
/** Format: date-time */
|
|
1562
|
+
lease_expires_at?: string;
|
|
1563
|
+
agent_state: string;
|
|
1564
|
+
};
|
|
1565
|
+
DesktopCapabilities: {
|
|
1566
|
+
/** Format: int32 */
|
|
1567
|
+
width: number;
|
|
1568
|
+
/** Format: int32 */
|
|
1569
|
+
height: number;
|
|
1570
|
+
screenshot: boolean;
|
|
1571
|
+
pointer: boolean;
|
|
1572
|
+
keyboard: boolean;
|
|
1573
|
+
text: boolean;
|
|
1574
|
+
webrtc: boolean;
|
|
1575
|
+
rfb_fallback: boolean;
|
|
1576
|
+
takeover: boolean;
|
|
1577
|
+
/** Format: int32 */
|
|
1578
|
+
max_actions_per_second: number;
|
|
1579
|
+
/** Format: int32 */
|
|
1580
|
+
protocol_version: number;
|
|
1581
|
+
/** Format: int32 */
|
|
1582
|
+
control_version: number;
|
|
1583
|
+
/** Format: int64 */
|
|
1584
|
+
transport_fallback_generation: number;
|
|
1585
|
+
};
|
|
1586
|
+
/** @description Desktop session ID (dsn_...). */
|
|
1587
|
+
DesktopSessionID: string;
|
|
1588
|
+
DesktopCapabilitiesRequest: {
|
|
1589
|
+
/**
|
|
1590
|
+
* Format: int32
|
|
1591
|
+
* @description Framebuffer width in pixels. Set together with height; 1280x800 when both are omitted. Values outside 640..1920 are rejected at create time.
|
|
1592
|
+
*/
|
|
1593
|
+
width?: number;
|
|
1594
|
+
/**
|
|
1595
|
+
* Format: int32
|
|
1596
|
+
* @description Framebuffer height in pixels. Set together with width; 800 when both are omitted. Values outside 480..1080 are rejected at create time.
|
|
1597
|
+
*/
|
|
1598
|
+
height?: number;
|
|
1599
|
+
screenshot?: boolean;
|
|
1600
|
+
pointer?: boolean;
|
|
1601
|
+
keyboard?: boolean;
|
|
1602
|
+
text?: boolean;
|
|
1603
|
+
webrtc?: boolean;
|
|
1604
|
+
rfb_fallback?: boolean;
|
|
1605
|
+
takeover?: boolean;
|
|
1606
|
+
};
|
|
1607
|
+
MachineProtocolVersions: {
|
|
1608
|
+
/** Format: int32 */
|
|
1609
|
+
terminal: number;
|
|
1610
|
+
/** Format: int32 */
|
|
1611
|
+
desktop: number;
|
|
1612
|
+
};
|
|
1613
|
+
MachineInteractionPermissions: {
|
|
1614
|
+
terminal: boolean;
|
|
1615
|
+
desktop_watch: boolean;
|
|
1616
|
+
desktop_control: boolean;
|
|
1617
|
+
};
|
|
1618
|
+
MachineDesktopCapability: {
|
|
1619
|
+
supported: boolean;
|
|
1620
|
+
webrtc: boolean;
|
|
1621
|
+
rfb: boolean;
|
|
1622
|
+
/** @description Why desktop access is unavailable, when supported is false. */
|
|
1623
|
+
reason?: string;
|
|
1624
|
+
};
|
|
1625
|
+
/** @description Whether the machine's executor declared capabilities.session_files at its latest executor.register: each session's files then live in its own directory below the declared root instead of /mnt/session. A Claude Managed Agents compatible self_hosted environment accepts file resources only when this is true (BMA extension; CMA always refuses them). The root path itself is not returned. */
|
|
1626
|
+
MachineSessionFilesCapability: {
|
|
1627
|
+
declared: boolean;
|
|
1628
|
+
};
|
|
1629
|
+
MachineTerminalCapability: {
|
|
1630
|
+
supported: boolean;
|
|
1631
|
+
/** @description Why terminal access is unavailable, when supported is false. */
|
|
1632
|
+
reason?: string;
|
|
1633
|
+
};
|
|
1634
|
+
ProjectMachineGrant: {
|
|
1635
|
+
id: components["schemas"]["ProjectMachineGrantID"];
|
|
1636
|
+
org_id: components["schemas"]["OrganizationID"];
|
|
1637
|
+
project_id: components["schemas"]["ProjectID"];
|
|
1638
|
+
machine_id: components["schemas"]["MachineID"];
|
|
1639
|
+
source_kind: components["schemas"]["ProjectMachineGrantSourceKind"];
|
|
1640
|
+
project_machine_pool_grant_id?: components["schemas"]["ProjectMachinePoolGrantID"] | null;
|
|
1641
|
+
description: string;
|
|
1642
|
+
metadata: components["schemas"]["Metadata"];
|
|
1643
|
+
created_at: components["schemas"]["Timestamp"];
|
|
1644
|
+
updated_at: components["schemas"]["Timestamp"];
|
|
1645
|
+
};
|
|
1646
|
+
/** @enum {string} */
|
|
1647
|
+
ProjectMachineGrantSourceKind: "explicit" | "pool";
|
|
1648
|
+
ProjectMachineGrantID: string;
|
|
1649
|
+
MachineDaemonToken: {
|
|
1650
|
+
id: components["schemas"]["MachineDaemonTokenID"];
|
|
1651
|
+
org_id: components["schemas"]["OrganizationID"];
|
|
1652
|
+
machine_id: components["schemas"]["MachineID"];
|
|
1653
|
+
name: components["schemas"]["ResourceName"];
|
|
1654
|
+
metadata: components["schemas"]["Metadata"];
|
|
1655
|
+
created_at: components["schemas"]["Timestamp"];
|
|
1656
|
+
last_used_at: components["schemas"]["Timestamp"] | null;
|
|
1657
|
+
revoked_at: components["schemas"]["Timestamp"] | null;
|
|
1658
|
+
revoke_reason: string;
|
|
1659
|
+
};
|
|
1660
|
+
MachineDaemonTokenID: string;
|
|
1661
|
+
/**
|
|
1662
|
+
* @description Persistent machines are kept for a person and never deleted for being idle; ephemeral machines serve turns and are deleted after their idle window.
|
|
1663
|
+
* @enum {string}
|
|
1664
|
+
*/
|
|
1665
|
+
AgentMachineKind: "persistent" | "ephemeral";
|
|
1666
|
+
/** @description The machine's most recent daemon-reported failure. A single slot, overwritten by newer reports. Runtime crash reports remain as historical diagnostics; recovery may clear other failure stages. */
|
|
1667
|
+
MachineFailureReport: {
|
|
1668
|
+
/** @enum {string} */
|
|
1669
|
+
stage: "startup_script" | "daemon_install" | "daemon_update" | "daemon_runtime" | "daemon_uninstall" | "daemon_uninstalled";
|
|
1670
|
+
exit_status?: number;
|
|
1671
|
+
output_tail: string;
|
|
1672
|
+
output_truncated: boolean;
|
|
1673
|
+
daemon_version?: string;
|
|
1674
|
+
target_version?: string;
|
|
1675
|
+
reported_at: components["schemas"]["Timestamp"];
|
|
1676
|
+
};
|
|
1677
|
+
/**
|
|
1678
|
+
* @description Compute state of a pool machine. paused keeps the disk (and memory when the provider supports it) without compute; resuming means a resume or restore is in flight; archived means the machine image is stored durably and is restored on the next access.
|
|
1679
|
+
* @enum {string}
|
|
1680
|
+
*/
|
|
1681
|
+
MachinePowerState: "running" | "pausing" | "paused" | "resuming" | "archiving" | "archived";
|
|
1682
|
+
/** @enum {string} */
|
|
1683
|
+
MachineConnectionState: "online" | "asleep" | "offline";
|
|
1684
|
+
/** @enum {string} */
|
|
1685
|
+
MachineLifecycleState: "provisioning" | "provision_failed" | "active" | "deleting" | "delete_failed" | "deleted";
|
|
1686
|
+
/** @enum {string} */
|
|
1687
|
+
MachineSourceKind: "byo" | "pool";
|
|
1688
|
+
/** @description Machine ID (mch_...). */
|
|
1689
|
+
MachineID: string;
|
|
1690
|
+
NativeMachinePool: {
|
|
1691
|
+
id: components["schemas"]["MachinePoolID"];
|
|
1692
|
+
org_id: components["schemas"]["OrganizationID"];
|
|
1693
|
+
name: components["schemas"]["ResourceName"];
|
|
1694
|
+
management_kind: components["schemas"]["ManagementKind"];
|
|
1695
|
+
description: string;
|
|
1696
|
+
provider: string;
|
|
1697
|
+
/** Format: int32 */
|
|
1698
|
+
default_machine_cpu: number | null;
|
|
1699
|
+
/** Format: int32 */
|
|
1700
|
+
default_machine_memory_mb: number | null;
|
|
1701
|
+
/** @description Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch. */
|
|
1702
|
+
default_machine_env: {
|
|
1703
|
+
[key: string]: string;
|
|
1704
|
+
};
|
|
1705
|
+
/** @description Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied. */
|
|
1706
|
+
default_machine_secret_env: {
|
|
1707
|
+
[key: string]: components["schemas"]["SecretID"];
|
|
1708
|
+
};
|
|
1709
|
+
default_machine_provider_options: {
|
|
1710
|
+
[key: string]: unknown;
|
|
1711
|
+
};
|
|
1712
|
+
default_cwd: string;
|
|
1713
|
+
provider_auth_secret_id?: components["schemas"]["SecretID"];
|
|
1714
|
+
provider_config: {
|
|
1715
|
+
[key: string]: unknown;
|
|
1716
|
+
};
|
|
1717
|
+
/** @description Whether BMA deletes this pool's machines when the provider remains running after the daemon becomes inactive. */
|
|
1718
|
+
runtime_protection_enabled: boolean;
|
|
1719
|
+
/**
|
|
1720
|
+
* Format: int32
|
|
1721
|
+
* @description Deprecated, not enforced: how many machines a pool has no longer blocks new machines. Organization and project quotas over in-use machines (org resource limits max_in_use_pool_machines_per_project and max_in_use_pool_machines_per_org) govern capacity.
|
|
1722
|
+
*/
|
|
1723
|
+
max_total_machines: number;
|
|
1724
|
+
/**
|
|
1725
|
+
* Format: int32
|
|
1726
|
+
* @description Deprecated, not enforced: organization and project in-use machine CPU quotas govern capacity.
|
|
1727
|
+
*/
|
|
1728
|
+
max_total_cpu: number | null;
|
|
1729
|
+
/**
|
|
1730
|
+
* Format: int32
|
|
1731
|
+
* @description Deprecated, not enforced: organization and project in-use machine memory quotas govern capacity.
|
|
1732
|
+
*/
|
|
1733
|
+
max_total_memory_mb: number | null;
|
|
1734
|
+
/** Format: int32 */
|
|
1735
|
+
min_machine_cpu: number | null;
|
|
1736
|
+
/** Format: int32 */
|
|
1737
|
+
min_machine_memory_mb: number | null;
|
|
1738
|
+
/** Format: int32 */
|
|
1739
|
+
max_machine_cpu: number | null;
|
|
1740
|
+
/** Format: int32 */
|
|
1741
|
+
max_machine_memory_mb: number | null;
|
|
1742
|
+
/**
|
|
1743
|
+
* Format: int32
|
|
1744
|
+
* @description Idle minutes before deleting a machine from this pool, or null when the pool default is unset.
|
|
1745
|
+
*/
|
|
1746
|
+
delete_after_idle_minutes: number | null;
|
|
1747
|
+
/**
|
|
1748
|
+
* Format: int32
|
|
1749
|
+
* @description Idle minutes before pausing a machine from this pool, or null when the pool does not pause idle machines.
|
|
1750
|
+
*/
|
|
1751
|
+
pause_after_idle_minutes: number | null;
|
|
1752
|
+
/**
|
|
1753
|
+
* Format: int32
|
|
1754
|
+
* @description Days a machine stays paused before it is archived, or null when the pool does not archive.
|
|
1755
|
+
*/
|
|
1756
|
+
archive_after_paused_days: number | null;
|
|
1757
|
+
/**
|
|
1758
|
+
* Format: int32
|
|
1759
|
+
* @description Days a machine stays paused before it is deleted, counted from when it paused, or null when the pool keeps paused machines.
|
|
1760
|
+
*/
|
|
1761
|
+
delete_after_paused_days: number | null;
|
|
1762
|
+
metadata: components["schemas"]["Metadata"];
|
|
1763
|
+
created_at: components["schemas"]["Timestamp"];
|
|
1764
|
+
updated_at: components["schemas"]["Timestamp"];
|
|
1765
|
+
/** @description Current quota-consuming usage. Populated when the machine pool is returned by the list or get endpoint. */
|
|
1766
|
+
usage?: components["schemas"]["MachinePoolUsage"];
|
|
1767
|
+
};
|
|
1768
|
+
ProjectMachinePoolGrantID: string;
|
|
1769
|
+
MachinePoolUsage: {
|
|
1770
|
+
/** Format: int32 */
|
|
1771
|
+
machines: number;
|
|
1772
|
+
/** Format: int64 */
|
|
1773
|
+
cpu: number;
|
|
1774
|
+
/** Format: int64 */
|
|
1775
|
+
memory_mb: number;
|
|
1776
|
+
};
|
|
1777
|
+
/** @description Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters. */
|
|
1778
|
+
Metadata: {
|
|
1779
|
+
[key: string]: string;
|
|
1780
|
+
};
|
|
1781
|
+
/** @description Secret ID (sec_...). */
|
|
1782
|
+
SecretID: string;
|
|
1783
|
+
/**
|
|
1784
|
+
* @description Lifecycle owner. Tenant-managed resources can be changed through tenant APIs. Cluster-managed resources are installed and lifecycle-managed by the control plane; individual APIs may explicitly expose tenant-editable settings.
|
|
1785
|
+
* @enum {string}
|
|
1786
|
+
*/
|
|
1787
|
+
ManagementKind: "tenant" | "cluster";
|
|
1788
|
+
/** @description Machine pool ID (mpo_...). */
|
|
1789
|
+
MachinePoolID: string;
|
|
1790
|
+
/** Format: date-time */
|
|
1791
|
+
Timestamp: string;
|
|
1792
|
+
/** @description Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not. */
|
|
1793
|
+
ResourceName: string;
|
|
1794
|
+
OrganizationID: string;
|
|
1795
|
+
/** @description Project ID (proj_...). */
|
|
1796
|
+
ProjectID: string;
|
|
1797
|
+
DesktopGenerationRequest: {
|
|
1798
|
+
/** Format: int64 */
|
|
1799
|
+
generation: number;
|
|
1800
|
+
};
|
|
1801
|
+
DesktopActionRequest: {
|
|
1802
|
+
/** Format: int64 */
|
|
1803
|
+
seq: number;
|
|
1804
|
+
action: components["schemas"]["DesktopAction"];
|
|
1805
|
+
};
|
|
1806
|
+
DesktopAction: {
|
|
1807
|
+
/** @enum {string} */
|
|
1808
|
+
kind: "pointer_move" | "pointer_button" | "wheel" | "key" | "text";
|
|
1809
|
+
/** Format: int32 */
|
|
1810
|
+
x?: number;
|
|
1811
|
+
/** Format: int32 */
|
|
1812
|
+
y?: number;
|
|
1813
|
+
/** Format: int32 */
|
|
1814
|
+
button?: number;
|
|
1815
|
+
pressed?: boolean;
|
|
1816
|
+
/** Format: int64 */
|
|
1817
|
+
keysym?: number;
|
|
1818
|
+
text?: string;
|
|
1819
|
+
/** Format: int32 */
|
|
1820
|
+
delta_x?: number;
|
|
1821
|
+
/** Format: int32 */
|
|
1822
|
+
delta_y?: number;
|
|
1823
|
+
};
|
|
1824
|
+
DesktopControlLeaseRequest: {
|
|
1825
|
+
/** Format: int32 */
|
|
1826
|
+
lease_seconds?: number;
|
|
1827
|
+
};
|
|
1828
|
+
UpdateMachineRequest: {
|
|
1829
|
+
/** @description Default working directory for processes started on the machine. */
|
|
1830
|
+
cwd?: string;
|
|
1831
|
+
/** @description Environment variables set for processes started on the machine. */
|
|
1832
|
+
env?: {
|
|
1833
|
+
[key: string]: string;
|
|
1834
|
+
};
|
|
1835
|
+
/** @description Environment variable names mapped to secret IDs (sec_...) whose values are set for processes started on the machine. */
|
|
1836
|
+
secret_env?: {
|
|
1837
|
+
[key: string]: components["schemas"]["SecretID"];
|
|
1838
|
+
};
|
|
1839
|
+
};
|
|
1840
|
+
/** @description Update a project machine pool grant. Omitted fields keep their current values. Null clears an override so the grant follows the machine pool again. Overlay objects and metadata are replaced whole when present; send an empty object to clear them. */
|
|
1841
|
+
UpdateProjectMachinePoolGrantRequest: {
|
|
1842
|
+
/** @description Optional note about this grant. */
|
|
1843
|
+
description?: string;
|
|
1844
|
+
/**
|
|
1845
|
+
* Format: int32
|
|
1846
|
+
* @description Default CPU count for machines this project creates from the pool, overriding the pool's default.
|
|
1847
|
+
*/
|
|
1848
|
+
default_machine_cpu?: number | null;
|
|
1849
|
+
/**
|
|
1850
|
+
* Format: int32
|
|
1851
|
+
* @description Default memory in MB for machines this project creates from the pool, overriding the pool's default.
|
|
1852
|
+
*/
|
|
1853
|
+
default_machine_memory_mb?: number | null;
|
|
1854
|
+
/** @description Env overlay merged over the pool's default_machine_env for machines this project creates from the pool afterward; a null entry removes the key. */
|
|
1855
|
+
default_machine_env_overlay?: {
|
|
1856
|
+
[key: string]: string | null;
|
|
1857
|
+
};
|
|
1858
|
+
/** @description Secret env overlay merged over the pool's default_machine_secret_env for machines this project creates from the pool afterward; a null entry removes the key. */
|
|
1859
|
+
default_machine_secret_env_overlay?: {
|
|
1860
|
+
[key: string]: string | null;
|
|
1861
|
+
};
|
|
1862
|
+
/** @description Provider-specific options layered over the pool's provider options for this project's machines. */
|
|
1863
|
+
default_machine_provider_options_overlay?: {
|
|
1864
|
+
[key: string]: unknown;
|
|
1865
|
+
};
|
|
1866
|
+
/** @description Default working directory for processes on this project's machines created from the pool after this change. */
|
|
1867
|
+
default_cwd?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* Format: int32
|
|
1870
|
+
* @description Maximum number of live machines this project can have from the pool.
|
|
1871
|
+
*/
|
|
1872
|
+
max_total_machines?: number | null;
|
|
1873
|
+
/**
|
|
1874
|
+
* Format: int32
|
|
1875
|
+
* @description Maximum total CPU across this project's live machines from the pool.
|
|
1876
|
+
*/
|
|
1877
|
+
max_total_cpu?: number | null;
|
|
1878
|
+
/**
|
|
1879
|
+
* Format: int32
|
|
1880
|
+
* @description Maximum total memory in MB across this project's live machines from the pool.
|
|
1881
|
+
*/
|
|
1882
|
+
max_total_memory_mb?: number | null;
|
|
1883
|
+
/**
|
|
1884
|
+
* Format: int32
|
|
1885
|
+
* @description Smallest CPU count one of this project's machines can request.
|
|
1886
|
+
*/
|
|
1887
|
+
min_machine_cpu?: number | null;
|
|
1888
|
+
/**
|
|
1889
|
+
* Format: int32
|
|
1890
|
+
* @description Smallest memory in MB one of this project's machines can request.
|
|
1891
|
+
*/
|
|
1892
|
+
min_machine_memory_mb?: number | null;
|
|
1893
|
+
/**
|
|
1894
|
+
* Format: int32
|
|
1895
|
+
* @description Largest CPU count one of this project's machines can request.
|
|
1896
|
+
*/
|
|
1897
|
+
max_machine_cpu?: number | null;
|
|
1898
|
+
/**
|
|
1899
|
+
* Format: int32
|
|
1900
|
+
* @description Largest memory in MB one of this project's machines can request.
|
|
1901
|
+
*/
|
|
1902
|
+
max_machine_memory_mb?: number | null;
|
|
1903
|
+
/**
|
|
1904
|
+
* Format: int32
|
|
1905
|
+
* @description Idle minutes before deleting a machine created through this grant. Use 0 to disable for this grant; null restores inheritance from the pool; omitted leaves it unchanged. Values from 1 through 4 are invalid.
|
|
1906
|
+
*/
|
|
1907
|
+
delete_after_idle_minutes?: never & (0 | number | null);
|
|
1908
|
+
metadata?: components["schemas"]["Metadata"];
|
|
1909
|
+
};
|
|
1910
|
+
UpdateMachinePoolRequest: {
|
|
1911
|
+
name?: components["schemas"]["ResourceName"];
|
|
1912
|
+
/** @description Optional description of the pool. */
|
|
1913
|
+
description?: string;
|
|
1914
|
+
/**
|
|
1915
|
+
* Format: int32
|
|
1916
|
+
* @description Default CPU count for new machines in the pool.
|
|
1917
|
+
*/
|
|
1918
|
+
default_machine_cpu?: number | null;
|
|
1919
|
+
/**
|
|
1920
|
+
* Format: int32
|
|
1921
|
+
* @description Default memory in MB for new machines in the pool.
|
|
1922
|
+
*/
|
|
1923
|
+
default_machine_memory_mb?: number | null;
|
|
1924
|
+
/** @description Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch. */
|
|
1925
|
+
default_machine_env?: {
|
|
1926
|
+
[key: string]: string;
|
|
1927
|
+
};
|
|
1928
|
+
/** @description Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied. */
|
|
1929
|
+
default_machine_secret_env?: {
|
|
1930
|
+
[key: string]: components["schemas"]["SecretID"];
|
|
1931
|
+
};
|
|
1932
|
+
/** @description Provider-specific options applied to new machines in the pool. */
|
|
1933
|
+
default_machine_provider_options?: {
|
|
1934
|
+
[key: string]: unknown;
|
|
1935
|
+
};
|
|
1936
|
+
/** @description Default working directory for processes on machines created from the pool after this change. */
|
|
1937
|
+
default_cwd?: string;
|
|
1938
|
+
/** @description Provider-specific settings for the pool. */
|
|
1939
|
+
provider_config?: {
|
|
1940
|
+
[key: string]: unknown;
|
|
1941
|
+
};
|
|
1942
|
+
provider_auth_secret_id?: components["schemas"]["SecretID"];
|
|
1943
|
+
/** @description Whether BMA should delete a pool machine when its provider remains running after its daemon becomes inactive. */
|
|
1944
|
+
runtime_protection_enabled?: boolean;
|
|
1945
|
+
/**
|
|
1946
|
+
* Format: int32
|
|
1947
|
+
* @description Deprecated, not enforced: how many machines a pool has no longer blocks new machines. Organization and project quotas over in-use machines (org resource limits max_in_use_pool_machines_per_project and max_in_use_pool_machines_per_org) govern capacity.
|
|
1948
|
+
*/
|
|
1949
|
+
max_total_machines?: number;
|
|
1950
|
+
/**
|
|
1951
|
+
* Format: int32
|
|
1952
|
+
* @description Deprecated, not enforced: organization and project in-use machine CPU quotas govern capacity.
|
|
1953
|
+
*/
|
|
1954
|
+
max_total_cpu?: number | null;
|
|
1955
|
+
/**
|
|
1956
|
+
* Format: int32
|
|
1957
|
+
* @description Deprecated, not enforced: organization and project in-use machine memory quotas govern capacity.
|
|
1958
|
+
*/
|
|
1959
|
+
max_total_memory_mb?: number | null;
|
|
1960
|
+
/**
|
|
1961
|
+
* Format: int32
|
|
1962
|
+
* @description Smallest CPU count a single machine in the pool can use.
|
|
1963
|
+
*/
|
|
1964
|
+
min_machine_cpu?: number | null;
|
|
1965
|
+
/**
|
|
1966
|
+
* Format: int32
|
|
1967
|
+
* @description Smallest memory in MB a single machine in the pool can use.
|
|
1968
|
+
*/
|
|
1969
|
+
min_machine_memory_mb?: number | null;
|
|
1970
|
+
/**
|
|
1971
|
+
* Format: int32
|
|
1972
|
+
* @description Largest CPU count a single machine in the pool can use.
|
|
1973
|
+
*/
|
|
1974
|
+
max_machine_cpu?: number | null;
|
|
1975
|
+
/**
|
|
1976
|
+
* Format: int32
|
|
1977
|
+
* @description Largest memory in MB a single machine in the pool can use.
|
|
1978
|
+
*/
|
|
1979
|
+
max_machine_memory_mb?: number | null;
|
|
1980
|
+
/**
|
|
1981
|
+
* Format: int32
|
|
1982
|
+
* @description Idle minutes before deleting a machine from this pool. Null clears the pool default; omitted leaves it unchanged.
|
|
1983
|
+
*/
|
|
1984
|
+
delete_after_idle_minutes?: number | null;
|
|
1985
|
+
/**
|
|
1986
|
+
* Format: int32
|
|
1987
|
+
* @description Idle minutes before pausing a machine from this pool. Null clears it; omitted leaves it unchanged. Exclusive with delete_after_idle_minutes.
|
|
1988
|
+
*/
|
|
1989
|
+
pause_after_idle_minutes?: number | null;
|
|
1990
|
+
/**
|
|
1991
|
+
* Format: int32
|
|
1992
|
+
* @description Days a machine stays paused before it is archived. Null clears it; omitted leaves it unchanged. Requires pause_after_idle_minutes.
|
|
1993
|
+
*/
|
|
1994
|
+
archive_after_paused_days?: number | null;
|
|
1995
|
+
/**
|
|
1996
|
+
* Format: int32
|
|
1997
|
+
* @description Days a machine stays paused before it is deleted, counted from when it paused. Null clears it; omitted leaves it unchanged. Requires pause_after_idle_minutes; cannot be combined with archive_after_paused_days.
|
|
1998
|
+
*/
|
|
1999
|
+
delete_after_paused_days?: number | null;
|
|
2000
|
+
metadata?: components["schemas"]["MachineMetadata"];
|
|
2001
|
+
};
|
|
2002
|
+
/** @description User-supplied metadata stored on a machine, provided directly or copied from the machine pool that provisions it. A restriction of Metadata that leaves room for one reserved pair - BMA sets observed_platform on the machine to the platform reported by its daemon, so the key is reserved and at most 15 user pairs are accepted. */
|
|
2003
|
+
MachineMetadata: {
|
|
2004
|
+
[key: string]: string;
|
|
2005
|
+
};
|
|
2006
|
+
CheckMachinePoolConnectionRequest: {
|
|
2007
|
+
provider: string;
|
|
2008
|
+
provider_auth_secret_id: components["schemas"]["SecretID"];
|
|
2009
|
+
provider_config?: {
|
|
2010
|
+
[key: string]: unknown;
|
|
2011
|
+
};
|
|
2012
|
+
default_machine_provider_options?: {
|
|
2013
|
+
[key: string]: unknown;
|
|
2014
|
+
};
|
|
2015
|
+
};
|
|
2016
|
+
/** @description Pool definition. name, provider, provider_auth_secret_id, default_machine_provider_options, and max_total_machines are always required; which default machine size and CPU and memory limits are required depends on the provider; Blaxel pools reject CPU fields. */
|
|
2017
|
+
CreateMachinePoolRequest: components["schemas"]["CreateMachinePoolRequestBase"] & ({
|
|
2018
|
+
/** @enum {string} */
|
|
2019
|
+
provider: "arker" | "freestyle" | "modal" | "tenki" | "unikraft";
|
|
2020
|
+
/** Format: int32 */
|
|
2021
|
+
default_machine_cpu: number;
|
|
2022
|
+
/** Format: int32 */
|
|
2023
|
+
default_machine_memory_mb: number;
|
|
2024
|
+
/** Format: int32 */
|
|
2025
|
+
max_total_cpu: number;
|
|
2026
|
+
/** Format: int32 */
|
|
2027
|
+
max_total_memory_mb: number;
|
|
2028
|
+
/** Format: int32 */
|
|
2029
|
+
max_machine_cpu: number;
|
|
2030
|
+
/** Format: int32 */
|
|
2031
|
+
max_machine_memory_mb: number;
|
|
2032
|
+
} | {
|
|
2033
|
+
/** @enum {string} */
|
|
2034
|
+
provider: "boxd" | "createos" | "daytona" | "e2b" | "superserve";
|
|
2035
|
+
/** Format: int32 */
|
|
2036
|
+
max_total_cpu: number;
|
|
2037
|
+
/** Format: int32 */
|
|
2038
|
+
max_total_memory_mb: number;
|
|
2039
|
+
/** Format: int32 */
|
|
2040
|
+
max_machine_cpu: number;
|
|
2041
|
+
/** Format: int32 */
|
|
2042
|
+
max_machine_memory_mb: number;
|
|
2043
|
+
} | {
|
|
2044
|
+
/** @enum {string} */
|
|
2045
|
+
provider: "blaxel";
|
|
2046
|
+
/** Format: int32 */
|
|
2047
|
+
default_machine_memory_mb: number;
|
|
2048
|
+
/** Format: int32 */
|
|
2049
|
+
max_total_memory_mb: number;
|
|
2050
|
+
/** Format: int32 */
|
|
2051
|
+
max_machine_memory_mb: number;
|
|
2052
|
+
});
|
|
2053
|
+
CreateMachinePoolRequestBase: {
|
|
2054
|
+
name: components["schemas"]["ResourceName"];
|
|
2055
|
+
description?: string;
|
|
2056
|
+
provider: string;
|
|
2057
|
+
/** Format: int32 */
|
|
2058
|
+
default_machine_cpu?: number;
|
|
2059
|
+
/** Format: int32 */
|
|
2060
|
+
default_machine_memory_mb?: number;
|
|
2061
|
+
/** @description Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch. */
|
|
2062
|
+
default_machine_env?: {
|
|
2063
|
+
[key: string]: string;
|
|
2064
|
+
};
|
|
2065
|
+
/** @description Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied. */
|
|
2066
|
+
default_machine_secret_env?: {
|
|
2067
|
+
[key: string]: components["schemas"]["SecretID"];
|
|
2068
|
+
};
|
|
2069
|
+
default_machine_provider_options: {
|
|
2070
|
+
[key: string]: unknown;
|
|
2071
|
+
};
|
|
2072
|
+
default_cwd?: string;
|
|
2073
|
+
provider_config?: {
|
|
2074
|
+
[key: string]: unknown;
|
|
2075
|
+
};
|
|
2076
|
+
provider_auth_secret_id: components["schemas"]["SecretID"];
|
|
2077
|
+
/**
|
|
2078
|
+
* @description Whether BMA should delete a pool machine when its provider remains running after its daemon becomes inactive. Defaults to false when omitted.
|
|
2079
|
+
* @default false
|
|
2080
|
+
*/
|
|
2081
|
+
runtime_protection_enabled?: boolean;
|
|
2082
|
+
/**
|
|
2083
|
+
* Format: int32
|
|
2084
|
+
* @description Deprecated, not enforced: how many machines a pool has no longer blocks new machines. Organization and project quotas over in-use machines (org resource limits max_in_use_pool_machines_per_project and max_in_use_pool_machines_per_org) govern capacity.
|
|
2085
|
+
*/
|
|
2086
|
+
max_total_machines: number;
|
|
2087
|
+
/**
|
|
2088
|
+
* Format: int32
|
|
2089
|
+
* @description Deprecated, not enforced: organization and project in-use machine CPU quotas govern capacity.
|
|
2090
|
+
*/
|
|
2091
|
+
max_total_cpu?: number;
|
|
2092
|
+
/**
|
|
2093
|
+
* Format: int32
|
|
2094
|
+
* @description Deprecated, not enforced: organization and project in-use machine memory quotas govern capacity.
|
|
2095
|
+
*/
|
|
2096
|
+
max_total_memory_mb?: number;
|
|
2097
|
+
/** Format: int32 */
|
|
2098
|
+
min_machine_cpu?: number;
|
|
2099
|
+
/** Format: int32 */
|
|
2100
|
+
min_machine_memory_mb?: number;
|
|
2101
|
+
/** Format: int32 */
|
|
2102
|
+
max_machine_cpu?: number;
|
|
2103
|
+
/** Format: int32 */
|
|
2104
|
+
max_machine_memory_mb?: number;
|
|
2105
|
+
/**
|
|
2106
|
+
* Format: int32
|
|
2107
|
+
* @description Idle minutes before deleting a machine from this pool. Omit to leave the pool default unset; a grant or agent source may still override it.
|
|
2108
|
+
*/
|
|
2109
|
+
delete_after_idle_minutes?: number;
|
|
2110
|
+
/**
|
|
2111
|
+
* Format: int32
|
|
2112
|
+
* @description Idle minutes before pausing a machine from this pool. A paused machine keeps its disk and resumes on the next command, terminal, desktop, or explicit resume. Exclusive with delete_after_idle_minutes; a grant or agent source delete policy still wins.
|
|
2113
|
+
*/
|
|
2114
|
+
pause_after_idle_minutes?: number;
|
|
2115
|
+
/**
|
|
2116
|
+
* Format: int32
|
|
2117
|
+
* @description Days a machine stays paused before it is archived. An archived machine is restored on the next access. Requires pause_after_idle_minutes.
|
|
2118
|
+
*/
|
|
2119
|
+
archive_after_paused_days?: number;
|
|
2120
|
+
/**
|
|
2121
|
+
* Format: int32
|
|
2122
|
+
* @description Days a machine stays paused before it is deleted, counted from when it paused; a resume ends the paused period and the next pause starts a new one. A session that receives input after its machine was deleted gets a fresh machine. Machines kept for a person (idle deletion disabled with 0 on their binding or grant) are never deleted by it. Requires pause_after_idle_minutes; cannot be combined with archive_after_paused_days.
|
|
2123
|
+
*/
|
|
2124
|
+
delete_after_paused_days?: number;
|
|
2125
|
+
metadata?: components["schemas"]["MachineMetadata"];
|
|
2126
|
+
};
|
|
2127
|
+
CreateProjectRequest: {
|
|
2128
|
+
name: components["schemas"]["ResourceName"];
|
|
2129
|
+
};
|
|
2130
|
+
};
|
|
2131
|
+
responses: {
|
|
2132
|
+
/** @description Anthropic error envelope. */
|
|
2133
|
+
Error: {
|
|
2134
|
+
headers: {
|
|
2135
|
+
[name: string]: unknown;
|
|
2136
|
+
};
|
|
2137
|
+
content: {
|
|
2138
|
+
"application/json": components["schemas"]["Error"];
|
|
2139
|
+
};
|
|
2140
|
+
};
|
|
2141
|
+
};
|
|
2142
|
+
parameters: {
|
|
2143
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2144
|
+
ProjectHeader: string;
|
|
2145
|
+
/** @description Replays the first result of a create; the same key with another body is 409. */
|
|
2146
|
+
IdempotencyKey: string;
|
|
2147
|
+
Limit: number;
|
|
2148
|
+
/** @description Opaque cursor from `next_page`. */
|
|
2149
|
+
Page: string;
|
|
2150
|
+
/** @description Include archived records. Defaults to false. */
|
|
2151
|
+
IncludeArchived: boolean;
|
|
2152
|
+
};
|
|
2153
|
+
requestBodies: never;
|
|
2154
|
+
headers: never;
|
|
2155
|
+
pathItems: never;
|
|
2156
|
+
}
|
|
2157
|
+
export type $defs = Record<string, never>;
|
|
2158
|
+
export interface operations {
|
|
2159
|
+
listOrganizationProjects: {
|
|
2160
|
+
parameters: {
|
|
2161
|
+
query?: {
|
|
2162
|
+
limit?: components["parameters"]["Limit"];
|
|
2163
|
+
/** @description Opaque cursor from `next_page`. */
|
|
2164
|
+
page?: components["parameters"]["Page"];
|
|
2165
|
+
};
|
|
2166
|
+
header?: never;
|
|
2167
|
+
path: {
|
|
2168
|
+
organization_id: string;
|
|
2169
|
+
};
|
|
2170
|
+
cookie?: never;
|
|
2171
|
+
};
|
|
2172
|
+
requestBody?: never;
|
|
2173
|
+
responses: {
|
|
2174
|
+
/** @description Success. */
|
|
2175
|
+
200: {
|
|
2176
|
+
headers: {
|
|
2177
|
+
[name: string]: unknown;
|
|
2178
|
+
};
|
|
2179
|
+
content: {
|
|
2180
|
+
"application/json": components["schemas"]["ListProject"];
|
|
2181
|
+
};
|
|
2182
|
+
};
|
|
2183
|
+
"4XX": components["responses"]["Error"];
|
|
2184
|
+
"5XX": components["responses"]["Error"];
|
|
2185
|
+
};
|
|
2186
|
+
};
|
|
2187
|
+
createOrganizationProject: {
|
|
2188
|
+
parameters: {
|
|
2189
|
+
query?: never;
|
|
2190
|
+
header?: {
|
|
2191
|
+
/** @description Replays the first result of a create; the same key with another body is 409. */
|
|
2192
|
+
"Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
|
|
2193
|
+
};
|
|
2194
|
+
path: {
|
|
2195
|
+
organization_id: string;
|
|
2196
|
+
};
|
|
2197
|
+
cookie?: never;
|
|
2198
|
+
};
|
|
2199
|
+
requestBody: {
|
|
2200
|
+
content: {
|
|
2201
|
+
"application/json": components["schemas"]["CreateProjectRequest"];
|
|
2202
|
+
};
|
|
2203
|
+
};
|
|
2204
|
+
responses: {
|
|
2205
|
+
/** @description Success. */
|
|
2206
|
+
200: {
|
|
2207
|
+
headers: {
|
|
2208
|
+
[name: string]: unknown;
|
|
2209
|
+
};
|
|
2210
|
+
content: {
|
|
2211
|
+
"application/json": components["schemas"]["Project"];
|
|
2212
|
+
};
|
|
2213
|
+
};
|
|
2214
|
+
"4XX": components["responses"]["Error"];
|
|
2215
|
+
"5XX": components["responses"]["Error"];
|
|
2216
|
+
};
|
|
2217
|
+
};
|
|
2218
|
+
listMachinePools: {
|
|
2219
|
+
parameters: {
|
|
2220
|
+
query?: {
|
|
2221
|
+
limit?: components["parameters"]["Limit"];
|
|
2222
|
+
/** @description Opaque cursor from `next_page`. */
|
|
2223
|
+
page?: components["parameters"]["Page"];
|
|
2224
|
+
sort?: string;
|
|
2225
|
+
};
|
|
2226
|
+
header?: never;
|
|
2227
|
+
path?: never;
|
|
2228
|
+
cookie?: never;
|
|
2229
|
+
};
|
|
2230
|
+
requestBody?: never;
|
|
2231
|
+
responses: {
|
|
2232
|
+
/** @description Success. */
|
|
2233
|
+
200: {
|
|
2234
|
+
headers: {
|
|
2235
|
+
[name: string]: unknown;
|
|
2236
|
+
};
|
|
2237
|
+
content: {
|
|
2238
|
+
"application/json": components["schemas"]["ListMachinePool"];
|
|
2239
|
+
};
|
|
2240
|
+
};
|
|
2241
|
+
"4XX": components["responses"]["Error"];
|
|
2242
|
+
"5XX": components["responses"]["Error"];
|
|
2243
|
+
};
|
|
2244
|
+
};
|
|
2245
|
+
createMachinePool: {
|
|
2246
|
+
parameters: {
|
|
2247
|
+
query?: never;
|
|
2248
|
+
header?: {
|
|
2249
|
+
/** @description Replays the first result of a create; the same key with another body is 409. */
|
|
2250
|
+
"Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
|
|
2251
|
+
};
|
|
2252
|
+
path?: never;
|
|
2253
|
+
cookie?: never;
|
|
2254
|
+
};
|
|
2255
|
+
requestBody: {
|
|
2256
|
+
content: {
|
|
2257
|
+
"application/json": components["schemas"]["CreateMachinePoolRequest"];
|
|
2258
|
+
};
|
|
2259
|
+
};
|
|
2260
|
+
responses: {
|
|
2261
|
+
/** @description Success. */
|
|
2262
|
+
200: {
|
|
2263
|
+
headers: {
|
|
2264
|
+
[name: string]: unknown;
|
|
2265
|
+
};
|
|
2266
|
+
content: {
|
|
2267
|
+
"application/json": components["schemas"]["MachinePool"];
|
|
2268
|
+
};
|
|
2269
|
+
};
|
|
2270
|
+
"4XX": components["responses"]["Error"];
|
|
2271
|
+
"5XX": components["responses"]["Error"];
|
|
2272
|
+
};
|
|
2273
|
+
};
|
|
2274
|
+
checkMachinePoolConnection: {
|
|
2275
|
+
parameters: {
|
|
2276
|
+
query?: never;
|
|
2277
|
+
header?: never;
|
|
2278
|
+
path?: never;
|
|
2279
|
+
cookie?: never;
|
|
2280
|
+
};
|
|
2281
|
+
requestBody: {
|
|
2282
|
+
content: {
|
|
2283
|
+
"application/json": components["schemas"]["CheckMachinePoolConnectionRequest"];
|
|
2284
|
+
};
|
|
2285
|
+
};
|
|
2286
|
+
responses: {
|
|
2287
|
+
/** @description Success. */
|
|
2288
|
+
200: {
|
|
2289
|
+
headers: {
|
|
2290
|
+
[name: string]: unknown;
|
|
2291
|
+
};
|
|
2292
|
+
content: {
|
|
2293
|
+
"application/json": components["schemas"]["MachinePoolConnectionCheck"];
|
|
2294
|
+
};
|
|
2295
|
+
};
|
|
2296
|
+
"4XX": components["responses"]["Error"];
|
|
2297
|
+
"5XX": components["responses"]["Error"];
|
|
2298
|
+
};
|
|
2299
|
+
};
|
|
2300
|
+
getMachinePool: {
|
|
2301
|
+
parameters: {
|
|
2302
|
+
query?: never;
|
|
2303
|
+
header?: never;
|
|
2304
|
+
path: {
|
|
2305
|
+
pool_id: string;
|
|
2306
|
+
};
|
|
2307
|
+
cookie?: never;
|
|
2308
|
+
};
|
|
2309
|
+
requestBody?: never;
|
|
2310
|
+
responses: {
|
|
2311
|
+
/** @description Success. */
|
|
2312
|
+
200: {
|
|
2313
|
+
headers: {
|
|
2314
|
+
[name: string]: unknown;
|
|
2315
|
+
};
|
|
2316
|
+
content: {
|
|
2317
|
+
"application/json": components["schemas"]["MachinePool"];
|
|
2318
|
+
};
|
|
2319
|
+
};
|
|
2320
|
+
"4XX": components["responses"]["Error"];
|
|
2321
|
+
"5XX": components["responses"]["Error"];
|
|
2322
|
+
};
|
|
2323
|
+
};
|
|
2324
|
+
updateMachinePool: {
|
|
2325
|
+
parameters: {
|
|
2326
|
+
query?: never;
|
|
2327
|
+
header?: never;
|
|
2328
|
+
path: {
|
|
2329
|
+
pool_id: string;
|
|
2330
|
+
};
|
|
2331
|
+
cookie?: never;
|
|
2332
|
+
};
|
|
2333
|
+
requestBody: {
|
|
2334
|
+
content: {
|
|
2335
|
+
"application/json": components["schemas"]["UpdateMachinePoolRequest"];
|
|
2336
|
+
};
|
|
2337
|
+
};
|
|
2338
|
+
responses: {
|
|
2339
|
+
/** @description Success. */
|
|
2340
|
+
200: {
|
|
2341
|
+
headers: {
|
|
2342
|
+
[name: string]: unknown;
|
|
2343
|
+
};
|
|
2344
|
+
content: {
|
|
2345
|
+
"application/json": components["schemas"]["MachinePool"];
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
"4XX": components["responses"]["Error"];
|
|
2349
|
+
"5XX": components["responses"]["Error"];
|
|
2350
|
+
};
|
|
2351
|
+
};
|
|
2352
|
+
deleteMachinePool: {
|
|
2353
|
+
parameters: {
|
|
2354
|
+
query?: never;
|
|
2355
|
+
header?: never;
|
|
2356
|
+
path: {
|
|
2357
|
+
pool_id: string;
|
|
2358
|
+
};
|
|
2359
|
+
cookie?: never;
|
|
2360
|
+
};
|
|
2361
|
+
requestBody?: never;
|
|
2362
|
+
responses: {
|
|
2363
|
+
/** @description Success. */
|
|
2364
|
+
200: {
|
|
2365
|
+
headers: {
|
|
2366
|
+
[name: string]: unknown;
|
|
2367
|
+
};
|
|
2368
|
+
content: {
|
|
2369
|
+
"application/json": components["schemas"]["MachinePoolDeleted"];
|
|
2370
|
+
};
|
|
2371
|
+
};
|
|
2372
|
+
"4XX": components["responses"]["Error"];
|
|
2373
|
+
"5XX": components["responses"]["Error"];
|
|
2374
|
+
};
|
|
2375
|
+
};
|
|
2376
|
+
listMachinePoolGrants: {
|
|
2377
|
+
parameters: {
|
|
2378
|
+
query?: {
|
|
2379
|
+
limit?: components["parameters"]["Limit"];
|
|
2380
|
+
/** @description Opaque cursor from `next_page`. */
|
|
2381
|
+
page?: components["parameters"]["Page"];
|
|
2382
|
+
sort?: string;
|
|
2383
|
+
project_id?: string;
|
|
2384
|
+
};
|
|
2385
|
+
header?: {
|
|
2386
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2387
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2388
|
+
};
|
|
2389
|
+
path: {
|
|
2390
|
+
pool_id: string;
|
|
2391
|
+
};
|
|
2392
|
+
cookie?: never;
|
|
2393
|
+
};
|
|
2394
|
+
requestBody?: never;
|
|
2395
|
+
responses: {
|
|
2396
|
+
/** @description Success. */
|
|
2397
|
+
200: {
|
|
2398
|
+
headers: {
|
|
2399
|
+
[name: string]: unknown;
|
|
2400
|
+
};
|
|
2401
|
+
content: {
|
|
2402
|
+
"application/json": components["schemas"]["ListMachinePoolGrant"];
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
"4XX": components["responses"]["Error"];
|
|
2406
|
+
"5XX": components["responses"]["Error"];
|
|
2407
|
+
};
|
|
2408
|
+
};
|
|
2409
|
+
createMachinePoolGrant: {
|
|
2410
|
+
parameters: {
|
|
2411
|
+
query?: never;
|
|
2412
|
+
header?: {
|
|
2413
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2414
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2415
|
+
/** @description Replays the first result of a create; the same key with another body is 409. */
|
|
2416
|
+
"Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
|
|
2417
|
+
};
|
|
2418
|
+
path: {
|
|
2419
|
+
pool_id: string;
|
|
2420
|
+
};
|
|
2421
|
+
cookie?: never;
|
|
2422
|
+
};
|
|
2423
|
+
requestBody: {
|
|
2424
|
+
content: {
|
|
2425
|
+
"application/json": components["schemas"]["CreateMachinePoolGrantExtensionRequest"];
|
|
2426
|
+
};
|
|
2427
|
+
};
|
|
2428
|
+
responses: {
|
|
2429
|
+
/** @description Success. */
|
|
2430
|
+
200: {
|
|
2431
|
+
headers: {
|
|
2432
|
+
[name: string]: unknown;
|
|
2433
|
+
};
|
|
2434
|
+
content: {
|
|
2435
|
+
"application/json": components["schemas"]["MachinePoolGrant"];
|
|
2436
|
+
};
|
|
2437
|
+
};
|
|
2438
|
+
"4XX": components["responses"]["Error"];
|
|
2439
|
+
"5XX": components["responses"]["Error"];
|
|
2440
|
+
};
|
|
2441
|
+
};
|
|
2442
|
+
getMachinePoolGrant: {
|
|
2443
|
+
parameters: {
|
|
2444
|
+
query?: {
|
|
2445
|
+
project_id?: string;
|
|
2446
|
+
};
|
|
2447
|
+
header?: {
|
|
2448
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2449
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2450
|
+
};
|
|
2451
|
+
path: {
|
|
2452
|
+
pool_id: string;
|
|
2453
|
+
grant_id: string;
|
|
2454
|
+
};
|
|
2455
|
+
cookie?: never;
|
|
2456
|
+
};
|
|
2457
|
+
requestBody?: never;
|
|
2458
|
+
responses: {
|
|
2459
|
+
/** @description Success. */
|
|
2460
|
+
200: {
|
|
2461
|
+
headers: {
|
|
2462
|
+
[name: string]: unknown;
|
|
2463
|
+
};
|
|
2464
|
+
content: {
|
|
2465
|
+
"application/json": components["schemas"]["MachinePoolGrant"];
|
|
2466
|
+
};
|
|
2467
|
+
};
|
|
2468
|
+
"4XX": components["responses"]["Error"];
|
|
2469
|
+
"5XX": components["responses"]["Error"];
|
|
2470
|
+
};
|
|
2471
|
+
};
|
|
2472
|
+
updateMachinePoolGrant: {
|
|
2473
|
+
parameters: {
|
|
2474
|
+
query?: {
|
|
2475
|
+
project_id?: string;
|
|
2476
|
+
};
|
|
2477
|
+
header?: {
|
|
2478
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2479
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2480
|
+
};
|
|
2481
|
+
path: {
|
|
2482
|
+
pool_id: string;
|
|
2483
|
+
grant_id: string;
|
|
2484
|
+
};
|
|
2485
|
+
cookie?: never;
|
|
2486
|
+
};
|
|
2487
|
+
requestBody: {
|
|
2488
|
+
content: {
|
|
2489
|
+
"application/json": components["schemas"]["UpdateProjectMachinePoolGrantRequest"];
|
|
2490
|
+
};
|
|
2491
|
+
};
|
|
2492
|
+
responses: {
|
|
2493
|
+
/** @description Success. */
|
|
2494
|
+
200: {
|
|
2495
|
+
headers: {
|
|
2496
|
+
[name: string]: unknown;
|
|
2497
|
+
};
|
|
2498
|
+
content: {
|
|
2499
|
+
"application/json": components["schemas"]["MachinePoolGrant"];
|
|
2500
|
+
};
|
|
2501
|
+
};
|
|
2502
|
+
"4XX": components["responses"]["Error"];
|
|
2503
|
+
"5XX": components["responses"]["Error"];
|
|
2504
|
+
};
|
|
2505
|
+
};
|
|
2506
|
+
deleteMachinePoolGrant: {
|
|
2507
|
+
parameters: {
|
|
2508
|
+
query?: {
|
|
2509
|
+
project_id?: string;
|
|
2510
|
+
};
|
|
2511
|
+
header?: {
|
|
2512
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2513
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2514
|
+
};
|
|
2515
|
+
path: {
|
|
2516
|
+
pool_id: string;
|
|
2517
|
+
grant_id: string;
|
|
2518
|
+
};
|
|
2519
|
+
cookie?: never;
|
|
2520
|
+
};
|
|
2521
|
+
requestBody?: never;
|
|
2522
|
+
responses: {
|
|
2523
|
+
/** @description Success. */
|
|
2524
|
+
200: {
|
|
2525
|
+
headers: {
|
|
2526
|
+
[name: string]: unknown;
|
|
2527
|
+
};
|
|
2528
|
+
content: {
|
|
2529
|
+
"application/json": components["schemas"]["MachinePoolGrantDeleted"];
|
|
2530
|
+
};
|
|
2531
|
+
};
|
|
2532
|
+
"4XX": components["responses"]["Error"];
|
|
2533
|
+
"5XX": components["responses"]["Error"];
|
|
2534
|
+
};
|
|
2535
|
+
};
|
|
2536
|
+
listMachines: {
|
|
2537
|
+
parameters: {
|
|
2538
|
+
query?: {
|
|
2539
|
+
limit?: components["parameters"]["Limit"];
|
|
2540
|
+
/** @description Opaque cursor from `next_page`. */
|
|
2541
|
+
page?: components["parameters"]["Page"];
|
|
2542
|
+
sort?: string;
|
|
2543
|
+
machine_pool_id?: string;
|
|
2544
|
+
agent_id?: string;
|
|
2545
|
+
};
|
|
2546
|
+
header?: never;
|
|
2547
|
+
path?: never;
|
|
2548
|
+
cookie?: never;
|
|
2549
|
+
};
|
|
2550
|
+
requestBody?: never;
|
|
2551
|
+
responses: {
|
|
2552
|
+
/** @description Success. */
|
|
2553
|
+
200: {
|
|
2554
|
+
headers: {
|
|
2555
|
+
[name: string]: unknown;
|
|
2556
|
+
};
|
|
2557
|
+
content: {
|
|
2558
|
+
"application/json": components["schemas"]["ListMachine"];
|
|
2559
|
+
};
|
|
2560
|
+
};
|
|
2561
|
+
"4XX": components["responses"]["Error"];
|
|
2562
|
+
"5XX": components["responses"]["Error"];
|
|
2563
|
+
};
|
|
2564
|
+
};
|
|
2565
|
+
createMachine: {
|
|
2566
|
+
parameters: {
|
|
2567
|
+
query?: never;
|
|
2568
|
+
header?: {
|
|
2569
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2570
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2571
|
+
/** @description Replays the first result of a create; the same key with another body is 409. */
|
|
2572
|
+
"Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
|
|
2573
|
+
};
|
|
2574
|
+
path?: never;
|
|
2575
|
+
cookie?: never;
|
|
2576
|
+
};
|
|
2577
|
+
requestBody: {
|
|
2578
|
+
content: {
|
|
2579
|
+
"application/json": components["schemas"]["CreateMachineExtensionRequest"];
|
|
2580
|
+
};
|
|
2581
|
+
};
|
|
2582
|
+
responses: {
|
|
2583
|
+
/** @description Success. */
|
|
2584
|
+
200: {
|
|
2585
|
+
headers: {
|
|
2586
|
+
[name: string]: unknown;
|
|
2587
|
+
};
|
|
2588
|
+
content: {
|
|
2589
|
+
"application/json": components["schemas"]["Machine"];
|
|
2590
|
+
};
|
|
2591
|
+
};
|
|
2592
|
+
"4XX": components["responses"]["Error"];
|
|
2593
|
+
"5XX": components["responses"]["Error"];
|
|
2594
|
+
};
|
|
2595
|
+
};
|
|
2596
|
+
getMachine: {
|
|
2597
|
+
parameters: {
|
|
2598
|
+
query?: never;
|
|
2599
|
+
header?: never;
|
|
2600
|
+
path: {
|
|
2601
|
+
machine_id: string;
|
|
2602
|
+
};
|
|
2603
|
+
cookie?: never;
|
|
2604
|
+
};
|
|
2605
|
+
requestBody?: never;
|
|
2606
|
+
responses: {
|
|
2607
|
+
/** @description Success. */
|
|
2608
|
+
200: {
|
|
2609
|
+
headers: {
|
|
2610
|
+
[name: string]: unknown;
|
|
2611
|
+
};
|
|
2612
|
+
content: {
|
|
2613
|
+
"application/json": components["schemas"]["Machine"];
|
|
2614
|
+
};
|
|
2615
|
+
};
|
|
2616
|
+
"4XX": components["responses"]["Error"];
|
|
2617
|
+
"5XX": components["responses"]["Error"];
|
|
2618
|
+
};
|
|
2619
|
+
};
|
|
2620
|
+
updateMachine: {
|
|
2621
|
+
parameters: {
|
|
2622
|
+
query?: never;
|
|
2623
|
+
header?: never;
|
|
2624
|
+
path: {
|
|
2625
|
+
machine_id: string;
|
|
2626
|
+
};
|
|
2627
|
+
cookie?: never;
|
|
2628
|
+
};
|
|
2629
|
+
requestBody: {
|
|
2630
|
+
content: {
|
|
2631
|
+
"application/json": components["schemas"]["UpdateMachineRequest"];
|
|
2632
|
+
};
|
|
2633
|
+
};
|
|
2634
|
+
responses: {
|
|
2635
|
+
/** @description Success. */
|
|
2636
|
+
200: {
|
|
2637
|
+
headers: {
|
|
2638
|
+
[name: string]: unknown;
|
|
2639
|
+
};
|
|
2640
|
+
content: {
|
|
2641
|
+
"application/json": components["schemas"]["Machine"];
|
|
2642
|
+
};
|
|
2643
|
+
};
|
|
2644
|
+
"4XX": components["responses"]["Error"];
|
|
2645
|
+
"5XX": components["responses"]["Error"];
|
|
2646
|
+
};
|
|
2647
|
+
};
|
|
2648
|
+
deleteMachine: {
|
|
2649
|
+
parameters: {
|
|
2650
|
+
query?: {
|
|
2651
|
+
agent_id?: string;
|
|
2652
|
+
};
|
|
2653
|
+
header?: {
|
|
2654
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2655
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2656
|
+
};
|
|
2657
|
+
path: {
|
|
2658
|
+
machine_id: string;
|
|
2659
|
+
};
|
|
2660
|
+
cookie?: never;
|
|
2661
|
+
};
|
|
2662
|
+
requestBody?: never;
|
|
2663
|
+
responses: {
|
|
2664
|
+
/** @description Success. */
|
|
2665
|
+
200: {
|
|
2666
|
+
headers: {
|
|
2667
|
+
[name: string]: unknown;
|
|
2668
|
+
};
|
|
2669
|
+
content: {
|
|
2670
|
+
"application/json": components["schemas"]["MachineDeleted"];
|
|
2671
|
+
};
|
|
2672
|
+
};
|
|
2673
|
+
"4XX": components["responses"]["Error"];
|
|
2674
|
+
"5XX": components["responses"]["Error"];
|
|
2675
|
+
};
|
|
2676
|
+
};
|
|
2677
|
+
resumeMachine: {
|
|
2678
|
+
parameters: {
|
|
2679
|
+
query?: {
|
|
2680
|
+
project_id?: string;
|
|
2681
|
+
};
|
|
2682
|
+
header?: {
|
|
2683
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2684
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2685
|
+
};
|
|
2686
|
+
path: {
|
|
2687
|
+
machine_id: string;
|
|
2688
|
+
};
|
|
2689
|
+
cookie?: never;
|
|
2690
|
+
};
|
|
2691
|
+
requestBody?: never;
|
|
2692
|
+
responses: {
|
|
2693
|
+
/** @description Success. */
|
|
2694
|
+
200: {
|
|
2695
|
+
headers: {
|
|
2696
|
+
[name: string]: unknown;
|
|
2697
|
+
};
|
|
2698
|
+
content: {
|
|
2699
|
+
"application/json": components["schemas"]["MachinePowerStatus"];
|
|
2700
|
+
};
|
|
2701
|
+
};
|
|
2702
|
+
"4XX": components["responses"]["Error"];
|
|
2703
|
+
"5XX": components["responses"]["Error"];
|
|
2704
|
+
};
|
|
2705
|
+
};
|
|
2706
|
+
getMachineCapabilities: {
|
|
2707
|
+
parameters: {
|
|
2708
|
+
query?: {
|
|
2709
|
+
project_id?: string;
|
|
2710
|
+
};
|
|
2711
|
+
header?: {
|
|
2712
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2713
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2714
|
+
};
|
|
2715
|
+
path: {
|
|
2716
|
+
machine_id: string;
|
|
2717
|
+
};
|
|
2718
|
+
cookie?: never;
|
|
2719
|
+
};
|
|
2720
|
+
requestBody?: never;
|
|
2721
|
+
responses: {
|
|
2722
|
+
/** @description Success. */
|
|
2723
|
+
200: {
|
|
2724
|
+
headers: {
|
|
2725
|
+
[name: string]: unknown;
|
|
2726
|
+
};
|
|
2727
|
+
content: {
|
|
2728
|
+
"application/json": components["schemas"]["MachineCapabilities"];
|
|
2729
|
+
};
|
|
2730
|
+
};
|
|
2731
|
+
"4XX": components["responses"]["Error"];
|
|
2732
|
+
"5XX": components["responses"]["Error"];
|
|
2733
|
+
};
|
|
2734
|
+
};
|
|
2735
|
+
createDesktopSession: {
|
|
2736
|
+
parameters: {
|
|
2737
|
+
query?: never;
|
|
2738
|
+
header?: {
|
|
2739
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2740
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2741
|
+
/** @description Replays the first result of a create; the same key with another body is 409. */
|
|
2742
|
+
"Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
|
|
2743
|
+
};
|
|
2744
|
+
path?: never;
|
|
2745
|
+
cookie?: never;
|
|
2746
|
+
};
|
|
2747
|
+
requestBody: {
|
|
2748
|
+
content: {
|
|
2749
|
+
"application/json": components["schemas"]["CreateDesktopSessionExtensionRequest"];
|
|
2750
|
+
};
|
|
2751
|
+
};
|
|
2752
|
+
responses: {
|
|
2753
|
+
/** @description Success. */
|
|
2754
|
+
200: {
|
|
2755
|
+
headers: {
|
|
2756
|
+
[name: string]: unknown;
|
|
2757
|
+
};
|
|
2758
|
+
content: {
|
|
2759
|
+
"application/json": components["schemas"]["DesktopSession"];
|
|
2760
|
+
};
|
|
2761
|
+
};
|
|
2762
|
+
"4XX": components["responses"]["Error"];
|
|
2763
|
+
"5XX": components["responses"]["Error"];
|
|
2764
|
+
};
|
|
2765
|
+
};
|
|
2766
|
+
getDesktopSession: {
|
|
2767
|
+
parameters: {
|
|
2768
|
+
query?: never;
|
|
2769
|
+
header?: {
|
|
2770
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2771
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2772
|
+
};
|
|
2773
|
+
path: {
|
|
2774
|
+
desktop_session_id: string;
|
|
2775
|
+
};
|
|
2776
|
+
cookie?: never;
|
|
2777
|
+
};
|
|
2778
|
+
requestBody?: never;
|
|
2779
|
+
responses: {
|
|
2780
|
+
/** @description Success. */
|
|
2781
|
+
200: {
|
|
2782
|
+
headers: {
|
|
2783
|
+
[name: string]: unknown;
|
|
2784
|
+
};
|
|
2785
|
+
content: {
|
|
2786
|
+
"application/json": components["schemas"]["DesktopSession"];
|
|
2787
|
+
};
|
|
2788
|
+
};
|
|
2789
|
+
"4XX": components["responses"]["Error"];
|
|
2790
|
+
"5XX": components["responses"]["Error"];
|
|
2791
|
+
};
|
|
2792
|
+
};
|
|
2793
|
+
closeDesktopSession: {
|
|
2794
|
+
parameters: {
|
|
2795
|
+
query?: never;
|
|
2796
|
+
header?: {
|
|
2797
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2798
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2799
|
+
};
|
|
2800
|
+
path: {
|
|
2801
|
+
desktop_session_id: string;
|
|
2802
|
+
};
|
|
2803
|
+
cookie?: never;
|
|
2804
|
+
};
|
|
2805
|
+
requestBody?: never;
|
|
2806
|
+
responses: {
|
|
2807
|
+
/** @description Success. */
|
|
2808
|
+
200: {
|
|
2809
|
+
headers: {
|
|
2810
|
+
[name: string]: unknown;
|
|
2811
|
+
};
|
|
2812
|
+
content: {
|
|
2813
|
+
"application/json": components["schemas"]["DesktopSessionClosed"];
|
|
2814
|
+
};
|
|
2815
|
+
};
|
|
2816
|
+
"4XX": components["responses"]["Error"];
|
|
2817
|
+
"5XX": components["responses"]["Error"];
|
|
2818
|
+
};
|
|
2819
|
+
};
|
|
2820
|
+
acquireDesktopControl: {
|
|
2821
|
+
parameters: {
|
|
2822
|
+
query?: never;
|
|
2823
|
+
header?: {
|
|
2824
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2825
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2826
|
+
};
|
|
2827
|
+
path: {
|
|
2828
|
+
desktop_session_id: string;
|
|
2829
|
+
};
|
|
2830
|
+
cookie?: never;
|
|
2831
|
+
};
|
|
2832
|
+
requestBody?: {
|
|
2833
|
+
content: {
|
|
2834
|
+
"application/json": components["schemas"]["DesktopControlLeaseRequest"];
|
|
2835
|
+
};
|
|
2836
|
+
};
|
|
2837
|
+
responses: {
|
|
2838
|
+
/** @description Success. */
|
|
2839
|
+
200: {
|
|
2840
|
+
headers: {
|
|
2841
|
+
[name: string]: unknown;
|
|
2842
|
+
};
|
|
2843
|
+
content: {
|
|
2844
|
+
"application/json": components["schemas"]["DesktopControlStatus"];
|
|
2845
|
+
};
|
|
2846
|
+
};
|
|
2847
|
+
"4XX": components["responses"]["Error"];
|
|
2848
|
+
"5XX": components["responses"]["Error"];
|
|
2849
|
+
};
|
|
2850
|
+
};
|
|
2851
|
+
renewDesktopControl: {
|
|
2852
|
+
parameters: {
|
|
2853
|
+
query?: never;
|
|
2854
|
+
header?: {
|
|
2855
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2856
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2857
|
+
};
|
|
2858
|
+
path: {
|
|
2859
|
+
desktop_session_id: string;
|
|
2860
|
+
};
|
|
2861
|
+
cookie?: never;
|
|
2862
|
+
};
|
|
2863
|
+
requestBody?: {
|
|
2864
|
+
content: {
|
|
2865
|
+
"application/json": components["schemas"]["DesktopControlLeaseRequest"];
|
|
2866
|
+
};
|
|
2867
|
+
};
|
|
2868
|
+
responses: {
|
|
2869
|
+
/** @description Success. */
|
|
2870
|
+
200: {
|
|
2871
|
+
headers: {
|
|
2872
|
+
[name: string]: unknown;
|
|
2873
|
+
};
|
|
2874
|
+
content: {
|
|
2875
|
+
"application/json": components["schemas"]["DesktopControlStatus"];
|
|
2876
|
+
};
|
|
2877
|
+
};
|
|
2878
|
+
"4XX": components["responses"]["Error"];
|
|
2879
|
+
"5XX": components["responses"]["Error"];
|
|
2880
|
+
};
|
|
2881
|
+
};
|
|
2882
|
+
releaseDesktopControl: {
|
|
2883
|
+
parameters: {
|
|
2884
|
+
query?: never;
|
|
2885
|
+
header?: {
|
|
2886
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2887
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2888
|
+
};
|
|
2889
|
+
path: {
|
|
2890
|
+
desktop_session_id: string;
|
|
2891
|
+
};
|
|
2892
|
+
cookie?: never;
|
|
2893
|
+
};
|
|
2894
|
+
requestBody?: {
|
|
2895
|
+
content: {
|
|
2896
|
+
"application/json": components["schemas"]["DesktopEmptyRequest"];
|
|
2897
|
+
};
|
|
2898
|
+
};
|
|
2899
|
+
responses: {
|
|
2900
|
+
/** @description Success. */
|
|
2901
|
+
200: {
|
|
2902
|
+
headers: {
|
|
2903
|
+
[name: string]: unknown;
|
|
2904
|
+
};
|
|
2905
|
+
content: {
|
|
2906
|
+
"application/json": components["schemas"]["DesktopControlStatus"];
|
|
2907
|
+
};
|
|
2908
|
+
};
|
|
2909
|
+
"4XX": components["responses"]["Error"];
|
|
2910
|
+
"5XX": components["responses"]["Error"];
|
|
2911
|
+
};
|
|
2912
|
+
};
|
|
2913
|
+
handbackDesktopControl: {
|
|
2914
|
+
parameters: {
|
|
2915
|
+
query?: never;
|
|
2916
|
+
header?: {
|
|
2917
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2918
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2919
|
+
};
|
|
2920
|
+
path: {
|
|
2921
|
+
desktop_session_id: string;
|
|
2922
|
+
};
|
|
2923
|
+
cookie?: never;
|
|
2924
|
+
};
|
|
2925
|
+
requestBody?: {
|
|
2926
|
+
content: {
|
|
2927
|
+
"application/json": components["schemas"]["DesktopEmptyRequest"];
|
|
2928
|
+
};
|
|
2929
|
+
};
|
|
2930
|
+
responses: {
|
|
2931
|
+
/** @description Success. */
|
|
2932
|
+
200: {
|
|
2933
|
+
headers: {
|
|
2934
|
+
[name: string]: unknown;
|
|
2935
|
+
};
|
|
2936
|
+
content: {
|
|
2937
|
+
"application/json": components["schemas"]["DesktopControlStatus"];
|
|
2938
|
+
};
|
|
2939
|
+
};
|
|
2940
|
+
"4XX": components["responses"]["Error"];
|
|
2941
|
+
"5XX": components["responses"]["Error"];
|
|
2942
|
+
};
|
|
2943
|
+
};
|
|
2944
|
+
sendDesktopActions: {
|
|
2945
|
+
parameters: {
|
|
2946
|
+
query?: never;
|
|
2947
|
+
header?: {
|
|
2948
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2949
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2950
|
+
};
|
|
2951
|
+
path: {
|
|
2952
|
+
desktop_session_id: string;
|
|
2953
|
+
};
|
|
2954
|
+
cookie?: never;
|
|
2955
|
+
};
|
|
2956
|
+
requestBody: {
|
|
2957
|
+
content: {
|
|
2958
|
+
"application/json": components["schemas"]["DesktopActionRequest"];
|
|
2959
|
+
};
|
|
2960
|
+
};
|
|
2961
|
+
responses: {
|
|
2962
|
+
/** @description Success. */
|
|
2963
|
+
200: {
|
|
2964
|
+
headers: {
|
|
2965
|
+
[name: string]: unknown;
|
|
2966
|
+
};
|
|
2967
|
+
content: {
|
|
2968
|
+
"application/json": components["schemas"]["DesktopActionResult"];
|
|
2969
|
+
};
|
|
2970
|
+
};
|
|
2971
|
+
"4XX": components["responses"]["Error"];
|
|
2972
|
+
"5XX": components["responses"]["Error"];
|
|
2973
|
+
};
|
|
2974
|
+
};
|
|
2975
|
+
captureDesktopScreenshot: {
|
|
2976
|
+
parameters: {
|
|
2977
|
+
query?: never;
|
|
2978
|
+
header?: {
|
|
2979
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
2980
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
2981
|
+
};
|
|
2982
|
+
path: {
|
|
2983
|
+
desktop_session_id: string;
|
|
2984
|
+
};
|
|
2985
|
+
cookie?: never;
|
|
2986
|
+
};
|
|
2987
|
+
requestBody?: {
|
|
2988
|
+
content: {
|
|
2989
|
+
"application/json": components["schemas"]["DesktopEmptyRequest"];
|
|
2990
|
+
};
|
|
2991
|
+
};
|
|
2992
|
+
responses: {
|
|
2993
|
+
/** @description Success. */
|
|
2994
|
+
200: {
|
|
2995
|
+
headers: {
|
|
2996
|
+
[name: string]: unknown;
|
|
2997
|
+
};
|
|
2998
|
+
content: {
|
|
2999
|
+
"application/json": components["schemas"]["DesktopScreenshot"];
|
|
3000
|
+
};
|
|
3001
|
+
};
|
|
3002
|
+
"4XX": components["responses"]["Error"];
|
|
3003
|
+
"5XX": components["responses"]["Error"];
|
|
3004
|
+
};
|
|
3005
|
+
};
|
|
3006
|
+
resumeDesktopAgent: {
|
|
3007
|
+
parameters: {
|
|
3008
|
+
query?: never;
|
|
3009
|
+
header?: {
|
|
3010
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3011
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3012
|
+
};
|
|
3013
|
+
path: {
|
|
3014
|
+
desktop_session_id: string;
|
|
3015
|
+
};
|
|
3016
|
+
cookie?: never;
|
|
3017
|
+
};
|
|
3018
|
+
requestBody: {
|
|
3019
|
+
content: {
|
|
3020
|
+
"application/json": components["schemas"]["DesktopGenerationRequest"];
|
|
3021
|
+
};
|
|
3022
|
+
};
|
|
3023
|
+
responses: {
|
|
3024
|
+
/** @description Success. */
|
|
3025
|
+
200: {
|
|
3026
|
+
headers: {
|
|
3027
|
+
[name: string]: unknown;
|
|
3028
|
+
};
|
|
3029
|
+
content: {
|
|
3030
|
+
"application/json": components["schemas"]["DesktopControlStatus"];
|
|
3031
|
+
};
|
|
3032
|
+
};
|
|
3033
|
+
"4XX": components["responses"]["Error"];
|
|
3034
|
+
"5XX": components["responses"]["Error"];
|
|
3035
|
+
};
|
|
3036
|
+
};
|
|
3037
|
+
confirmDesktopAction: {
|
|
3038
|
+
parameters: {
|
|
3039
|
+
query?: never;
|
|
3040
|
+
header?: {
|
|
3041
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3042
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3043
|
+
};
|
|
3044
|
+
path: {
|
|
3045
|
+
desktop_session_id: string;
|
|
3046
|
+
pending_id: string;
|
|
3047
|
+
};
|
|
3048
|
+
cookie?: never;
|
|
3049
|
+
};
|
|
3050
|
+
requestBody: {
|
|
3051
|
+
content: {
|
|
3052
|
+
"application/json": components["schemas"]["DesktopGenerationRequest"];
|
|
3053
|
+
};
|
|
3054
|
+
};
|
|
3055
|
+
responses: {
|
|
3056
|
+
/** @description Success. */
|
|
3057
|
+
200: {
|
|
3058
|
+
headers: {
|
|
3059
|
+
[name: string]: unknown;
|
|
3060
|
+
};
|
|
3061
|
+
content: {
|
|
3062
|
+
"application/json": components["schemas"]["DesktopActionResult"];
|
|
3063
|
+
};
|
|
3064
|
+
};
|
|
3065
|
+
"4XX": components["responses"]["Error"];
|
|
3066
|
+
"5XX": components["responses"]["Error"];
|
|
3067
|
+
};
|
|
3068
|
+
};
|
|
3069
|
+
createDesktopSessionTicket: {
|
|
3070
|
+
parameters: {
|
|
3071
|
+
query?: never;
|
|
3072
|
+
header?: {
|
|
3073
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3074
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3075
|
+
};
|
|
3076
|
+
path: {
|
|
3077
|
+
desktop_session_id: string;
|
|
3078
|
+
};
|
|
3079
|
+
cookie?: never;
|
|
3080
|
+
};
|
|
3081
|
+
requestBody?: {
|
|
3082
|
+
content: {
|
|
3083
|
+
"application/json": components["schemas"]["CreateDesktopTicketRequest"];
|
|
3084
|
+
};
|
|
3085
|
+
};
|
|
3086
|
+
responses: {
|
|
3087
|
+
/** @description Success. */
|
|
3088
|
+
200: {
|
|
3089
|
+
headers: {
|
|
3090
|
+
[name: string]: unknown;
|
|
3091
|
+
};
|
|
3092
|
+
content: {
|
|
3093
|
+
"application/json": components["schemas"]["Ticket"];
|
|
3094
|
+
};
|
|
3095
|
+
};
|
|
3096
|
+
"4XX": components["responses"]["Error"];
|
|
3097
|
+
"5XX": components["responses"]["Error"];
|
|
3098
|
+
};
|
|
3099
|
+
};
|
|
3100
|
+
listTerminalSessions: {
|
|
3101
|
+
parameters: {
|
|
3102
|
+
query?: {
|
|
3103
|
+
machine_id?: string;
|
|
3104
|
+
};
|
|
3105
|
+
header?: {
|
|
3106
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3107
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3108
|
+
};
|
|
3109
|
+
path?: never;
|
|
3110
|
+
cookie?: never;
|
|
3111
|
+
};
|
|
3112
|
+
requestBody?: never;
|
|
3113
|
+
responses: {
|
|
3114
|
+
/** @description Success. */
|
|
3115
|
+
200: {
|
|
3116
|
+
headers: {
|
|
3117
|
+
[name: string]: unknown;
|
|
3118
|
+
};
|
|
3119
|
+
content: {
|
|
3120
|
+
"application/json": components["schemas"]["ListTerminalSession"];
|
|
3121
|
+
};
|
|
3122
|
+
};
|
|
3123
|
+
"4XX": components["responses"]["Error"];
|
|
3124
|
+
"5XX": components["responses"]["Error"];
|
|
3125
|
+
};
|
|
3126
|
+
};
|
|
3127
|
+
createTerminalSession: {
|
|
3128
|
+
parameters: {
|
|
3129
|
+
query?: never;
|
|
3130
|
+
header?: {
|
|
3131
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3132
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3133
|
+
/** @description Replays the first result of a create; the same key with another body is 409. */
|
|
3134
|
+
"Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
|
|
3135
|
+
};
|
|
3136
|
+
path?: never;
|
|
3137
|
+
cookie?: never;
|
|
3138
|
+
};
|
|
3139
|
+
requestBody: {
|
|
3140
|
+
content: {
|
|
3141
|
+
"application/json": components["schemas"]["CreateTerminalSessionExtensionRequest"];
|
|
3142
|
+
};
|
|
3143
|
+
};
|
|
3144
|
+
responses: {
|
|
3145
|
+
/** @description Success. */
|
|
3146
|
+
200: {
|
|
3147
|
+
headers: {
|
|
3148
|
+
[name: string]: unknown;
|
|
3149
|
+
};
|
|
3150
|
+
content: {
|
|
3151
|
+
"application/json": components["schemas"]["TerminalSession"];
|
|
3152
|
+
};
|
|
3153
|
+
};
|
|
3154
|
+
"4XX": components["responses"]["Error"];
|
|
3155
|
+
"5XX": components["responses"]["Error"];
|
|
3156
|
+
};
|
|
3157
|
+
};
|
|
3158
|
+
getTerminalSession: {
|
|
3159
|
+
parameters: {
|
|
3160
|
+
query?: never;
|
|
3161
|
+
header?: {
|
|
3162
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3163
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3164
|
+
};
|
|
3165
|
+
path: {
|
|
3166
|
+
terminal_session_id: string;
|
|
3167
|
+
};
|
|
3168
|
+
cookie?: never;
|
|
3169
|
+
};
|
|
3170
|
+
requestBody?: never;
|
|
3171
|
+
responses: {
|
|
3172
|
+
/** @description Success. */
|
|
3173
|
+
200: {
|
|
3174
|
+
headers: {
|
|
3175
|
+
[name: string]: unknown;
|
|
3176
|
+
};
|
|
3177
|
+
content: {
|
|
3178
|
+
"application/json": components["schemas"]["TerminalSession"];
|
|
3179
|
+
};
|
|
3180
|
+
};
|
|
3181
|
+
"4XX": components["responses"]["Error"];
|
|
3182
|
+
"5XX": components["responses"]["Error"];
|
|
3183
|
+
};
|
|
3184
|
+
};
|
|
3185
|
+
closeTerminalSession: {
|
|
3186
|
+
parameters: {
|
|
3187
|
+
query?: never;
|
|
3188
|
+
header?: {
|
|
3189
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3190
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3191
|
+
};
|
|
3192
|
+
path: {
|
|
3193
|
+
terminal_session_id: string;
|
|
3194
|
+
};
|
|
3195
|
+
cookie?: never;
|
|
3196
|
+
};
|
|
3197
|
+
requestBody?: never;
|
|
3198
|
+
responses: {
|
|
3199
|
+
/** @description Success. */
|
|
3200
|
+
200: {
|
|
3201
|
+
headers: {
|
|
3202
|
+
[name: string]: unknown;
|
|
3203
|
+
};
|
|
3204
|
+
content: {
|
|
3205
|
+
"application/json": components["schemas"]["TerminalSession"];
|
|
3206
|
+
};
|
|
3207
|
+
};
|
|
3208
|
+
"4XX": components["responses"]["Error"];
|
|
3209
|
+
"5XX": components["responses"]["Error"];
|
|
3210
|
+
};
|
|
3211
|
+
};
|
|
3212
|
+
createTerminalSessionTicket: {
|
|
3213
|
+
parameters: {
|
|
3214
|
+
query?: never;
|
|
3215
|
+
header?: {
|
|
3216
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3217
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3218
|
+
/** @description Replays the first result of a create; the same key with another body is 409. */
|
|
3219
|
+
"Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
|
|
3220
|
+
};
|
|
3221
|
+
path: {
|
|
3222
|
+
terminal_session_id: string;
|
|
3223
|
+
};
|
|
3224
|
+
cookie?: never;
|
|
3225
|
+
};
|
|
3226
|
+
requestBody?: {
|
|
3227
|
+
content: {
|
|
3228
|
+
"application/json": components["schemas"]["CreateTicketRequest"];
|
|
3229
|
+
};
|
|
3230
|
+
};
|
|
3231
|
+
responses: {
|
|
3232
|
+
/** @description Success. */
|
|
3233
|
+
200: {
|
|
3234
|
+
headers: {
|
|
3235
|
+
[name: string]: unknown;
|
|
3236
|
+
};
|
|
3237
|
+
content: {
|
|
3238
|
+
"application/json": components["schemas"]["Ticket"];
|
|
3239
|
+
};
|
|
3240
|
+
};
|
|
3241
|
+
"4XX": components["responses"]["Error"];
|
|
3242
|
+
"5XX": components["responses"]["Error"];
|
|
3243
|
+
};
|
|
3244
|
+
};
|
|
3245
|
+
listVaults: {
|
|
3246
|
+
parameters: {
|
|
3247
|
+
query?: {
|
|
3248
|
+
limit?: components["parameters"]["Limit"];
|
|
3249
|
+
/** @description Opaque cursor from `next_page`. */
|
|
3250
|
+
page?: components["parameters"]["Page"];
|
|
3251
|
+
/** @description Include archived records. Defaults to false. */
|
|
3252
|
+
include_archived?: components["parameters"]["IncludeArchived"];
|
|
3253
|
+
};
|
|
3254
|
+
header?: {
|
|
3255
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3256
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3257
|
+
};
|
|
3258
|
+
path?: never;
|
|
3259
|
+
cookie?: never;
|
|
3260
|
+
};
|
|
3261
|
+
requestBody?: never;
|
|
3262
|
+
responses: {
|
|
3263
|
+
/** @description Success. */
|
|
3264
|
+
200: {
|
|
3265
|
+
headers: {
|
|
3266
|
+
[name: string]: unknown;
|
|
3267
|
+
};
|
|
3268
|
+
content: {
|
|
3269
|
+
"application/json": components["schemas"]["ListVault"];
|
|
3270
|
+
};
|
|
3271
|
+
};
|
|
3272
|
+
"4XX": components["responses"]["Error"];
|
|
3273
|
+
"5XX": components["responses"]["Error"];
|
|
3274
|
+
};
|
|
3275
|
+
};
|
|
3276
|
+
createVault: {
|
|
3277
|
+
parameters: {
|
|
3278
|
+
query?: never;
|
|
3279
|
+
header?: {
|
|
3280
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3281
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3282
|
+
/** @description Replays the first result of a create; the same key with another body is 409. */
|
|
3283
|
+
"Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
|
|
3284
|
+
};
|
|
3285
|
+
path?: never;
|
|
3286
|
+
cookie?: never;
|
|
3287
|
+
};
|
|
3288
|
+
requestBody: {
|
|
3289
|
+
content: {
|
|
3290
|
+
"application/json": components["schemas"]["VaultCreateRequest"];
|
|
3291
|
+
};
|
|
3292
|
+
};
|
|
3293
|
+
responses: {
|
|
3294
|
+
/** @description Success. */
|
|
3295
|
+
200: {
|
|
3296
|
+
headers: {
|
|
3297
|
+
[name: string]: unknown;
|
|
3298
|
+
};
|
|
3299
|
+
content: {
|
|
3300
|
+
"application/json": components["schemas"]["Vault"];
|
|
3301
|
+
};
|
|
3302
|
+
};
|
|
3303
|
+
"4XX": components["responses"]["Error"];
|
|
3304
|
+
"5XX": components["responses"]["Error"];
|
|
3305
|
+
};
|
|
3306
|
+
};
|
|
3307
|
+
getVault: {
|
|
3308
|
+
parameters: {
|
|
3309
|
+
query?: never;
|
|
3310
|
+
header?: {
|
|
3311
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3312
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3313
|
+
};
|
|
3314
|
+
path: {
|
|
3315
|
+
vault_id: string;
|
|
3316
|
+
};
|
|
3317
|
+
cookie?: never;
|
|
3318
|
+
};
|
|
3319
|
+
requestBody?: never;
|
|
3320
|
+
responses: {
|
|
3321
|
+
/** @description Success. */
|
|
3322
|
+
200: {
|
|
3323
|
+
headers: {
|
|
3324
|
+
[name: string]: unknown;
|
|
3325
|
+
};
|
|
3326
|
+
content: {
|
|
3327
|
+
"application/json": components["schemas"]["Vault"];
|
|
3328
|
+
};
|
|
3329
|
+
};
|
|
3330
|
+
"4XX": components["responses"]["Error"];
|
|
3331
|
+
"5XX": components["responses"]["Error"];
|
|
3332
|
+
};
|
|
3333
|
+
};
|
|
3334
|
+
updateVault: {
|
|
3335
|
+
parameters: {
|
|
3336
|
+
query?: never;
|
|
3337
|
+
header?: {
|
|
3338
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3339
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3340
|
+
};
|
|
3341
|
+
path: {
|
|
3342
|
+
vault_id: string;
|
|
3343
|
+
};
|
|
3344
|
+
cookie?: never;
|
|
3345
|
+
};
|
|
3346
|
+
requestBody: {
|
|
3347
|
+
content: {
|
|
3348
|
+
"application/json": components["schemas"]["VaultUpdateRequest"];
|
|
3349
|
+
};
|
|
3350
|
+
};
|
|
3351
|
+
responses: {
|
|
3352
|
+
/** @description Success. */
|
|
3353
|
+
200: {
|
|
3354
|
+
headers: {
|
|
3355
|
+
[name: string]: unknown;
|
|
3356
|
+
};
|
|
3357
|
+
content: {
|
|
3358
|
+
"application/json": components["schemas"]["Vault"];
|
|
3359
|
+
};
|
|
3360
|
+
};
|
|
3361
|
+
"4XX": components["responses"]["Error"];
|
|
3362
|
+
"5XX": components["responses"]["Error"];
|
|
3363
|
+
};
|
|
3364
|
+
};
|
|
3365
|
+
deleteVault: {
|
|
3366
|
+
parameters: {
|
|
3367
|
+
query?: never;
|
|
3368
|
+
header?: {
|
|
3369
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3370
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3371
|
+
};
|
|
3372
|
+
path: {
|
|
3373
|
+
vault_id: string;
|
|
3374
|
+
};
|
|
3375
|
+
cookie?: never;
|
|
3376
|
+
};
|
|
3377
|
+
requestBody?: never;
|
|
3378
|
+
responses: {
|
|
3379
|
+
/** @description Success. */
|
|
3380
|
+
200: {
|
|
3381
|
+
headers: {
|
|
3382
|
+
[name: string]: unknown;
|
|
3383
|
+
};
|
|
3384
|
+
content: {
|
|
3385
|
+
"application/json": components["schemas"]["VaultDeleted"];
|
|
3386
|
+
};
|
|
3387
|
+
};
|
|
3388
|
+
"4XX": components["responses"]["Error"];
|
|
3389
|
+
"5XX": components["responses"]["Error"];
|
|
3390
|
+
};
|
|
3391
|
+
};
|
|
3392
|
+
archiveVault: {
|
|
3393
|
+
parameters: {
|
|
3394
|
+
query?: never;
|
|
3395
|
+
header?: {
|
|
3396
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3397
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3398
|
+
};
|
|
3399
|
+
path: {
|
|
3400
|
+
vault_id: string;
|
|
3401
|
+
};
|
|
3402
|
+
cookie?: never;
|
|
3403
|
+
};
|
|
3404
|
+
requestBody?: {
|
|
3405
|
+
content: {
|
|
3406
|
+
"application/json": Record<string, never>;
|
|
3407
|
+
};
|
|
3408
|
+
};
|
|
3409
|
+
responses: {
|
|
3410
|
+
/** @description Success. */
|
|
3411
|
+
200: {
|
|
3412
|
+
headers: {
|
|
3413
|
+
[name: string]: unknown;
|
|
3414
|
+
};
|
|
3415
|
+
content: {
|
|
3416
|
+
"application/json": components["schemas"]["Vault"];
|
|
3417
|
+
};
|
|
3418
|
+
};
|
|
3419
|
+
"4XX": components["responses"]["Error"];
|
|
3420
|
+
"5XX": components["responses"]["Error"];
|
|
3421
|
+
};
|
|
3422
|
+
};
|
|
3423
|
+
listVaultCredentials: {
|
|
3424
|
+
parameters: {
|
|
3425
|
+
query?: {
|
|
3426
|
+
limit?: components["parameters"]["Limit"];
|
|
3427
|
+
/** @description Opaque cursor from `next_page`. */
|
|
3428
|
+
page?: components["parameters"]["Page"];
|
|
3429
|
+
/** @description Include archived records. Defaults to false. */
|
|
3430
|
+
include_archived?: components["parameters"]["IncludeArchived"];
|
|
3431
|
+
};
|
|
3432
|
+
header?: {
|
|
3433
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3434
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3435
|
+
};
|
|
3436
|
+
path: {
|
|
3437
|
+
vault_id: string;
|
|
3438
|
+
};
|
|
3439
|
+
cookie?: never;
|
|
3440
|
+
};
|
|
3441
|
+
requestBody?: never;
|
|
3442
|
+
responses: {
|
|
3443
|
+
/** @description Success. */
|
|
3444
|
+
200: {
|
|
3445
|
+
headers: {
|
|
3446
|
+
[name: string]: unknown;
|
|
3447
|
+
};
|
|
3448
|
+
content: {
|
|
3449
|
+
"application/json": components["schemas"]["ListVaultCredential"];
|
|
3450
|
+
};
|
|
3451
|
+
};
|
|
3452
|
+
"4XX": components["responses"]["Error"];
|
|
3453
|
+
"5XX": components["responses"]["Error"];
|
|
3454
|
+
};
|
|
3455
|
+
};
|
|
3456
|
+
createVaultCredential: {
|
|
3457
|
+
parameters: {
|
|
3458
|
+
query?: never;
|
|
3459
|
+
header?: {
|
|
3460
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3461
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3462
|
+
/** @description Replays the first result of a create; the same key with another body is 409. */
|
|
3463
|
+
"Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
|
|
3464
|
+
};
|
|
3465
|
+
path: {
|
|
3466
|
+
vault_id: string;
|
|
3467
|
+
};
|
|
3468
|
+
cookie?: never;
|
|
3469
|
+
};
|
|
3470
|
+
requestBody: {
|
|
3471
|
+
content: {
|
|
3472
|
+
"application/json": components["schemas"]["VaultCredentialCreateRequest"];
|
|
3473
|
+
};
|
|
3474
|
+
};
|
|
3475
|
+
responses: {
|
|
3476
|
+
/** @description Success. */
|
|
3477
|
+
200: {
|
|
3478
|
+
headers: {
|
|
3479
|
+
[name: string]: unknown;
|
|
3480
|
+
};
|
|
3481
|
+
content: {
|
|
3482
|
+
"application/json": components["schemas"]["VaultCredential"];
|
|
3483
|
+
};
|
|
3484
|
+
};
|
|
3485
|
+
"4XX": components["responses"]["Error"];
|
|
3486
|
+
"5XX": components["responses"]["Error"];
|
|
3487
|
+
};
|
|
3488
|
+
};
|
|
3489
|
+
getVaultCredential: {
|
|
3490
|
+
parameters: {
|
|
3491
|
+
query?: never;
|
|
3492
|
+
header?: {
|
|
3493
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3494
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3495
|
+
};
|
|
3496
|
+
path: {
|
|
3497
|
+
vault_id: string;
|
|
3498
|
+
credential_id: string;
|
|
3499
|
+
};
|
|
3500
|
+
cookie?: never;
|
|
3501
|
+
};
|
|
3502
|
+
requestBody?: never;
|
|
3503
|
+
responses: {
|
|
3504
|
+
/** @description Success. */
|
|
3505
|
+
200: {
|
|
3506
|
+
headers: {
|
|
3507
|
+
[name: string]: unknown;
|
|
3508
|
+
};
|
|
3509
|
+
content: {
|
|
3510
|
+
"application/json": components["schemas"]["VaultCredential"];
|
|
3511
|
+
};
|
|
3512
|
+
};
|
|
3513
|
+
"4XX": components["responses"]["Error"];
|
|
3514
|
+
"5XX": components["responses"]["Error"];
|
|
3515
|
+
};
|
|
3516
|
+
};
|
|
3517
|
+
updateVaultCredential: {
|
|
3518
|
+
parameters: {
|
|
3519
|
+
query?: never;
|
|
3520
|
+
header?: {
|
|
3521
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3522
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3523
|
+
};
|
|
3524
|
+
path: {
|
|
3525
|
+
vault_id: string;
|
|
3526
|
+
credential_id: string;
|
|
3527
|
+
};
|
|
3528
|
+
cookie?: never;
|
|
3529
|
+
};
|
|
3530
|
+
requestBody: {
|
|
3531
|
+
content: {
|
|
3532
|
+
"application/json": components["schemas"]["VaultCredentialUpdateRequest"];
|
|
3533
|
+
};
|
|
3534
|
+
};
|
|
3535
|
+
responses: {
|
|
3536
|
+
/** @description Success. */
|
|
3537
|
+
200: {
|
|
3538
|
+
headers: {
|
|
3539
|
+
[name: string]: unknown;
|
|
3540
|
+
};
|
|
3541
|
+
content: {
|
|
3542
|
+
"application/json": components["schemas"]["VaultCredential"];
|
|
3543
|
+
};
|
|
3544
|
+
};
|
|
3545
|
+
"4XX": components["responses"]["Error"];
|
|
3546
|
+
"5XX": components["responses"]["Error"];
|
|
3547
|
+
};
|
|
3548
|
+
};
|
|
3549
|
+
deleteVaultCredential: {
|
|
3550
|
+
parameters: {
|
|
3551
|
+
query?: never;
|
|
3552
|
+
header?: {
|
|
3553
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3554
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3555
|
+
};
|
|
3556
|
+
path: {
|
|
3557
|
+
vault_id: string;
|
|
3558
|
+
credential_id: string;
|
|
3559
|
+
};
|
|
3560
|
+
cookie?: never;
|
|
3561
|
+
};
|
|
3562
|
+
requestBody?: never;
|
|
3563
|
+
responses: {
|
|
3564
|
+
/** @description Success. */
|
|
3565
|
+
200: {
|
|
3566
|
+
headers: {
|
|
3567
|
+
[name: string]: unknown;
|
|
3568
|
+
};
|
|
3569
|
+
content: {
|
|
3570
|
+
"application/json": components["schemas"]["VaultCredentialDeleted"];
|
|
3571
|
+
};
|
|
3572
|
+
};
|
|
3573
|
+
"4XX": components["responses"]["Error"];
|
|
3574
|
+
"5XX": components["responses"]["Error"];
|
|
3575
|
+
};
|
|
3576
|
+
};
|
|
3577
|
+
archiveVaultCredential: {
|
|
3578
|
+
parameters: {
|
|
3579
|
+
query?: never;
|
|
3580
|
+
header?: {
|
|
3581
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3582
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3583
|
+
};
|
|
3584
|
+
path: {
|
|
3585
|
+
vault_id: string;
|
|
3586
|
+
credential_id: string;
|
|
3587
|
+
};
|
|
3588
|
+
cookie?: never;
|
|
3589
|
+
};
|
|
3590
|
+
requestBody?: {
|
|
3591
|
+
content: {
|
|
3592
|
+
"application/json": Record<string, never>;
|
|
3593
|
+
};
|
|
3594
|
+
};
|
|
3595
|
+
responses: {
|
|
3596
|
+
/** @description Success. */
|
|
3597
|
+
200: {
|
|
3598
|
+
headers: {
|
|
3599
|
+
[name: string]: unknown;
|
|
3600
|
+
};
|
|
3601
|
+
content: {
|
|
3602
|
+
"application/json": components["schemas"]["VaultCredential"];
|
|
3603
|
+
};
|
|
3604
|
+
};
|
|
3605
|
+
"4XX": components["responses"]["Error"];
|
|
3606
|
+
"5XX": components["responses"]["Error"];
|
|
3607
|
+
};
|
|
3608
|
+
};
|
|
3609
|
+
listSkills: {
|
|
3610
|
+
parameters: {
|
|
3611
|
+
query?: {
|
|
3612
|
+
limit?: components["parameters"]["Limit"];
|
|
3613
|
+
/** @description Opaque cursor from `next_page`. */
|
|
3614
|
+
page?: components["parameters"]["Page"];
|
|
3615
|
+
source?: string;
|
|
3616
|
+
sort?: string;
|
|
3617
|
+
owner_kind?: string;
|
|
3618
|
+
owner_project_id?: string;
|
|
3619
|
+
};
|
|
3620
|
+
header?: {
|
|
3621
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3622
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3623
|
+
};
|
|
3624
|
+
path?: never;
|
|
3625
|
+
cookie?: never;
|
|
3626
|
+
};
|
|
3627
|
+
requestBody?: never;
|
|
3628
|
+
responses: {
|
|
3629
|
+
/** @description Success. */
|
|
3630
|
+
200: {
|
|
3631
|
+
headers: {
|
|
3632
|
+
[name: string]: unknown;
|
|
3633
|
+
};
|
|
3634
|
+
content: {
|
|
3635
|
+
"application/json": components["schemas"]["ListSkill"];
|
|
3636
|
+
};
|
|
3637
|
+
};
|
|
3638
|
+
"4XX": components["responses"]["Error"];
|
|
3639
|
+
"5XX": components["responses"]["Error"];
|
|
3640
|
+
};
|
|
3641
|
+
};
|
|
3642
|
+
createSkill: {
|
|
3643
|
+
parameters: {
|
|
3644
|
+
query?: never;
|
|
3645
|
+
header?: {
|
|
3646
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3647
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3648
|
+
/** @description Replays the first result of a create; the same key with another body is 409. */
|
|
3649
|
+
"Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
|
|
3650
|
+
};
|
|
3651
|
+
path?: never;
|
|
3652
|
+
cookie?: never;
|
|
3653
|
+
};
|
|
3654
|
+
requestBody: {
|
|
3655
|
+
content: {
|
|
3656
|
+
"multipart/form-data": components["schemas"]["SkillUploadRequest"];
|
|
3657
|
+
};
|
|
3658
|
+
};
|
|
3659
|
+
responses: {
|
|
3660
|
+
/** @description Success. */
|
|
3661
|
+
200: {
|
|
3662
|
+
headers: {
|
|
3663
|
+
[name: string]: unknown;
|
|
3664
|
+
};
|
|
3665
|
+
content: {
|
|
3666
|
+
"application/json": components["schemas"]["Skill"];
|
|
3667
|
+
};
|
|
3668
|
+
};
|
|
3669
|
+
"4XX": components["responses"]["Error"];
|
|
3670
|
+
"5XX": components["responses"]["Error"];
|
|
3671
|
+
};
|
|
3672
|
+
};
|
|
3673
|
+
getSkill: {
|
|
3674
|
+
parameters: {
|
|
3675
|
+
query?: never;
|
|
3676
|
+
header?: {
|
|
3677
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3678
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3679
|
+
};
|
|
3680
|
+
path: {
|
|
3681
|
+
skill_id: string;
|
|
3682
|
+
};
|
|
3683
|
+
cookie?: never;
|
|
3684
|
+
};
|
|
3685
|
+
requestBody?: never;
|
|
3686
|
+
responses: {
|
|
3687
|
+
/** @description Success. */
|
|
3688
|
+
200: {
|
|
3689
|
+
headers: {
|
|
3690
|
+
[name: string]: unknown;
|
|
3691
|
+
};
|
|
3692
|
+
content: {
|
|
3693
|
+
"application/json": components["schemas"]["Skill"];
|
|
3694
|
+
};
|
|
3695
|
+
};
|
|
3696
|
+
"4XX": components["responses"]["Error"];
|
|
3697
|
+
"5XX": components["responses"]["Error"];
|
|
3698
|
+
};
|
|
3699
|
+
};
|
|
3700
|
+
deleteSkill: {
|
|
3701
|
+
parameters: {
|
|
3702
|
+
query?: never;
|
|
3703
|
+
header?: {
|
|
3704
|
+
/** @description Project scope. Required when the API key can access more than one project (alias: anthropic-workspace-id). */
|
|
3705
|
+
"x-bma-project-id"?: components["parameters"]["ProjectHeader"];
|
|
3706
|
+
};
|
|
3707
|
+
path: {
|
|
3708
|
+
skill_id: string;
|
|
3709
|
+
};
|
|
3710
|
+
cookie?: never;
|
|
3711
|
+
};
|
|
3712
|
+
requestBody?: never;
|
|
3713
|
+
responses: {
|
|
3714
|
+
/** @description Success. */
|
|
3715
|
+
200: {
|
|
3716
|
+
headers: {
|
|
3717
|
+
[name: string]: unknown;
|
|
3718
|
+
};
|
|
3719
|
+
content: {
|
|
3720
|
+
"application/json": components["schemas"]["SkillDeleted"];
|
|
3721
|
+
};
|
|
3722
|
+
};
|
|
3723
|
+
"4XX": components["responses"]["Error"];
|
|
3724
|
+
"5XX": components["responses"]["Error"];
|
|
3725
|
+
};
|
|
3726
|
+
};
|
|
3727
|
+
}
|