@aexhq/sdk 0.51.0 → 0.53.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.
Files changed (37) hide show
  1. package/README.md +99 -41
  2. package/dist/client/aex.d.ts +6 -1
  3. package/dist/client/aex.js +51 -10
  4. package/dist/client/aex.js.map +1 -1
  5. package/dist/client/credentials.d.ts +3 -3
  6. package/dist/client/credentials.js +8 -8
  7. package/dist/client/credentials.js.map +1 -1
  8. package/dist/client/routing.d.ts +1 -1
  9. package/dist/client/routing.js +2 -5
  10. package/dist/client/routing.js.map +1 -1
  11. package/dist/files/workspace-files.d.ts +55 -0
  12. package/dist/files/workspace-files.js +150 -0
  13. package/dist/files/workspace-files.js.map +1 -0
  14. package/dist/generated/errors.js +2 -18
  15. package/dist/generated/errors.js.map +1 -1
  16. package/dist/generated/models.d.ts +248 -796
  17. package/dist/generated/models.js +4 -4
  18. package/dist/generated/models.js.map +1 -1
  19. package/dist/generated/resources.d.ts +72 -519
  20. package/dist/generated/resources.js +49 -428
  21. package/dist/generated/resources.js.map +1 -1
  22. package/dist/generated/routes.d.ts +4 -4
  23. package/dist/generated/routes.js +190 -1600
  24. package/dist/generated/routes.js.map +1 -1
  25. package/dist/index.d.ts +4 -2
  26. package/dist/index.js +2 -1
  27. package/dist/index.js.map +1 -1
  28. package/dist/transport/transport.d.ts +9 -1
  29. package/dist/transport/transport.js +79 -1
  30. package/dist/transport/transport.js.map +1 -1
  31. package/package.json +1 -5
  32. package/dist/node/session-file-limits.d.ts +0 -4
  33. package/dist/node/session-file-limits.js +0 -7
  34. package/dist/node/session-file-limits.js.map +0 -1
  35. package/dist/node/session-files.d.ts +0 -80
  36. package/dist/node/session-files.js +0 -254
  37. package/dist/node/session-files.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  // @generated by aex-contract-gen; DO NOT EDIT.
2
- // Contract digest: sha256:dddf87f6715de38e24d77e348f34f1d066254b797719a09a995d660373335a66
2
+ // Contract digest: sha256:e7f95cd7fc830a0871b1276cde9ae11e4245d0b843cd3dba567e133e551e051f
3
3
  /**
4
4
  * The public route table, projected from the authored contract.
5
5
  *
@@ -9,23 +9,8 @@
9
9
  * is not what the contract produces.
10
10
  */
11
11
  /** The contract the table below was projected from. */
12
- export const CONTRACT_DIGEST = "sha256:dddf87f6715de38e24d77e348f34f1d066254b797719a09a995d660373335a66";
12
+ export const CONTRACT_DIGEST = "sha256:e7f95cd7fc830a0871b1276cde9ae11e4245d0b843cd3dba567e133e551e051f";
13
13
  export const ROUTES = Object.freeze({
14
- /** `GET /api/account` — Read the account and its operational state. */
15
- account_get: {
16
- id: "account_get",
17
- method: "GET",
18
- path: "/api/account",
19
- plane: "central",
20
- safeRetry: true,
21
- idempotency: "none",
22
- transport: "unary",
23
- bodyClass: "none",
24
- pathParams: [],
25
- queryParams: ["organizationId"],
26
- pauseExempt: true,
27
- deferred: false,
28
- },
29
14
  /** `POST /api/api-keys` — Mint a workspace API key whose value is returned once. */
30
15
  api_key_create: {
31
16
  id: "api_key_create",
@@ -71,37 +56,7 @@ export const ROUTES = Object.freeze({
71
56
  pauseExempt: false,
72
57
  deferred: false,
73
58
  },
74
- /** `GET /api/organizations/{organizationId}/billing/auto-topup-policy` — Read the automatic top-up policy. */
75
- billing_auto_topup_policy_get: {
76
- id: "billing_auto_topup_policy_get",
77
- method: "GET",
78
- path: "/api/organizations/{organizationId}/billing/auto-topup-policy",
79
- plane: "central",
80
- safeRetry: true,
81
- idempotency: "none",
82
- transport: "unary",
83
- bodyClass: "none",
84
- pathParams: ["organizationId"],
85
- queryParams: [],
86
- pauseExempt: true,
87
- deferred: false,
88
- },
89
- /** `PUT /api/organizations/{organizationId}/billing/auto-topup-policy` — Replace the automatic top-up policy. */
90
- billing_auto_topup_policy_put: {
91
- id: "billing_auto_topup_policy_put",
92
- method: "PUT",
93
- path: "/api/organizations/{organizationId}/billing/auto-topup-policy",
94
- plane: "central",
95
- safeRetry: false,
96
- idempotency: "idempotency_key",
97
- transport: "unary",
98
- bodyClass: "aex_json",
99
- pathParams: ["organizationId"],
100
- queryParams: [],
101
- pauseExempt: true,
102
- deferred: false,
103
- },
104
- /** `GET /api/billing/balance` — Read the prepaid balance of an organization. */
59
+ /** `GET /api/billing/balance` — Read the caller's prepaid balance and active reservations. */
105
60
  billing_balance_get: {
106
61
  id: "billing_balance_get",
107
62
  method: "GET",
@@ -112,128 +67,98 @@ export const ROUTES = Object.freeze({
112
67
  transport: "unary",
113
68
  bodyClass: "none",
114
69
  pathParams: [],
115
- queryParams: ["organizationId"],
70
+ queryParams: [],
116
71
  pauseExempt: true,
117
72
  deferred: false,
118
73
  },
119
- /** `POST /api/organizations/{organizationId}/billing/portal-sessions` — Create a hosted billing portal session. */
120
- billing_portal_session_create: {
121
- id: "billing_portal_session_create",
122
- method: "POST",
123
- path: "/api/organizations/{organizationId}/billing/portal-sessions",
74
+ /** `DELETE /api/billing/payment-methods/{paymentMethodId}` — Detach a card owned by the caller's account. */
75
+ billing_payment_method_delete: {
76
+ id: "billing_payment_method_delete",
77
+ method: "DELETE",
78
+ path: "/api/billing/payment-methods/{paymentMethodId}",
124
79
  plane: "central",
125
80
  safeRetry: false,
126
81
  idempotency: "idempotency_key",
127
82
  transport: "unary",
128
- bodyClass: "aex_json",
129
- pathParams: ["organizationId"],
83
+ bodyClass: "none",
84
+ pathParams: ["paymentMethodId"],
130
85
  queryParams: [],
131
86
  pauseExempt: true,
132
87
  deferred: false,
133
88
  },
134
- /** `POST /api/organizations/{organizationId}/billing/statements/{statementId}/downloads` — Mint a download grant for an issued statement. */
135
- billing_statement_download_create: {
136
- id: "billing_statement_download_create",
89
+ /** `POST /api/billing/payment-method-sessions` — Create a Stripe-hosted card setup session with explicit consent. */
90
+ billing_payment_method_session_create: {
91
+ id: "billing_payment_method_session_create",
137
92
  method: "POST",
138
- path: "/api/organizations/{organizationId}/billing/statements/{statementId}/downloads",
93
+ path: "/api/billing/payment-method-sessions",
139
94
  plane: "central",
140
95
  safeRetry: false,
141
96
  idempotency: "idempotency_key",
142
97
  transport: "unary",
143
98
  bodyClass: "aex_json",
144
- pathParams: ["organizationId", "statementId"],
99
+ pathParams: [],
145
100
  queryParams: [],
146
101
  pauseExempt: true,
147
102
  deferred: false,
148
103
  },
149
- /** `GET /api/organizations/{organizationId}/billing/statements/{statementId}` — Read one immutable issued statement. */
150
- billing_statement_get: {
151
- id: "billing_statement_get",
104
+ /** `GET /api/billing/payment-methods` — List card display metadata for the caller's account. */
105
+ billing_payment_methods_list: {
106
+ id: "billing_payment_methods_list",
152
107
  method: "GET",
153
- path: "/api/organizations/{organizationId}/billing/statements/{statementId}",
108
+ path: "/api/billing/payment-methods",
154
109
  plane: "central",
155
110
  safeRetry: true,
156
111
  idempotency: "none",
157
112
  transport: "unary",
158
113
  bodyClass: "none",
159
- pathParams: ["organizationId", "statementId"],
114
+ pathParams: [],
160
115
  queryParams: [],
161
116
  pauseExempt: true,
162
117
  deferred: false,
163
118
  },
164
- /** `GET /api/organizations/{organizationId}/billing/statements` — List issued statements, newest first. */
165
- billing_statements_list: {
166
- id: "billing_statements_list",
167
- method: "GET",
168
- path: "/api/organizations/{organizationId}/billing/statements",
169
- plane: "central",
170
- safeRetry: true,
171
- idempotency: "none",
172
- transport: "unary",
173
- bodyClass: "none",
174
- pathParams: ["organizationId"],
175
- queryParams: ["cursor", "limit"],
176
- pauseExempt: true,
177
- deferred: false,
178
- },
179
- /** `POST /api/organizations/{organizationId}/billing/top-up-checkouts` — Create a hosted top-up checkout. */
119
+ /** `POST /api/billing/top-up-checkouts` — Create a one-time Stripe-hosted prepaid top-up checkout. */
180
120
  billing_top_up_checkout_create: {
181
121
  id: "billing_top_up_checkout_create",
182
122
  method: "POST",
183
- path: "/api/organizations/{organizationId}/billing/top-up-checkouts",
123
+ path: "/api/billing/top-up-checkouts",
184
124
  plane: "central",
185
125
  safeRetry: false,
186
126
  idempotency: "idempotency_key",
187
127
  transport: "unary",
188
128
  bodyClass: "aex_json",
189
- pathParams: ["organizationId"],
190
- queryParams: [],
191
- pauseExempt: true,
192
- deferred: false,
193
- },
194
- /** `POST /api/operations/{operationId}/cancellations` — Request cancellation of a central operation. */
195
- central_operation_cancel: {
196
- id: "central_operation_cancel",
197
- method: "POST",
198
- path: "/api/operations/{operationId}/cancellations",
199
- plane: "central",
200
- safeRetry: false,
201
- idempotency: "none",
202
- transport: "unary",
203
- bodyClass: "aex_json",
204
- pathParams: ["operationId"],
129
+ pathParams: [],
205
130
  queryParams: [],
206
131
  pauseExempt: true,
207
132
  deferred: false,
208
133
  },
209
- /** `GET /api/operations/{operationId}` — Read one central durable operation. */
210
- central_operation_get: {
211
- id: "central_operation_get",
134
+ /** `GET /api/billing/transactions` — List immutable prepaid ledger transactions, newest first. */
135
+ billing_transactions_list: {
136
+ id: "billing_transactions_list",
212
137
  method: "GET",
213
- path: "/api/operations/{operationId}",
138
+ path: "/api/billing/transactions",
214
139
  plane: "central",
215
140
  safeRetry: true,
216
141
  idempotency: "none",
217
142
  transport: "unary",
218
143
  bodyClass: "none",
219
- pathParams: ["operationId"],
220
- queryParams: [],
144
+ pathParams: [],
145
+ queryParams: ["cursor", "limit"],
221
146
  pauseExempt: true,
222
147
  deferred: false,
223
148
  },
224
- /** `GET /api/operations` — List central durable operations for one organization. */
225
- central_operations_list: {
226
- id: "central_operations_list",
149
+ /** `GET /api/billing/usage` — Read bounded rated usage and its settlement coverage. */
150
+ billing_usage_get: {
151
+ id: "billing_usage_get",
227
152
  method: "GET",
228
- path: "/api/operations",
153
+ path: "/api/billing/usage",
229
154
  plane: "central",
230
155
  safeRetry: true,
231
156
  idempotency: "none",
232
157
  transport: "unary",
233
158
  bodyClass: "none",
234
159
  pathParams: [],
235
- queryParams: ["cursor", "kind", "limit", "organizationId", "status"],
236
- pauseExempt: false,
160
+ queryParams: ["category", "cursor", "from", "limit", "sessionId", "to"],
161
+ pauseExempt: true,
237
162
  deferred: false,
238
163
  },
239
164
  /** `GET /api/bootstrap` — One bounded read that fills the dashboard shell. */
@@ -281,1527 +206,282 @@ export const ROUTES = Object.freeze({
281
206
  pauseExempt: true,
282
207
  deferred: false,
283
208
  },
284
- /** `POST /api/auth/device/authorizations` — Begin the CLI device-authorization flow. */
285
- device_authorization_create: {
286
- id: "device_authorization_create",
287
- method: "POST",
288
- path: "/api/auth/device/authorizations",
289
- plane: "central",
209
+ /** `DELETE /api/files/{name}` — Delete one current workspace file. */
210
+ registry_files_delete: {
211
+ id: "registry_files_delete",
212
+ method: "DELETE",
213
+ path: "/api/files/{name}",
214
+ plane: "regional",
290
215
  safeRetry: false,
291
- idempotency: "idempotency_key",
216
+ idempotency: "none",
292
217
  transport: "unary",
293
- bodyClass: "aex_json",
294
- pathParams: [],
218
+ bodyClass: "none",
219
+ pathParams: ["name"],
295
220
  queryParams: [],
296
221
  pauseExempt: true,
297
222
  deferred: false,
298
223
  },
299
- /** `POST /api/auth/device/decisions` — Approve or deny a pending device authorization. */
300
- device_decision_create: {
301
- id: "device_decision_create",
224
+ /** `POST /api/files/{name}/downloads` — Mint a download grant for a ready current workspace file. */
225
+ registry_files_download_create: {
226
+ id: "registry_files_download_create",
302
227
  method: "POST",
303
- path: "/api/auth/device/decisions",
304
- plane: "central",
228
+ path: "/api/files/{name}/downloads",
229
+ plane: "regional",
305
230
  safeRetry: false,
306
- idempotency: "none",
231
+ idempotency: "idempotency_key",
307
232
  transport: "unary",
308
233
  bodyClass: "aex_json",
309
- pathParams: [],
234
+ pathParams: ["name"],
310
235
  queryParams: [],
311
- pauseExempt: true,
236
+ pauseExempt: false,
312
237
  deferred: false,
313
238
  },
314
- /** `POST /api/auth/device/tokens` — Exchange an approved device code for an account token. */
315
- device_token_create: {
316
- id: "device_token_create",
317
- method: "POST",
318
- path: "/api/auth/device/tokens",
319
- plane: "central",
239
+ /** `GET /api/files/{name}` — Read one current workspace file. */
240
+ registry_files_get: {
241
+ id: "registry_files_get",
242
+ method: "GET",
243
+ path: "/api/files/{name}",
244
+ plane: "regional",
320
245
  safeRetry: true,
321
246
  idempotency: "none",
322
247
  transport: "unary",
323
- bodyClass: "aex_json",
324
- pathParams: [],
248
+ bodyClass: "none",
249
+ pathParams: ["name"],
325
250
  queryParams: [],
326
- pauseExempt: true,
251
+ pauseExempt: false,
327
252
  deferred: false,
328
253
  },
329
- /** `POST /api/invitations/acceptances` — Redeem every pending invitation addressed to the caller's verified email. */
330
- invitation_accept: {
331
- id: "invitation_accept",
332
- method: "POST",
333
- path: "/api/invitations/acceptances",
334
- plane: "central",
254
+ /** `GET /api/files` — List current workspace files. */
255
+ registry_files_list: {
256
+ id: "registry_files_list",
257
+ method: "GET",
258
+ path: "/api/files",
259
+ plane: "regional",
335
260
  safeRetry: true,
336
261
  idempotency: "none",
337
262
  transport: "unary",
338
- bodyClass: "aex_json",
263
+ bodyClass: "none",
339
264
  pathParams: [],
340
- queryParams: [],
265
+ queryParams: ["cursor", "limit"],
341
266
  pauseExempt: false,
342
267
  deferred: false,
343
268
  },
344
- /** `POST /api/organizations/{organizationId}/invitations` — Invite a person to the organization. */
345
- invitation_create: {
346
- id: "invitation_create",
347
- method: "POST",
348
- path: "/api/organizations/{organizationId}/invitations",
349
- plane: "central",
269
+ /** `PUT /api/files/{name}` — Replace one current workspace file from inline bytes or an HTTPS URL. */
270
+ registry_files_put: {
271
+ id: "registry_files_put",
272
+ method: "PUT",
273
+ path: "/api/files/{name}",
274
+ plane: "regional",
350
275
  safeRetry: false,
351
276
  idempotency: "idempotency_key",
352
277
  transport: "unary",
353
278
  bodyClass: "aex_json",
354
- pathParams: ["organizationId"],
279
+ pathParams: ["name"],
355
280
  queryParams: [],
356
281
  pauseExempt: false,
357
282
  deferred: false,
358
283
  },
359
- /** `GET /api/organizations/{organizationId}/memberships` — List the memberships of an organization. */
360
- memberships_list: {
361
- id: "memberships_list",
362
- method: "GET",
363
- path: "/api/organizations/{organizationId}/memberships",
364
- plane: "central",
365
- safeRetry: true,
366
- idempotency: "none",
284
+ /** `POST /api/sessions/{sessionId}/cancellations` — Cancel current work and return the session to idle. */
285
+ session_cancel: {
286
+ id: "session_cancel",
287
+ method: "POST",
288
+ path: "/api/sessions/{sessionId}/cancellations",
289
+ plane: "regional",
290
+ safeRetry: false,
291
+ idempotency: "operation_id",
367
292
  transport: "unary",
368
- bodyClass: "none",
369
- pathParams: ["organizationId"],
370
- queryParams: ["cursor", "limit"],
371
- pauseExempt: false,
293
+ bodyClass: "aex_json",
294
+ pathParams: ["sessionId"],
295
+ queryParams: [],
296
+ pauseExempt: true,
372
297
  deferred: false,
373
298
  },
374
- /** `POST /api/streams/events/listen` — Listen for new workspace events observations. */
375
- observations_events_listen: {
376
- id: "observations_events_listen",
299
+ /** `POST /api/sessions` — Create a durable session and eagerly prepare its default-on sandbox in the background. */
300
+ session_create: {
301
+ id: "session_create",
377
302
  method: "POST",
378
- path: "/api/streams/events/listen",
303
+ path: "/api/sessions",
379
304
  plane: "regional",
380
- safeRetry: true,
381
- idempotency: "none",
382
- transport: "ndjson",
305
+ safeRetry: false,
306
+ idempotency: "idempotency_key",
307
+ transport: "unary",
383
308
  bodyClass: "aex_json",
384
309
  pathParams: [],
385
310
  queryParams: [],
386
311
  pauseExempt: false,
387
312
  deferred: false,
388
313
  },
389
- /** `POST /api/observations/events/query` — Query workspace events observations. */
390
- observations_events_query: {
391
- id: "observations_events_query",
314
+ /** `POST /api/sessions/{sessionId}/deletions` — Irreversibly delete session-scoped user content; independent workspace files remain. */
315
+ session_delete: {
316
+ id: "session_delete",
392
317
  method: "POST",
393
- path: "/api/observations/events/query",
318
+ path: "/api/sessions/{sessionId}/deletions",
394
319
  plane: "regional",
395
- safeRetry: true,
396
- idempotency: "none",
320
+ safeRetry: false,
321
+ idempotency: "operation_id",
397
322
  transport: "unary",
398
323
  bodyClass: "aex_json",
399
- pathParams: [],
324
+ pathParams: ["sessionId"],
400
325
  queryParams: [],
401
- pauseExempt: false,
326
+ pauseExempt: true,
402
327
  deferred: false,
403
328
  },
404
- /** `POST /api/streams/events/stream` — Stream workspace events observations from one origin. */
405
- observations_events_stream: {
406
- id: "observations_events_stream",
407
- method: "POST",
408
- path: "/api/streams/events/stream",
329
+ /** `GET /api/sessions/{sessionId}` — Read durable session metadata and sandbox preparation state. */
330
+ session_get: {
331
+ id: "session_get",
332
+ method: "GET",
333
+ path: "/api/sessions/{sessionId}",
409
334
  plane: "regional",
410
335
  safeRetry: true,
411
336
  idempotency: "none",
412
- transport: "ndjson",
413
- bodyClass: "aex_json",
414
- pathParams: [],
337
+ transport: "unary",
338
+ bodyClass: "none",
339
+ pathParams: ["sessionId"],
415
340
  queryParams: [],
416
341
  pauseExempt: false,
417
342
  deferred: false,
418
343
  },
419
- /** `POST /api/streams/logs/listen` — Listen for new workspace logs observations. */
420
- observations_logs_listen: {
421
- id: "observations_logs_listen",
344
+ /** `POST /api/sessions/{sessionId}/messages` — Admit one text message; file paths are referenced in text, never attached. */
345
+ session_message_send: {
346
+ id: "session_message_send",
422
347
  method: "POST",
423
- path: "/api/streams/logs/listen",
348
+ path: "/api/sessions/{sessionId}/messages",
424
349
  plane: "regional",
425
- safeRetry: true,
426
- idempotency: "none",
427
- transport: "ndjson",
350
+ safeRetry: false,
351
+ idempotency: "idempotency_key",
352
+ transport: "unary",
428
353
  bodyClass: "aex_json",
429
- pathParams: [],
354
+ pathParams: ["sessionId"],
430
355
  queryParams: [],
431
356
  pauseExempt: false,
432
357
  deferred: false,
433
358
  },
434
- /** `POST /api/observations/logs/query` — Query workspace logs observations. */
435
- observations_logs_query: {
436
- id: "observations_logs_query",
437
- method: "POST",
438
- path: "/api/observations/logs/query",
359
+ /** `GET /api/sessions/{sessionId}/messages` — List complete committed messages in immutable seal order. */
360
+ session_messages_list: {
361
+ id: "session_messages_list",
362
+ method: "GET",
363
+ path: "/api/sessions/{sessionId}/messages",
439
364
  plane: "regional",
440
365
  safeRetry: true,
441
366
  idempotency: "none",
442
367
  transport: "unary",
443
- bodyClass: "aex_json",
444
- pathParams: [],
445
- queryParams: [],
368
+ bodyClass: "none",
369
+ pathParams: ["sessionId"],
370
+ queryParams: ["cursor", "limit"],
446
371
  pauseExempt: false,
447
372
  deferred: false,
448
373
  },
449
- /** `POST /api/streams/logs/stream` — Stream workspace logs observations from one origin. */
450
- observations_logs_stream: {
451
- id: "observations_logs_stream",
452
- method: "POST",
453
- path: "/api/streams/logs/stream",
374
+ /** `GET /api/sessions/{sessionId}/messages/stream` — Stream bounded assistant previews plus commit/reconcile/gap frames. */
375
+ session_messages_stream: {
376
+ id: "session_messages_stream",
377
+ method: "GET",
378
+ path: "/api/sessions/{sessionId}/messages/stream",
454
379
  plane: "regional",
455
380
  safeRetry: true,
456
381
  idempotency: "none",
457
382
  transport: "ndjson",
458
- bodyClass: "aex_json",
459
- pathParams: [],
460
- queryParams: [],
461
- pauseExempt: false,
383
+ bodyClass: "none",
384
+ pathParams: ["sessionId"],
385
+ queryParams: ["after"],
386
+ pauseExempt: true,
462
387
  deferred: false,
463
388
  },
464
- /** `POST /api/observations/metrics/aggregate` — Aggregate workspace metric observations. */
465
- observations_metrics_aggregate: {
466
- id: "observations_metrics_aggregate",
389
+ /** `POST /api/sessions/{sessionId}/telemetry/downloads` — Mint a short-lived download for a bounded retained telemetry export. */
390
+ session_telemetry_download_create: {
391
+ id: "session_telemetry_download_create",
467
392
  method: "POST",
468
- path: "/api/observations/metrics/aggregate",
393
+ path: "/api/sessions/{sessionId}/telemetry/downloads",
469
394
  plane: "regional",
470
- safeRetry: true,
471
- idempotency: "none",
395
+ safeRetry: false,
396
+ idempotency: "idempotency_key",
472
397
  transport: "unary",
473
398
  bodyClass: "aex_json",
474
- pathParams: [],
399
+ pathParams: ["sessionId"],
475
400
  queryParams: [],
476
401
  pauseExempt: false,
477
402
  deferred: false,
478
403
  },
479
- /** `POST /api/streams/metrics/listen` — Listen for new workspace metrics observations. */
480
- observations_metrics_listen: {
481
- id: "observations_metrics_listen",
482
- method: "POST",
483
- path: "/api/streams/metrics/listen",
404
+ /** `GET /api/sessions/{sessionId}/telemetry/replay` — Replay retained telemetry from compressed immutable S3 segments. */
405
+ session_telemetry_replay: {
406
+ id: "session_telemetry_replay",
407
+ method: "GET",
408
+ path: "/api/sessions/{sessionId}/telemetry/replay",
484
409
  plane: "regional",
485
410
  safeRetry: true,
486
411
  idempotency: "none",
487
412
  transport: "ndjson",
488
- bodyClass: "aex_json",
489
- pathParams: [],
490
- queryParams: [],
413
+ bodyClass: "none",
414
+ pathParams: ["sessionId"],
415
+ queryParams: ["after", "limit"],
491
416
  pauseExempt: false,
492
417
  deferred: false,
493
418
  },
494
- /** `POST /api/observations/metrics/query` — Query workspace metrics observations. */
495
- observations_metrics_query: {
496
- id: "observations_metrics_query",
497
- method: "POST",
498
- path: "/api/observations/metrics/query",
419
+ /** `GET /api/sessions/{sessionId}/telemetry/stream` — Stream live trusted assistant, tool, runtime, Logs and Traces telemetry with bounded previews. */
420
+ session_telemetry_stream: {
421
+ id: "session_telemetry_stream",
422
+ method: "GET",
423
+ path: "/api/sessions/{sessionId}/telemetry/stream",
499
424
  plane: "regional",
500
425
  safeRetry: true,
501
426
  idempotency: "none",
502
- transport: "unary",
503
- bodyClass: "aex_json",
504
- pathParams: [],
505
- queryParams: [],
506
- pauseExempt: false,
427
+ transport: "ndjson",
428
+ bodyClass: "none",
429
+ pathParams: ["sessionId"],
430
+ queryParams: ["after"],
431
+ pauseExempt: true,
507
432
  deferred: false,
508
433
  },
509
- /** `POST /api/streams/metrics/stream` — Stream workspace metrics observations from one origin. */
510
- observations_metrics_stream: {
511
- id: "observations_metrics_stream",
434
+ /** `POST /api/sessions/{sessionId}/terminations` — Destroy sandbox compute while retaining session metadata and messages. */
435
+ session_terminate: {
436
+ id: "session_terminate",
512
437
  method: "POST",
513
- path: "/api/streams/metrics/stream",
438
+ path: "/api/sessions/{sessionId}/terminations",
514
439
  plane: "regional",
515
- safeRetry: true,
516
- idempotency: "none",
517
- transport: "ndjson",
440
+ safeRetry: false,
441
+ idempotency: "operation_id",
442
+ transport: "unary",
518
443
  bodyClass: "aex_json",
519
- pathParams: [],
444
+ pathParams: ["sessionId"],
520
445
  queryParams: [],
521
- pauseExempt: false,
446
+ pauseExempt: true,
522
447
  deferred: false,
523
448
  },
524
- /** `POST /api/streams/spans/listen` — Listen for new workspace spans observations. */
525
- observations_spans_listen: {
526
- id: "observations_spans_listen",
527
- method: "POST",
528
- path: "/api/streams/spans/listen",
449
+ /** `GET /api/sessions` — List sessions in the workspace. */
450
+ sessions_list: {
451
+ id: "sessions_list",
452
+ method: "GET",
453
+ path: "/api/sessions",
529
454
  plane: "regional",
530
455
  safeRetry: true,
531
456
  idempotency: "none",
532
- transport: "ndjson",
533
- bodyClass: "aex_json",
457
+ transport: "unary",
458
+ bodyClass: "none",
534
459
  pathParams: [],
535
- queryParams: [],
460
+ queryParams: ["cursor", "limit", "status"],
536
461
  pauseExempt: false,
537
462
  deferred: false,
538
463
  },
539
- /** `POST /api/observations/spans/query` — Query workspace spans observations. */
540
- observations_spans_query: {
541
- id: "observations_spans_query",
464
+ /** `POST /api/uploads/{uploadId}/completions` — Verify an admitted upload and publish it only if its private overwrite intent is still current. */
465
+ upload_complete: {
466
+ id: "upload_complete",
542
467
  method: "POST",
543
- path: "/api/observations/spans/query",
468
+ path: "/api/uploads/{uploadId}/completions",
544
469
  plane: "regional",
545
- safeRetry: true,
546
- idempotency: "none",
470
+ safeRetry: false,
471
+ idempotency: "idempotency_key",
547
472
  transport: "unary",
548
473
  bodyClass: "aex_json",
549
- pathParams: [],
474
+ pathParams: ["uploadId"],
550
475
  queryParams: [],
551
476
  pauseExempt: false,
552
477
  deferred: false,
553
478
  },
554
- /** `POST /api/streams/spans/stream` — Stream workspace spans observations from one origin. */
555
- observations_spans_stream: {
556
- id: "observations_spans_stream",
479
+ /** `POST /api/uploads` — Admit a direct upload for one current workspace-file name and return every bounded part grant. */
480
+ upload_create: {
481
+ id: "upload_create",
557
482
  method: "POST",
558
- path: "/api/streams/spans/stream",
483
+ path: "/api/uploads",
559
484
  plane: "regional",
560
- safeRetry: true,
561
- idempotency: "none",
562
- transport: "ndjson",
563
- bodyClass: "aex_json",
564
- pathParams: [],
565
- queryParams: [],
566
- pauseExempt: false,
567
- deferred: false,
568
- },
569
- /** `POST /api/streams/telemetry/listen` — Listen for new workspace telemetry observations. */
570
- observations_telemetry_listen: {
571
- id: "observations_telemetry_listen",
572
- method: "POST",
573
- path: "/api/streams/telemetry/listen",
574
- plane: "regional",
575
- safeRetry: true,
576
- idempotency: "none",
577
- transport: "ndjson",
578
- bodyClass: "aex_json",
579
- pathParams: [],
580
- queryParams: [],
581
- pauseExempt: false,
582
- deferred: false,
583
- },
584
- /** `POST /api/observations/telemetry/query` — Query workspace telemetry observations. */
585
- observations_telemetry_query: {
586
- id: "observations_telemetry_query",
587
- method: "POST",
588
- path: "/api/observations/telemetry/query",
589
- plane: "regional",
590
- safeRetry: true,
591
- idempotency: "none",
592
- transport: "unary",
593
- bodyClass: "aex_json",
594
- pathParams: [],
595
- queryParams: [],
596
- pauseExempt: false,
597
- deferred: false,
598
- },
599
- /** `POST /api/streams/telemetry/stream` — Stream workspace telemetry observations from one origin. */
600
- observations_telemetry_stream: {
601
- id: "observations_telemetry_stream",
602
- method: "POST",
603
- path: "/api/streams/telemetry/stream",
604
- plane: "regional",
605
- safeRetry: true,
606
- idempotency: "none",
607
- transport: "ndjson",
608
- bodyClass: "aex_json",
609
- pathParams: [],
610
- queryParams: [],
611
- pauseExempt: false,
612
- deferred: false,
613
- },
614
- /** `POST /api/streams/traces/listen` — Listen for new workspace traces observations. */
615
- observations_traces_listen: {
616
- id: "observations_traces_listen",
617
- method: "POST",
618
- path: "/api/streams/traces/listen",
619
- plane: "regional",
620
- safeRetry: true,
621
- idempotency: "none",
622
- transport: "ndjson",
623
- bodyClass: "aex_json",
624
- pathParams: [],
625
- queryParams: [],
626
- pauseExempt: false,
627
- deferred: false,
628
- },
629
- /** `POST /api/observations/traces/query` — Query workspace traces observations. */
630
- observations_traces_query: {
631
- id: "observations_traces_query",
632
- method: "POST",
633
- path: "/api/observations/traces/query",
634
- plane: "regional",
635
- safeRetry: true,
636
- idempotency: "none",
637
- transport: "unary",
638
- bodyClass: "aex_json",
639
- pathParams: [],
640
- queryParams: [],
641
- pauseExempt: false,
642
- deferred: false,
643
- },
644
- /** `POST /api/streams/traces/stream` — Stream workspace traces observations from one origin. */
645
- observations_traces_stream: {
646
- id: "observations_traces_stream",
647
- method: "POST",
648
- path: "/api/streams/traces/stream",
649
- plane: "regional",
650
- safeRetry: true,
651
- idempotency: "none",
652
- transport: "ndjson",
653
- bodyClass: "aex_json",
654
- pathParams: [],
655
- queryParams: [],
656
- pauseExempt: false,
657
- deferred: false,
658
- },
659
- /** `POST /api/organizations` — Create an organization whose creator becomes owner. */
660
- organization_create: {
661
- id: "organization_create",
662
- method: "POST",
663
- path: "/api/organizations",
664
- plane: "central",
665
- safeRetry: false,
666
- idempotency: "idempotency_key",
667
- transport: "unary",
668
- bodyClass: "aex_json",
669
- pathParams: [],
670
- queryParams: [],
671
- pauseExempt: false,
672
- deferred: false,
673
- },
674
- /** `GET /api/organizations/{organizationId}` — Read one organization. */
675
- organization_get: {
676
- id: "organization_get",
677
- method: "GET",
678
- path: "/api/organizations/{organizationId}",
679
- plane: "central",
680
- safeRetry: true,
681
- idempotency: "none",
682
- transport: "unary",
683
- bodyClass: "none",
684
- pathParams: ["organizationId"],
685
- queryParams: [],
686
- pauseExempt: false,
687
- deferred: false,
688
- },
689
- /** `GET /api/organizations` — List organizations the caller belongs to. */
690
- organizations_list: {
691
- id: "organizations_list",
692
- method: "GET",
693
- path: "/api/organizations",
694
- plane: "central",
695
- safeRetry: true,
696
- idempotency: "none",
697
- transport: "unary",
698
- bodyClass: "none",
699
- pathParams: [],
700
- queryParams: ["cursor", "limit"],
701
- pauseExempt: false,
702
- deferred: false,
703
- },
704
- /** `POST /api/otlp/v1/logs` — Admit an OTLP logs batch. */
705
- otlp_logs_ingest: {
706
- id: "otlp_logs_ingest",
707
- method: "POST",
708
- path: "/api/otlp/v1/logs",
709
- plane: "regional",
710
- safeRetry: false,
711
- idempotency: "idempotency_key",
712
- transport: "unary",
713
- bodyClass: "otlp",
714
- pathParams: [],
715
- queryParams: [],
716
- pauseExempt: false,
717
- deferred: false,
718
- },
719
- /** `POST /api/otlp/v1/metrics` — Admit an OTLP metrics batch. */
720
- otlp_metrics_ingest: {
721
- id: "otlp_metrics_ingest",
722
- method: "POST",
723
- path: "/api/otlp/v1/metrics",
724
- plane: "regional",
725
- safeRetry: false,
726
- idempotency: "idempotency_key",
727
- transport: "unary",
728
- bodyClass: "otlp",
729
- pathParams: [],
730
- queryParams: [],
731
- pauseExempt: false,
732
- deferred: false,
733
- },
734
- /** `POST /api/otlp/v1/traces` — Admit an OTLP traces batch. */
735
- otlp_traces_ingest: {
736
- id: "otlp_traces_ingest",
737
- method: "POST",
738
- path: "/api/otlp/v1/traces",
739
- plane: "regional",
740
- safeRetry: false,
741
- idempotency: "idempotency_key",
742
- transport: "unary",
743
- bodyClass: "otlp",
744
- pathParams: [],
745
- queryParams: [],
746
- pauseExempt: false,
747
- deferred: false,
748
- },
749
- /** `GET /api/workspace/provider-credentials/{providerCredentialId}` — Read one BYOK provider-credential binding. */
750
- provider_credential_get: {
751
- id: "provider_credential_get",
752
- method: "GET",
753
- path: "/api/workspace/provider-credentials/{providerCredentialId}",
754
- plane: "regional",
755
- safeRetry: true,
756
- idempotency: "none",
757
- transport: "unary",
758
- bodyClass: "none",
759
- pathParams: ["providerCredentialId"],
760
- queryParams: [],
761
- pauseExempt: false,
762
- deferred: false,
763
- },
764
- /** `POST /api/workspace/provider-credentials` — Register a dedicated BYOK provider credential; carries plaintext once. */
765
- provider_credential_register: {
766
- id: "provider_credential_register",
767
- method: "POST",
768
- path: "/api/workspace/provider-credentials",
769
- plane: "regional",
770
- safeRetry: false,
771
- idempotency: "idempotency_key",
772
- transport: "unary",
773
- bodyClass: "aex_json",
774
- pathParams: [],
775
- queryParams: [],
776
- pauseExempt: false,
777
- deferred: false,
778
- },
779
- /** `POST /api/workspace/provider-credentials/{providerCredentialId}/revocations` — Revoke a BYOK provider-credential binding. */
780
- provider_credential_revoke: {
781
- id: "provider_credential_revoke",
782
- method: "POST",
783
- path: "/api/workspace/provider-credentials/{providerCredentialId}/revocations",
784
- plane: "regional",
785
- safeRetry: false,
786
- idempotency: "idempotency_key",
787
- transport: "unary",
788
- bodyClass: "aex_json",
789
- pathParams: ["providerCredentialId"],
790
- queryParams: [],
791
- pauseExempt: true,
792
- deferred: false,
793
- },
794
- /** `GET /api/workspace/provider-credentials` — List BYOK provider-credential binding metadata. */
795
- provider_credentials_list: {
796
- id: "provider_credentials_list",
797
- method: "GET",
798
- path: "/api/workspace/provider-credentials",
799
- plane: "regional",
800
- safeRetry: true,
801
- idempotency: "none",
802
- transport: "unary",
803
- bodyClass: "none",
804
- pathParams: [],
805
- queryParams: ["cursor", "limit", "provider"],
806
- pauseExempt: false,
807
- deferred: false,
808
- },
809
- /** `POST /api/operations/{operationId}/cancellations` — Request cancellation of a regional operation. */
810
- regional_operation_cancel: {
811
- id: "regional_operation_cancel",
812
- method: "POST",
813
- path: "/api/operations/{operationId}/cancellations",
814
- plane: "regional",
815
- safeRetry: false,
816
- idempotency: "none",
817
- transport: "unary",
818
- bodyClass: "aex_json",
819
- pathParams: ["operationId"],
820
- queryParams: [],
821
- pauseExempt: true,
822
- deferred: false,
823
- },
824
- /** `GET /api/operations/{operationId}` — Read one regional durable operation. */
825
- regional_operation_get: {
826
- id: "regional_operation_get",
827
- method: "GET",
828
- path: "/api/operations/{operationId}",
829
- plane: "regional",
830
- safeRetry: true,
831
- idempotency: "none",
832
- transport: "unary",
833
- bodyClass: "none",
834
- pathParams: ["operationId"],
835
- queryParams: [],
836
- pauseExempt: true,
837
- deferred: false,
838
- },
839
- /** `GET /api/operations` — List regional durable operations. */
840
- regional_operations_list: {
841
- id: "regional_operations_list",
842
- method: "GET",
843
- path: "/api/operations",
844
- plane: "regional",
845
- safeRetry: true,
846
- idempotency: "none",
847
- transport: "unary",
848
- bodyClass: "none",
849
- pathParams: [],
850
- queryParams: ["cursor", "kind", "limit", "sessionId", "status"],
851
- pauseExempt: true,
852
- deferred: false,
853
- },
854
- /** `DELETE /api/workspace/files/{name}` — Delete one registered workspace file. */
855
- registry_files_delete: {
856
- id: "registry_files_delete",
857
- method: "DELETE",
858
- path: "/api/workspace/files/{name}",
859
- plane: "regional",
860
- safeRetry: false,
861
- idempotency: "none",
862
- transport: "unary",
863
- bodyClass: "none",
864
- pathParams: ["name"],
865
- queryParams: [],
866
- pauseExempt: true,
867
- deferred: false,
868
- },
869
- /** `POST /api/workspace/files/{name}/downloads` — Mint a download grant for a registered workspace file. */
870
- registry_files_download_create: {
871
- id: "registry_files_download_create",
872
- method: "POST",
873
- path: "/api/workspace/files/{name}/downloads",
874
- plane: "regional",
875
- safeRetry: false,
876
- idempotency: "idempotency_key",
877
- transport: "unary",
878
- bodyClass: "aex_json",
879
- pathParams: ["name"],
880
- queryParams: [],
881
- pauseExempt: false,
882
- deferred: false,
883
- },
884
- /** `GET /api/workspace/files/{name}` — Read one registered workspace file. */
885
- registry_files_get: {
886
- id: "registry_files_get",
887
- method: "GET",
888
- path: "/api/workspace/files/{name}",
889
- plane: "regional",
890
- safeRetry: true,
891
- idempotency: "none",
892
- transport: "unary",
893
- bodyClass: "none",
894
- pathParams: ["name"],
895
- queryParams: [],
896
- pauseExempt: false,
897
- deferred: false,
898
- },
899
- /** `GET /api/workspace/files` — List registered workspace files. */
900
- registry_files_list: {
901
- id: "registry_files_list",
902
- method: "GET",
903
- path: "/api/workspace/files",
904
- plane: "regional",
905
- safeRetry: true,
906
- idempotency: "none",
907
- transport: "unary",
908
- bodyClass: "none",
909
- pathParams: [],
910
- queryParams: ["cursor", "limit"],
911
- pauseExempt: false,
912
- deferred: false,
913
- },
914
- /** `PUT /api/workspace/files/{name}` — Replace one registered workspace file. */
915
- registry_files_put: {
916
- id: "registry_files_put",
917
- method: "PUT",
918
- path: "/api/workspace/files/{name}",
919
- plane: "regional",
920
- safeRetry: false,
921
- idempotency: "idempotency_key",
922
- transport: "unary",
923
- bodyClass: "aex_json",
924
- pathParams: ["name"],
925
- queryParams: [],
926
- pauseExempt: false,
927
- deferred: false,
928
- },
929
- /** `POST /api/sessions/{sessionId}/cancellations` — Cancel current work and return the session to idle. */
930
- session_cancel: {
931
- id: "session_cancel",
932
- method: "POST",
933
- path: "/api/sessions/{sessionId}/cancellations",
934
- plane: "regional",
935
- safeRetry: false,
936
- idempotency: "operation_id",
937
- transport: "unary",
938
- bodyClass: "aex_json",
939
- pathParams: ["sessionId"],
940
- queryParams: [],
941
- pauseExempt: true,
942
- deferred: false,
943
- },
944
- /** `POST /api/sessions` — Create an eight-hour multi-turn session. */
945
- session_create: {
946
- id: "session_create",
947
- method: "POST",
948
- path: "/api/sessions",
949
- plane: "regional",
950
- safeRetry: false,
951
- idempotency: "idempotency_key",
952
- transport: "unary",
953
- bodyClass: "aex_json",
954
- pathParams: [],
955
- queryParams: [],
956
- pauseExempt: false,
957
- deferred: false,
958
- },
959
- /** `POST /api/sessions/{sessionId}/deletions` — Irreversibly delete the session and session-scoped user content, observations, telemetry, and export objects. Independent registered workspace files remain. */
960
- session_delete: {
961
- id: "session_delete",
962
- method: "POST",
963
- path: "/api/sessions/{sessionId}/deletions",
964
- plane: "regional",
965
- safeRetry: false,
966
- idempotency: "operation_id",
967
- transport: "unary",
968
- bodyClass: "aex_json",
969
- pathParams: ["sessionId"],
970
- queryParams: [],
971
- pauseExempt: true,
972
- deferred: false,
973
- },
974
- /** `POST /api/sessions/{sessionId}/files/live/downloads/{fileDownloadId}/completion` — Re-stat, re-hash, and close an exact live-file download after SDK verification. */
975
- session_files_live_download_complete: {
976
- id: "session_files_live_download_complete",
977
- method: "POST",
978
- path: "/api/sessions/{sessionId}/files/live/downloads/{fileDownloadId}/completion",
979
- plane: "regional",
980
- safeRetry: false,
981
- idempotency: "idempotency_key",
982
- transport: "unary",
983
- bodyClass: "aex_json",
984
- pathParams: ["sessionId", "fileDownloadId"],
985
- queryParams: [],
986
- pauseExempt: true,
987
- deferred: false,
988
- },
989
- /** `POST /api/sessions/{sessionId}/files/live/downloads` — Open one exact-version live file directly from the retained generation, auto-resuming it. */
990
- session_files_live_download_create: {
991
- id: "session_files_live_download_create",
992
- method: "POST",
993
- path: "/api/sessions/{sessionId}/files/live/downloads",
994
- plane: "regional",
995
- safeRetry: false,
996
- idempotency: "idempotency_key",
997
- transport: "unary",
998
- bodyClass: "aex_json",
999
- pathParams: ["sessionId"],
1000
- queryParams: [],
1001
- pauseExempt: true,
1002
- deferred: false,
1003
- },
1004
- /** `DELETE /api/sessions/{sessionId}/files/live/downloads/{fileDownloadId}` — Close an abandoned live-file descriptor, auto-resuming the same generation. */
1005
- session_files_live_download_delete: {
1006
- id: "session_files_live_download_delete",
1007
- method: "DELETE",
1008
- path: "/api/sessions/{sessionId}/files/live/downloads/{fileDownloadId}",
1009
- plane: "regional",
1010
- safeRetry: false,
1011
- idempotency: "none",
1012
- transport: "unary",
1013
- bodyClass: "none",
1014
- pathParams: ["sessionId", "fileDownloadId"],
1015
- queryParams: [],
1016
- pauseExempt: true,
1017
- deferred: false,
1018
- },
1019
- /** `GET /api/sessions/{sessionId}/files/live/downloads/{fileDownloadId}/parts/{partNumber}` — Read one raw exact-version range directly from the retained generation. */
1020
- session_files_live_download_part_get: {
1021
- id: "session_files_live_download_part_get",
1022
- method: "GET",
1023
- path: "/api/sessions/{sessionId}/files/live/downloads/{fileDownloadId}/parts/{partNumber}",
1024
- plane: "regional",
1025
- safeRetry: true,
1026
- idempotency: "none",
1027
- transport: "binary",
1028
- bodyClass: "none",
1029
- pathParams: ["sessionId", "fileDownloadId", "partNumber"],
1030
- queryParams: ["version"],
1031
- pauseExempt: true,
1032
- deferred: false,
1033
- },
1034
- /** `POST /api/sessions/{sessionId}/files/live/list` — List the exact live generation, auto-resuming that same generation when suspended. */
1035
- session_files_live_list: {
1036
- id: "session_files_live_list",
1037
- method: "POST",
1038
- path: "/api/sessions/{sessionId}/files/live/list",
1039
- plane: "regional",
1040
- safeRetry: true,
1041
- idempotency: "none",
1042
- transport: "unary",
1043
- bodyClass: "aex_json",
1044
- pathParams: ["sessionId"],
1045
- queryParams: [],
1046
- pauseExempt: true,
1047
- deferred: false,
1048
- },
1049
- /** `POST /api/sessions/{sessionId}/files/live/stat` — Stat one live path without following a symlink, auto-resuming the same generation. */
1050
- session_files_live_stat: {
1051
- id: "session_files_live_stat",
1052
- method: "POST",
1053
- path: "/api/sessions/{sessionId}/files/live/stat",
1054
- plane: "regional",
1055
- safeRetry: true,
1056
- idempotency: "none",
1057
- transport: "unary",
1058
- bodyClass: "aex_json",
1059
- pathParams: ["sessionId"],
1060
- queryParams: [],
1061
- pauseExempt: true,
1062
- deferred: false,
1063
- },
1064
- /** `POST /api/sessions/{sessionId}/files/live/uploads/{fileUploadId}/completion` — Verify every part and atomically publish one live file in the same generation. */
1065
- session_files_live_upload_complete: {
1066
- id: "session_files_live_upload_complete",
1067
- method: "POST",
1068
- path: "/api/sessions/{sessionId}/files/live/uploads/{fileUploadId}/completion",
1069
- plane: "regional",
1070
- safeRetry: false,
1071
- idempotency: "idempotency_key",
1072
- transport: "unary",
1073
- bodyClass: "none",
1074
- pathParams: ["sessionId", "fileUploadId"],
1075
- queryParams: [],
1076
- pauseExempt: false,
1077
- deferred: false,
1078
- },
1079
- /** `POST /api/sessions/{sessionId}/files/live/uploads` — Create a resumable upload in the exact live generation, auto-resuming it when suspended. */
1080
- session_files_live_upload_create: {
1081
- id: "session_files_live_upload_create",
1082
- method: "POST",
1083
- path: "/api/sessions/{sessionId}/files/live/uploads",
1084
- plane: "regional",
1085
- safeRetry: false,
1086
- idempotency: "idempotency_key",
1087
- transport: "unary",
1088
- bodyClass: "aex_json",
1089
- pathParams: ["sessionId"],
1090
- queryParams: [],
1091
- pauseExempt: false,
1092
- deferred: false,
1093
- },
1094
- /** `DELETE /api/sessions/{sessionId}/files/live/uploads/{fileUploadId}` — Abort a partial upload, auto-resuming the same generation to remove its temporary bytes. */
1095
- session_files_live_upload_delete: {
1096
- id: "session_files_live_upload_delete",
1097
- method: "DELETE",
1098
- path: "/api/sessions/{sessionId}/files/live/uploads/{fileUploadId}",
1099
- plane: "regional",
1100
- safeRetry: false,
1101
- idempotency: "none",
1102
- transport: "unary",
1103
- bodyClass: "none",
1104
- pathParams: ["sessionId", "fileUploadId"],
1105
- queryParams: [],
1106
- pauseExempt: true,
1107
- deferred: false,
1108
- },
1109
- /** `GET /api/sessions/{sessionId}/files/live/uploads/{fileUploadId}` — Read resumable live-upload state, auto-resuming the same generation. */
1110
- session_files_live_upload_get: {
1111
- id: "session_files_live_upload_get",
1112
- method: "GET",
1113
- path: "/api/sessions/{sessionId}/files/live/uploads/{fileUploadId}",
1114
- plane: "regional",
1115
- safeRetry: true,
1116
- idempotency: "none",
1117
- transport: "unary",
1118
- bodyClass: "none",
1119
- pathParams: ["sessionId", "fileUploadId"],
1120
- queryParams: [],
1121
- pauseExempt: false,
1122
- deferred: false,
1123
- },
1124
- /** `PUT /api/sessions/{sessionId}/files/live/uploads/{fileUploadId}/parts/{partNumber}` — Put one exact logical part directly into the retained generation. */
1125
- session_files_live_upload_part_put: {
1126
- id: "session_files_live_upload_part_put",
1127
- method: "PUT",
1128
- path: "/api/sessions/{sessionId}/files/live/uploads/{fileUploadId}/parts/{partNumber}",
1129
- plane: "regional",
1130
- safeRetry: true,
1131
- idempotency: "none",
1132
- transport: "unary",
1133
- bodyClass: "binary",
1134
- pathParams: ["sessionId", "fileUploadId", "partNumber"],
1135
- queryParams: ["sha256"],
1136
- pauseExempt: false,
1137
- deferred: false,
1138
- },
1139
- /** `GET /api/sessions/{sessionId}` — Read session metadata, including automatic lifecycle state, or its minimal deletion tombstone. */
1140
- session_get: {
1141
- id: "session_get",
1142
- method: "GET",
1143
- path: "/api/sessions/{sessionId}",
1144
- plane: "regional",
1145
- safeRetry: true,
1146
- idempotency: "none",
1147
- transport: "unary",
1148
- bodyClass: "none",
1149
- pathParams: ["sessionId"],
1150
- queryParams: [],
1151
- pauseExempt: false,
1152
- deferred: false,
1153
- },
1154
- /** `POST /api/sessions/{sessionId}/messages` — Send text and start the session's next work, automatically resuming the same suspended generation. */
1155
- session_message_send: {
1156
- id: "session_message_send",
1157
- method: "POST",
1158
- path: "/api/sessions/{sessionId}/messages",
1159
- plane: "regional",
1160
- safeRetry: false,
1161
- idempotency: "idempotency_key",
1162
- transport: "unary",
1163
- bodyClass: "aex_json",
1164
- pathParams: ["sessionId"],
1165
- queryParams: [],
1166
- pauseExempt: false,
1167
- deferred: false,
1168
- },
1169
- /** `GET /api/sessions/{sessionId}/messages` — List complete sealed messages in immutable seal-visibility order. */
1170
- session_messages_list: {
1171
- id: "session_messages_list",
1172
- method: "GET",
1173
- path: "/api/sessions/{sessionId}/messages",
1174
- plane: "regional",
1175
- safeRetry: true,
1176
- idempotency: "none",
1177
- transport: "unary",
1178
- bodyClass: "none",
1179
- pathParams: ["sessionId"],
1180
- queryParams: ["cursor", "limit"],
1181
- pauseExempt: false,
1182
- deferred: false,
1183
- },
1184
- /** `POST /api/streams/{sessionId}/events/listen` — Listen for new session events observations. */
1185
- session_observations_events_listen: {
1186
- id: "session_observations_events_listen",
1187
- method: "POST",
1188
- path: "/api/streams/{sessionId}/events/listen",
1189
- plane: "regional",
1190
- safeRetry: true,
1191
- idempotency: "none",
1192
- transport: "ndjson",
1193
- bodyClass: "aex_json",
1194
- pathParams: ["sessionId"],
1195
- queryParams: [],
1196
- pauseExempt: false,
1197
- deferred: false,
1198
- },
1199
- /** `POST /api/observations/{sessionId}/events/query` — Query session events observations. */
1200
- session_observations_events_query: {
1201
- id: "session_observations_events_query",
1202
- method: "POST",
1203
- path: "/api/observations/{sessionId}/events/query",
1204
- plane: "regional",
1205
- safeRetry: true,
1206
- idempotency: "none",
1207
- transport: "unary",
1208
- bodyClass: "aex_json",
1209
- pathParams: ["sessionId"],
1210
- queryParams: [],
1211
- pauseExempt: false,
1212
- deferred: false,
1213
- },
1214
- /** `POST /api/streams/{sessionId}/events/stream` — Stream session events observations from one origin. */
1215
- session_observations_events_stream: {
1216
- id: "session_observations_events_stream",
1217
- method: "POST",
1218
- path: "/api/streams/{sessionId}/events/stream",
1219
- plane: "regional",
1220
- safeRetry: true,
1221
- idempotency: "none",
1222
- transport: "ndjson",
1223
- bodyClass: "aex_json",
1224
- pathParams: ["sessionId"],
1225
- queryParams: [],
1226
- pauseExempt: false,
1227
- deferred: false,
1228
- },
1229
- /** `POST /api/streams/{sessionId}/logs/listen` — Listen for new session logs observations. */
1230
- session_observations_logs_listen: {
1231
- id: "session_observations_logs_listen",
1232
- method: "POST",
1233
- path: "/api/streams/{sessionId}/logs/listen",
1234
- plane: "regional",
1235
- safeRetry: true,
1236
- idempotency: "none",
1237
- transport: "ndjson",
1238
- bodyClass: "aex_json",
1239
- pathParams: ["sessionId"],
1240
- queryParams: [],
1241
- pauseExempt: false,
1242
- deferred: false,
1243
- },
1244
- /** `POST /api/observations/{sessionId}/logs/query` — Query session logs observations. */
1245
- session_observations_logs_query: {
1246
- id: "session_observations_logs_query",
1247
- method: "POST",
1248
- path: "/api/observations/{sessionId}/logs/query",
1249
- plane: "regional",
1250
- safeRetry: true,
1251
- idempotency: "none",
1252
- transport: "unary",
1253
- bodyClass: "aex_json",
1254
- pathParams: ["sessionId"],
1255
- queryParams: [],
1256
- pauseExempt: false,
1257
- deferred: false,
1258
- },
1259
- /** `POST /api/streams/{sessionId}/logs/stream` — Stream session logs observations from one origin. */
1260
- session_observations_logs_stream: {
1261
- id: "session_observations_logs_stream",
1262
- method: "POST",
1263
- path: "/api/streams/{sessionId}/logs/stream",
1264
- plane: "regional",
1265
- safeRetry: true,
1266
- idempotency: "none",
1267
- transport: "ndjson",
1268
- bodyClass: "aex_json",
1269
- pathParams: ["sessionId"],
1270
- queryParams: [],
1271
- pauseExempt: false,
1272
- deferred: false,
1273
- },
1274
- /** `POST /api/observations/{sessionId}/metrics/aggregate` — Aggregate session metric observations. */
1275
- session_observations_metrics_aggregate: {
1276
- id: "session_observations_metrics_aggregate",
1277
- method: "POST",
1278
- path: "/api/observations/{sessionId}/metrics/aggregate",
1279
- plane: "regional",
1280
- safeRetry: true,
1281
- idempotency: "none",
1282
- transport: "unary",
1283
- bodyClass: "aex_json",
1284
- pathParams: ["sessionId"],
1285
- queryParams: [],
1286
- pauseExempt: false,
1287
- deferred: false,
1288
- },
1289
- /** `POST /api/streams/{sessionId}/metrics/listen` — Listen for new session metrics observations. */
1290
- session_observations_metrics_listen: {
1291
- id: "session_observations_metrics_listen",
1292
- method: "POST",
1293
- path: "/api/streams/{sessionId}/metrics/listen",
1294
- plane: "regional",
1295
- safeRetry: true,
1296
- idempotency: "none",
1297
- transport: "ndjson",
1298
- bodyClass: "aex_json",
1299
- pathParams: ["sessionId"],
1300
- queryParams: [],
1301
- pauseExempt: false,
1302
- deferred: false,
1303
- },
1304
- /** `POST /api/observations/{sessionId}/metrics/query` — Query session metrics observations. */
1305
- session_observations_metrics_query: {
1306
- id: "session_observations_metrics_query",
1307
- method: "POST",
1308
- path: "/api/observations/{sessionId}/metrics/query",
1309
- plane: "regional",
1310
- safeRetry: true,
1311
- idempotency: "none",
1312
- transport: "unary",
1313
- bodyClass: "aex_json",
1314
- pathParams: ["sessionId"],
1315
- queryParams: [],
1316
- pauseExempt: false,
1317
- deferred: false,
1318
- },
1319
- /** `POST /api/streams/{sessionId}/metrics/stream` — Stream session metrics observations from one origin. */
1320
- session_observations_metrics_stream: {
1321
- id: "session_observations_metrics_stream",
1322
- method: "POST",
1323
- path: "/api/streams/{sessionId}/metrics/stream",
1324
- plane: "regional",
1325
- safeRetry: true,
1326
- idempotency: "none",
1327
- transport: "ndjson",
1328
- bodyClass: "aex_json",
1329
- pathParams: ["sessionId"],
1330
- queryParams: [],
1331
- pauseExempt: false,
1332
- deferred: false,
1333
- },
1334
- /** `POST /api/streams/{sessionId}/spans/listen` — Listen for new session spans observations. */
1335
- session_observations_spans_listen: {
1336
- id: "session_observations_spans_listen",
1337
- method: "POST",
1338
- path: "/api/streams/{sessionId}/spans/listen",
1339
- plane: "regional",
1340
- safeRetry: true,
1341
- idempotency: "none",
1342
- transport: "ndjson",
1343
- bodyClass: "aex_json",
1344
- pathParams: ["sessionId"],
1345
- queryParams: [],
1346
- pauseExempt: false,
1347
- deferred: false,
1348
- },
1349
- /** `POST /api/observations/{sessionId}/spans/query` — Query session spans observations. */
1350
- session_observations_spans_query: {
1351
- id: "session_observations_spans_query",
1352
- method: "POST",
1353
- path: "/api/observations/{sessionId}/spans/query",
1354
- plane: "regional",
1355
- safeRetry: true,
1356
- idempotency: "none",
1357
- transport: "unary",
1358
- bodyClass: "aex_json",
1359
- pathParams: ["sessionId"],
1360
- queryParams: [],
1361
- pauseExempt: false,
1362
- deferred: false,
1363
- },
1364
- /** `POST /api/streams/{sessionId}/spans/stream` — Stream session spans observations from one origin. */
1365
- session_observations_spans_stream: {
1366
- id: "session_observations_spans_stream",
1367
- method: "POST",
1368
- path: "/api/streams/{sessionId}/spans/stream",
1369
- plane: "regional",
1370
- safeRetry: true,
1371
- idempotency: "none",
1372
- transport: "ndjson",
1373
- bodyClass: "aex_json",
1374
- pathParams: ["sessionId"],
1375
- queryParams: [],
1376
- pauseExempt: false,
1377
- deferred: false,
1378
- },
1379
- /** `POST /api/streams/{sessionId}/telemetry/listen` — Listen for new session telemetry observations. */
1380
- session_observations_telemetry_listen: {
1381
- id: "session_observations_telemetry_listen",
1382
- method: "POST",
1383
- path: "/api/streams/{sessionId}/telemetry/listen",
1384
- plane: "regional",
1385
- safeRetry: true,
1386
- idempotency: "none",
1387
- transport: "ndjson",
1388
- bodyClass: "aex_json",
1389
- pathParams: ["sessionId"],
1390
- queryParams: [],
1391
- pauseExempt: false,
1392
- deferred: false,
1393
- },
1394
- /** `POST /api/observations/{sessionId}/telemetry/query` — Query session telemetry observations. */
1395
- session_observations_telemetry_query: {
1396
- id: "session_observations_telemetry_query",
1397
- method: "POST",
1398
- path: "/api/observations/{sessionId}/telemetry/query",
1399
- plane: "regional",
1400
- safeRetry: true,
1401
- idempotency: "none",
1402
- transport: "unary",
1403
- bodyClass: "aex_json",
1404
- pathParams: ["sessionId"],
1405
- queryParams: [],
1406
- pauseExempt: false,
1407
- deferred: false,
1408
- },
1409
- /** `POST /api/streams/{sessionId}/telemetry/stream` — Stream session telemetry observations from one origin. */
1410
- session_observations_telemetry_stream: {
1411
- id: "session_observations_telemetry_stream",
1412
- method: "POST",
1413
- path: "/api/streams/{sessionId}/telemetry/stream",
1414
- plane: "regional",
1415
- safeRetry: true,
1416
- idempotency: "none",
1417
- transport: "ndjson",
1418
- bodyClass: "aex_json",
1419
- pathParams: ["sessionId"],
1420
- queryParams: [],
1421
- pauseExempt: false,
1422
- deferred: false,
1423
- },
1424
- /** `GET /api/observations/{sessionId}/traces/{traceId}` — Read one assembled trace by its W3C identifier. */
1425
- session_observations_trace_get: {
1426
- id: "session_observations_trace_get",
1427
- method: "GET",
1428
- path: "/api/observations/{sessionId}/traces/{traceId}",
1429
- plane: "regional",
1430
- safeRetry: true,
1431
- idempotency: "none",
1432
- transport: "unary",
1433
- bodyClass: "none",
1434
- pathParams: ["sessionId", "traceId"],
1435
- queryParams: [],
1436
- pauseExempt: false,
1437
- deferred: false,
1438
- },
1439
- /** `POST /api/streams/{sessionId}/traces/listen` — Listen for new session traces observations. */
1440
- session_observations_traces_listen: {
1441
- id: "session_observations_traces_listen",
1442
- method: "POST",
1443
- path: "/api/streams/{sessionId}/traces/listen",
1444
- plane: "regional",
1445
- safeRetry: true,
1446
- idempotency: "none",
1447
- transport: "ndjson",
1448
- bodyClass: "aex_json",
1449
- pathParams: ["sessionId"],
1450
- queryParams: [],
1451
- pauseExempt: false,
1452
- deferred: false,
1453
- },
1454
- /** `POST /api/observations/{sessionId}/traces/query` — Query session traces observations. */
1455
- session_observations_traces_query: {
1456
- id: "session_observations_traces_query",
1457
- method: "POST",
1458
- path: "/api/observations/{sessionId}/traces/query",
1459
- plane: "regional",
1460
- safeRetry: true,
1461
- idempotency: "none",
1462
- transport: "unary",
1463
- bodyClass: "aex_json",
1464
- pathParams: ["sessionId"],
1465
- queryParams: [],
1466
- pauseExempt: false,
1467
- deferred: false,
1468
- },
1469
- /** `POST /api/streams/{sessionId}/traces/stream` — Stream session traces observations from one origin. */
1470
- session_observations_traces_stream: {
1471
- id: "session_observations_traces_stream",
1472
- method: "POST",
1473
- path: "/api/streams/{sessionId}/traces/stream",
1474
- plane: "regional",
1475
- safeRetry: true,
1476
- idempotency: "none",
1477
- transport: "ndjson",
1478
- bodyClass: "aex_json",
1479
- pathParams: ["sessionId"],
1480
- queryParams: [],
1481
- pauseExempt: false,
1482
- deferred: false,
1483
- },
1484
- /** `POST /api/sessions/{sessionId}/resumptions` — Resume the same retained generation to idle. */
1485
- session_resume: {
1486
- id: "session_resume",
1487
- method: "POST",
1488
- path: "/api/sessions/{sessionId}/resumptions",
1489
- plane: "regional",
1490
- safeRetry: false,
1491
- idempotency: "operation_id",
1492
- transport: "unary",
1493
- bodyClass: "aex_json",
1494
- pathParams: ["sessionId"],
1495
- queryParams: [],
1496
- pauseExempt: false,
1497
- deferred: false,
1498
- },
1499
- /** `POST /api/sessions/{sessionId}/suspensions` — Suspend an idle session while retaining its exact generation; cancel active work first. */
1500
- session_suspend: {
1501
- id: "session_suspend",
1502
- method: "POST",
1503
- path: "/api/sessions/{sessionId}/suspensions",
1504
- plane: "regional",
1505
- safeRetry: false,
1506
- idempotency: "operation_id",
1507
- transport: "unary",
1508
- bodyClass: "aex_json",
1509
- pathParams: ["sessionId"],
1510
- queryParams: [],
1511
- pauseExempt: true,
1512
- deferred: false,
1513
- },
1514
- /** `POST /api/observations/{sessionId}/telemetry/exports` — Admit the durable session telemetry-export operation. */
1515
- session_telemetry_export_create: {
1516
- id: "session_telemetry_export_create",
1517
- method: "POST",
1518
- path: "/api/observations/{sessionId}/telemetry/exports",
1519
- plane: "regional",
1520
- safeRetry: false,
1521
- idempotency: "operation_id",
1522
- transport: "unary",
1523
- bodyClass: "aex_json",
1524
- pathParams: ["sessionId"],
1525
- queryParams: [],
1526
- pauseExempt: false,
1527
- deferred: false,
1528
- },
1529
- /** `POST /api/observations/{sessionId}/telemetry/exports/{exportId}/downloads` — Mint a download grant for a ready session telemetry export. */
1530
- session_telemetry_export_download_create: {
1531
- id: "session_telemetry_export_download_create",
1532
- method: "POST",
1533
- path: "/api/observations/{sessionId}/telemetry/exports/{exportId}/downloads",
1534
- plane: "regional",
1535
- safeRetry: false,
1536
- idempotency: "idempotency_key",
1537
- transport: "unary",
1538
- bodyClass: "aex_json",
1539
- pathParams: ["sessionId", "exportId"],
1540
- queryParams: [],
1541
- pauseExempt: false,
1542
- deferred: false,
1543
- },
1544
- /** `GET /api/observations/{sessionId}/telemetry/exports/{exportId}` — Read one session telemetry export record. */
1545
- session_telemetry_export_get: {
1546
- id: "session_telemetry_export_get",
1547
- method: "GET",
1548
- path: "/api/observations/{sessionId}/telemetry/exports/{exportId}",
1549
- plane: "regional",
1550
- safeRetry: true,
1551
- idempotency: "none",
1552
- transport: "unary",
1553
- bodyClass: "none",
1554
- pathParams: ["sessionId", "exportId"],
1555
- queryParams: [],
1556
- pauseExempt: false,
1557
- deferred: false,
1558
- },
1559
- /** `POST /api/observations/{sessionId}/telemetry/exports/{exportId}/revocations` — Revoke a session telemetry export and its outstanding grants. */
1560
- session_telemetry_export_revoke: {
1561
- id: "session_telemetry_export_revoke",
1562
- method: "POST",
1563
- path: "/api/observations/{sessionId}/telemetry/exports/{exportId}/revocations",
1564
- plane: "regional",
1565
- safeRetry: false,
1566
- idempotency: "idempotency_key",
1567
- transport: "unary",
1568
- bodyClass: "aex_json",
1569
- pathParams: ["sessionId", "exportId"],
1570
- queryParams: [],
1571
- pauseExempt: true,
1572
- deferred: false,
1573
- },
1574
- /** `GET /api/observations/{sessionId}/telemetry/gaps/{gapId}` — Read one recorded session telemetry gap. */
1575
- session_telemetry_gap_get: {
1576
- id: "session_telemetry_gap_get",
1577
- method: "GET",
1578
- path: "/api/observations/{sessionId}/telemetry/gaps/{gapId}",
1579
- plane: "regional",
1580
- safeRetry: true,
1581
- idempotency: "none",
1582
- transport: "unary",
1583
- bodyClass: "none",
1584
- pathParams: ["sessionId", "gapId"],
1585
- queryParams: [],
1586
- pauseExempt: false,
1587
- deferred: false,
1588
- },
1589
- /** `POST /api/observations/{sessionId}/telemetry/gaps/query` — Query recorded session telemetry gaps. */
1590
- session_telemetry_gaps_query: {
1591
- id: "session_telemetry_gaps_query",
1592
- method: "POST",
1593
- path: "/api/observations/{sessionId}/telemetry/gaps/query",
1594
- plane: "regional",
1595
- safeRetry: true,
1596
- idempotency: "none",
1597
- transport: "unary",
1598
- bodyClass: "aex_json",
1599
- pathParams: ["sessionId"],
1600
- queryParams: [],
1601
- pauseExempt: false,
1602
- deferred: false,
1603
- },
1604
- /** `POST /api/sessions/{sessionId}/terminations` — Permanently destroy compute and live files while retaining metadata and sealed messages. */
1605
- session_terminate: {
1606
- id: "session_terminate",
1607
- method: "POST",
1608
- path: "/api/sessions/{sessionId}/terminations",
1609
- plane: "regional",
1610
- safeRetry: false,
1611
- idempotency: "operation_id",
1612
- transport: "unary",
1613
- bodyClass: "aex_json",
1614
- pathParams: ["sessionId"],
1615
- queryParams: [],
1616
- pauseExempt: true,
1617
- deferred: false,
1618
- },
1619
- /** `GET /api/sessions` — List sessions in the workspace. */
1620
- sessions_list: {
1621
- id: "sessions_list",
1622
- method: "GET",
1623
- path: "/api/sessions",
1624
- plane: "regional",
1625
- safeRetry: true,
1626
- idempotency: "none",
1627
- transport: "unary",
1628
- bodyClass: "none",
1629
- pathParams: [],
1630
- queryParams: ["cursor", "limit", "status"],
1631
- pauseExempt: false,
1632
- deferred: false,
1633
- },
1634
- /** `POST /api/observations/telemetry/exports` — Admit the durable workspace telemetry-export operation. */
1635
- telemetry_export_create: {
1636
- id: "telemetry_export_create",
1637
- method: "POST",
1638
- path: "/api/observations/telemetry/exports",
1639
- plane: "regional",
1640
- safeRetry: false,
1641
- idempotency: "operation_id",
1642
- transport: "unary",
1643
- bodyClass: "aex_json",
1644
- pathParams: [],
1645
- queryParams: [],
1646
- pauseExempt: false,
1647
- deferred: false,
1648
- },
1649
- /** `POST /api/observations/telemetry/exports/{exportId}/downloads` — Mint a download grant for a ready telemetry export. */
1650
- telemetry_export_download_create: {
1651
- id: "telemetry_export_download_create",
1652
- method: "POST",
1653
- path: "/api/observations/telemetry/exports/{exportId}/downloads",
1654
- plane: "regional",
1655
- safeRetry: false,
1656
- idempotency: "idempotency_key",
1657
- transport: "unary",
1658
- bodyClass: "aex_json",
1659
- pathParams: ["exportId"],
1660
- queryParams: [],
1661
- pauseExempt: false,
1662
- deferred: false,
1663
- },
1664
- /** `GET /api/observations/telemetry/exports/{exportId}` — Read one telemetry export record. */
1665
- telemetry_export_get: {
1666
- id: "telemetry_export_get",
1667
- method: "GET",
1668
- path: "/api/observations/telemetry/exports/{exportId}",
1669
- plane: "regional",
1670
- safeRetry: true,
1671
- idempotency: "none",
1672
- transport: "unary",
1673
- bodyClass: "none",
1674
- pathParams: ["exportId"],
1675
- queryParams: [],
1676
- pauseExempt: false,
1677
- deferred: false,
1678
- },
1679
- /** `POST /api/observations/telemetry/exports/{exportId}/revocations` — Revoke a telemetry export and its outstanding grants. */
1680
- telemetry_export_revoke: {
1681
- id: "telemetry_export_revoke",
1682
- method: "POST",
1683
- path: "/api/observations/telemetry/exports/{exportId}/revocations",
1684
- plane: "regional",
1685
- safeRetry: false,
1686
- idempotency: "idempotency_key",
1687
- transport: "unary",
1688
- bodyClass: "aex_json",
1689
- pathParams: ["exportId"],
1690
- queryParams: [],
1691
- pauseExempt: true,
1692
- deferred: false,
1693
- },
1694
- /** `GET /api/observations/telemetry/gaps/{gapId}` — Read one recorded telemetry gap. */
1695
- telemetry_gap_get: {
1696
- id: "telemetry_gap_get",
1697
- method: "GET",
1698
- path: "/api/observations/telemetry/gaps/{gapId}",
1699
- plane: "regional",
1700
- safeRetry: true,
1701
- idempotency: "none",
1702
- transport: "unary",
1703
- bodyClass: "none",
1704
- pathParams: ["gapId"],
1705
- queryParams: [],
1706
- pauseExempt: false,
1707
- deferred: false,
1708
- },
1709
- /** `POST /api/observations/telemetry/gaps/query` — Query recorded workspace telemetry gaps. */
1710
- telemetry_gaps_query: {
1711
- id: "telemetry_gaps_query",
1712
- method: "POST",
1713
- path: "/api/observations/telemetry/gaps/query",
1714
- plane: "regional",
1715
- safeRetry: true,
1716
- idempotency: "none",
1717
- transport: "unary",
1718
- bodyClass: "aex_json",
1719
- pathParams: [],
1720
- queryParams: [],
1721
- pauseExempt: false,
1722
- deferred: false,
1723
- },
1724
- /** `DELETE /api/workspace/uploads/{uploadId}` — Abort a staged upload. */
1725
- upload_abort: {
1726
- id: "upload_abort",
1727
- method: "DELETE",
1728
- path: "/api/workspace/uploads/{uploadId}",
1729
- plane: "regional",
1730
- safeRetry: false,
1731
- idempotency: "none",
1732
- transport: "unary",
1733
- bodyClass: "none",
1734
- pathParams: ["uploadId"],
1735
- queryParams: [],
1736
- pauseExempt: true,
1737
- deferred: false,
1738
- },
1739
- /** `POST /api/workspace/uploads/{uploadId}/completion` — Complete a staged upload. */
1740
- upload_complete: {
1741
- id: "upload_complete",
1742
- method: "POST",
1743
- path: "/api/workspace/uploads/{uploadId}/completion",
1744
- plane: "regional",
1745
- safeRetry: false,
1746
- idempotency: "idempotency_key",
1747
- transport: "unary",
1748
- bodyClass: "aex_json",
1749
- pathParams: ["uploadId"],
1750
- queryParams: [],
1751
- pauseExempt: false,
1752
- deferred: false,
1753
- },
1754
- /** `POST /api/workspace/uploads` — Stage a large registered-resource value. */
1755
- upload_create: {
1756
- id: "upload_create",
1757
- method: "POST",
1758
- path: "/api/workspace/uploads",
1759
- plane: "regional",
1760
- safeRetry: false,
1761
- idempotency: "idempotency_key",
1762
- transport: "unary",
1763
- bodyClass: "aex_json",
1764
- pathParams: [],
1765
- queryParams: [],
1766
- pauseExempt: false,
1767
- deferred: false,
1768
- },
1769
- /** `POST /api/workspace/uploads/{uploadId}/parts` — Mint presigned PUT grants for the named parts. */
1770
- upload_parts_grant: {
1771
- id: "upload_parts_grant",
1772
- method: "POST",
1773
- path: "/api/workspace/uploads/{uploadId}/parts",
1774
- plane: "regional",
1775
- safeRetry: false,
1776
- idempotency: "none",
1777
- transport: "unary",
1778
- bodyClass: "aex_json",
1779
- pathParams: ["uploadId"],
1780
- queryParams: [],
1781
- pauseExempt: false,
1782
- deferred: false,
1783
- },
1784
- /** `POST /api/billing/usage/query` — Query rated usage for this workspace. */
1785
- usage_query: {
1786
- id: "usage_query",
1787
- method: "POST",
1788
- path: "/api/billing/usage/query",
1789
- plane: "regional",
1790
- safeRetry: true,
1791
- idempotency: "none",
1792
- transport: "unary",
1793
- bodyClass: "aex_json",
1794
- pathParams: [],
1795
- queryParams: ["workspaceId"],
1796
- pauseExempt: true,
1797
- deferred: false,
1798
- },
1799
- /** `POST /api/workspaces` — Create a region-pinned workspace. */
1800
- workspace_create: {
1801
- id: "workspace_create",
1802
- method: "POST",
1803
- path: "/api/workspaces",
1804
- plane: "central",
1805
485
  safeRetry: false,
1806
486
  idempotency: "idempotency_key",
1807
487
  transport: "unary",
@@ -1811,95 +491,5 @@ export const ROUTES = Object.freeze({
1811
491
  pauseExempt: false,
1812
492
  deferred: false,
1813
493
  },
1814
- /** `GET /api/workspace` — Read the workspace this credential is pinned to. */
1815
- workspace_current_get: {
1816
- id: "workspace_current_get",
1817
- method: "GET",
1818
- path: "/api/workspace",
1819
- plane: "regional",
1820
- safeRetry: true,
1821
- idempotency: "none",
1822
- transport: "unary",
1823
- bodyClass: "none",
1824
- pathParams: [],
1825
- queryParams: [],
1826
- pauseExempt: true,
1827
- deferred: false,
1828
- },
1829
- /** `POST /api/workspaces/{workspaceId}/deletions` — Admit the global workspace-deletion operation. */
1830
- workspace_delete: {
1831
- id: "workspace_delete",
1832
- method: "POST",
1833
- path: "/api/workspaces/{workspaceId}/deletions",
1834
- plane: "central",
1835
- safeRetry: false,
1836
- idempotency: "operation_id",
1837
- transport: "unary",
1838
- bodyClass: "aex_json",
1839
- pathParams: ["workspaceId"],
1840
- queryParams: [],
1841
- pauseExempt: true,
1842
- deferred: false,
1843
- },
1844
- /** `GET /api/workspaces/{workspaceId}` — Read one workspace. */
1845
- workspace_get: {
1846
- id: "workspace_get",
1847
- method: "GET",
1848
- path: "/api/workspaces/{workspaceId}",
1849
- plane: "central",
1850
- safeRetry: true,
1851
- idempotency: "none",
1852
- transport: "unary",
1853
- bodyClass: "none",
1854
- pathParams: ["workspaceId"],
1855
- queryParams: [],
1856
- pauseExempt: false,
1857
- deferred: false,
1858
- },
1859
- /** `GET /api/workspace/limits/{limitId}` — Read one effective workspace safety limit. */
1860
- workspace_limit_get: {
1861
- id: "workspace_limit_get",
1862
- method: "GET",
1863
- path: "/api/workspace/limits/{limitId}",
1864
- plane: "regional",
1865
- safeRetry: true,
1866
- idempotency: "none",
1867
- transport: "unary",
1868
- bodyClass: "none",
1869
- pathParams: ["limitId"],
1870
- queryParams: [],
1871
- pauseExempt: true,
1872
- deferred: false,
1873
- },
1874
- /** `GET /api/workspace/limits` — List the effective workspace safety limits. The registry is closed and complete, so the whole set is one page and no continuation is ever minted. */
1875
- workspace_limits_list: {
1876
- id: "workspace_limits_list",
1877
- method: "GET",
1878
- path: "/api/workspace/limits",
1879
- plane: "regional",
1880
- safeRetry: true,
1881
- idempotency: "none",
1882
- transport: "unary",
1883
- bodyClass: "none",
1884
- pathParams: [],
1885
- queryParams: [],
1886
- pauseExempt: true,
1887
- deferred: false,
1888
- },
1889
- /** `GET /api/workspaces` — List workspaces the caller can reach. */
1890
- workspaces_list: {
1891
- id: "workspaces_list",
1892
- method: "GET",
1893
- path: "/api/workspaces",
1894
- plane: "central",
1895
- safeRetry: true,
1896
- idempotency: "none",
1897
- transport: "unary",
1898
- bodyClass: "none",
1899
- pathParams: [],
1900
- queryParams: ["cursor", "limit", "organizationId"],
1901
- pauseExempt: false,
1902
- deferred: false,
1903
- },
1904
494
  });
1905
495
  //# sourceMappingURL=routes.js.map