@blaxel/core 0.2.90-dev.181 → 0.2.90-preview.182

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 (96) hide show
  1. package/README.md +2 -37
  2. package/dist/cjs/.tsbuildinfo +1 -1
  3. package/dist/cjs/client/sdk.gen.js +12 -63
  4. package/dist/cjs/common/autoload.js +3 -0
  5. package/dist/cjs/common/controlPlaneFetch.js +57 -0
  6. package/dist/cjs/common/h2fetch.js +1 -1
  7. package/dist/cjs/common/lazyInit.js +5 -4
  8. package/dist/cjs/common/settings.js +28 -3
  9. package/dist/cjs/common/settings.test.js +3 -3
  10. package/dist/cjs/drive/index.js +3 -39
  11. package/dist/cjs/index.js +0 -1
  12. package/dist/cjs/jobs/jobs.js +9 -42
  13. package/dist/cjs/sandbox/client/sdk.gen.js +1 -1
  14. package/dist/cjs/sandbox/preview.js +3 -8
  15. package/dist/cjs/sandbox/sandbox.js +4 -41
  16. package/dist/cjs/types/client/sdk.gen.d.ts +19 -34
  17. package/dist/cjs/types/client/types.gen.d.ts +22 -704
  18. package/dist/cjs/types/common/controlPlaneFetch.d.ts +4 -0
  19. package/dist/cjs/types/common/settings.d.ts +18 -0
  20. package/dist/cjs/types/drive/index.d.ts +4 -35
  21. package/dist/cjs/types/index.d.ts +0 -1
  22. package/dist/cjs/types/jobs/jobs.d.ts +3 -33
  23. package/dist/cjs/types/sandbox/client/sdk.gen.d.ts +1 -1
  24. package/dist/cjs/types/sandbox/client/types.gen.d.ts +0 -24
  25. package/dist/cjs/types/sandbox/preview.d.ts +2 -2
  26. package/dist/cjs/types/sandbox/sandbox.d.ts +2 -36
  27. package/dist/cjs/types/volume/index.d.ts +4 -37
  28. package/dist/cjs/volume/index.js +3 -41
  29. package/dist/cjs-browser/.tsbuildinfo +1 -1
  30. package/dist/cjs-browser/client/sdk.gen.js +12 -63
  31. package/dist/cjs-browser/common/autoload.js +3 -0
  32. package/dist/cjs-browser/common/controlPlaneFetch.js +57 -0
  33. package/dist/cjs-browser/common/lazyInit.js +5 -4
  34. package/dist/cjs-browser/common/settings.js +28 -3
  35. package/dist/cjs-browser/common/settings.test.js +3 -3
  36. package/dist/cjs-browser/drive/index.js +3 -39
  37. package/dist/cjs-browser/index.js +0 -1
  38. package/dist/cjs-browser/jobs/jobs.js +9 -42
  39. package/dist/cjs-browser/sandbox/client/sdk.gen.js +1 -1
  40. package/dist/cjs-browser/sandbox/preview.js +3 -8
  41. package/dist/cjs-browser/sandbox/sandbox.js +4 -41
  42. package/dist/cjs-browser/types/client/sdk.gen.d.ts +19 -34
  43. package/dist/cjs-browser/types/client/types.gen.d.ts +22 -704
  44. package/dist/cjs-browser/types/common/controlPlaneFetch.d.ts +4 -0
  45. package/dist/cjs-browser/types/common/settings.d.ts +18 -0
  46. package/dist/cjs-browser/types/drive/index.d.ts +4 -35
  47. package/dist/cjs-browser/types/index.d.ts +0 -1
  48. package/dist/cjs-browser/types/jobs/jobs.d.ts +3 -33
  49. package/dist/cjs-browser/types/sandbox/client/sdk.gen.d.ts +1 -1
  50. package/dist/cjs-browser/types/sandbox/client/types.gen.d.ts +0 -24
  51. package/dist/cjs-browser/types/sandbox/preview.d.ts +2 -2
  52. package/dist/cjs-browser/types/sandbox/sandbox.d.ts +2 -36
  53. package/dist/cjs-browser/types/volume/index.d.ts +4 -37
  54. package/dist/cjs-browser/volume/index.js +3 -41
  55. package/dist/esm/.tsbuildinfo +1 -1
  56. package/dist/esm/client/sdk.gen.js +9 -57
  57. package/dist/esm/common/autoload.js +3 -0
  58. package/dist/esm/common/controlPlaneFetch.js +51 -0
  59. package/dist/esm/common/h2fetch.js +1 -1
  60. package/dist/esm/common/lazyInit.js +5 -4
  61. package/dist/esm/common/settings.js +28 -3
  62. package/dist/esm/common/settings.test.js +3 -3
  63. package/dist/esm/drive/index.js +3 -39
  64. package/dist/esm/index.js +0 -1
  65. package/dist/esm/jobs/jobs.js +9 -42
  66. package/dist/esm/sandbox/client/sdk.gen.js +1 -1
  67. package/dist/esm/sandbox/preview.js +3 -8
  68. package/dist/esm/sandbox/sandbox.js +4 -41
  69. package/dist/esm/volume/index.js +3 -41
  70. package/dist/esm-browser/.tsbuildinfo +1 -1
  71. package/dist/esm-browser/client/sdk.gen.js +9 -57
  72. package/dist/esm-browser/common/autoload.js +3 -0
  73. package/dist/esm-browser/common/controlPlaneFetch.js +51 -0
  74. package/dist/esm-browser/common/lazyInit.js +5 -4
  75. package/dist/esm-browser/common/settings.js +28 -3
  76. package/dist/esm-browser/common/settings.test.js +3 -3
  77. package/dist/esm-browser/drive/index.js +3 -39
  78. package/dist/esm-browser/index.js +0 -1
  79. package/dist/esm-browser/jobs/jobs.js +9 -42
  80. package/dist/esm-browser/sandbox/client/sdk.gen.js +1 -1
  81. package/dist/esm-browser/sandbox/preview.js +3 -8
  82. package/dist/esm-browser/sandbox/sandbox.js +4 -41
  83. package/dist/esm-browser/volume/index.js +3 -41
  84. package/package.json +1 -1
  85. package/dist/cjs/common/pagination.js +0 -87
  86. package/dist/cjs/common/pagination.test.js +0 -62
  87. package/dist/cjs/types/common/pagination.d.ts +0 -35
  88. package/dist/cjs/types/common/pagination.test.d.ts +0 -1
  89. package/dist/cjs-browser/common/pagination.js +0 -87
  90. package/dist/cjs-browser/common/pagination.test.js +0 -62
  91. package/dist/cjs-browser/types/common/pagination.d.ts +0 -35
  92. package/dist/cjs-browser/types/common/pagination.test.d.ts +0 -1
  93. package/dist/esm/common/pagination.js +0 -83
  94. package/dist/esm/common/pagination.test.js +0 -60
  95. package/dist/esm-browser/common/pagination.js +0 -83
  96. package/dist/esm-browser/common/pagination.test.js +0 -60
@@ -16,26 +16,6 @@ export type AgentWritable = {
16
16
  spec: AgentSpecWritable;
17
17
  status?: Status;
18
18
  };
19
- /**
20
- * Cursor-paginated list of agents. Returned starting with API version 2026-04-28; older API versions return a bare array of agents instead.
21
- */
22
- export type AgentList = {
23
- /**
24
- * Page of agents.
25
- */
26
- data?: Array<Agent>;
27
- meta?: PaginationMeta;
28
- };
29
- /**
30
- * Cursor-paginated list of agents. Returned starting with API version 2026-04-28; older API versions return a bare array of agents instead.
31
- */
32
- export type AgentListWritable = {
33
- /**
34
- * Page of agents.
35
- */
36
- data?: Array<AgentWritable>;
37
- meta?: PaginationMeta;
38
- };
39
19
  /**
40
20
  * Runtime configuration defining how the AI agent is deployed and scaled globally
41
21
  */
@@ -169,10 +149,6 @@ export type Configuration = {
169
149
  * Countries
170
150
  */
171
151
  countries?: Array<Country>;
172
- /**
173
- * Auto-detected closest region based on viewer geolocation (from CloudFront headers). Empty when geo headers are not available.
174
- */
175
- detectedRegion?: string;
176
152
  /**
177
153
  * Private locations managed with blaxel operator
178
154
  */
@@ -470,26 +446,6 @@ export type DriveWritable = {
470
446
  spec: DriveSpecWritable;
471
447
  state?: DriveStateWritable;
472
448
  };
473
- /**
474
- * Cursor-paginated list of drives. Returned starting with API version 2026-04-28; older API versions return a bare array.
475
- */
476
- export type DriveList = {
477
- /**
478
- * Page of drives.
479
- */
480
- data?: Array<Drive>;
481
- meta?: PaginationMeta;
482
- };
483
- /**
484
- * Cursor-paginated list of drives. Returned starting with API version 2026-04-28; older API versions return a bare array.
485
- */
486
- export type DriveListWritable = {
487
- /**
488
- * Page of drives.
489
- */
490
- data?: Array<DriveWritable>;
491
- meta?: PaginationMeta;
492
- };
493
449
  /**
494
450
  * Immutable drive configuration set at creation time
495
451
  */
@@ -607,12 +563,6 @@ export type EgressGatewaySpec = {
607
563
  */
608
564
  region: string;
609
565
  };
610
- /**
611
- * Sandboxes currently bound to each egress gateway. Returned by GET /egressgateways/usage so the egress-IPs UI can render attachment counts without fetching the sandboxes listing full. Keys are gateway names; values are sandbox names.
612
- */
613
- export type EgressGatewayUsage = {
614
- [key: string]: Array<string>;
615
- };
616
566
  /**
617
567
  * An individual IP address allocated from an egress gateway for dedicated outbound traffic
618
568
  */
@@ -839,26 +789,6 @@ export type FunctionWritable = {
839
789
  spec: FunctionSpecWritable;
840
790
  status?: Status;
841
791
  };
842
- /**
843
- * Cursor-paginated list of MCP server functions. Returned starting with API version 2026-04-28; older API versions return a bare array.
844
- */
845
- export type FunctionList = {
846
- /**
847
- * Page of functions.
848
- */
849
- data?: Array<_Function>;
850
- meta?: PaginationMeta;
851
- };
852
- /**
853
- * Cursor-paginated list of MCP server functions. Returned starting with API version 2026-04-28; older API versions return a bare array.
854
- */
855
- export type FunctionListWritable = {
856
- /**
857
- * Page of functions.
858
- */
859
- data?: Array<FunctionWritable>;
860
- meta?: PaginationMeta;
861
- };
862
792
  /**
863
793
  * Runtime configuration defining how the MCP server function is deployed and scaled
864
794
  */
@@ -1306,26 +1236,6 @@ export type JobExecutionWritable = {
1306
1236
  */
1307
1237
  tasks?: Array<JobExecutionTaskWritable>;
1308
1238
  };
1309
- /**
1310
- * Cursor-paginated list of job executions. Returned starting with API version 2026-04-28; older API versions keep the legacy offset-based contract and return a bare array.
1311
- */
1312
- export type JobExecutionList = {
1313
- /**
1314
- * Page of job executions.
1315
- */
1316
- data?: Array<JobExecution>;
1317
- meta?: PaginationMeta;
1318
- };
1319
- /**
1320
- * Cursor-paginated list of job executions. Returned starting with API version 2026-04-28; older API versions keep the legacy offset-based contract and return a bare array.
1321
- */
1322
- export type JobExecutionListWritable = {
1323
- /**
1324
- * Page of job executions.
1325
- */
1326
- data?: Array<JobExecutionWritable>;
1327
- meta?: PaginationMeta;
1328
- };
1329
1239
  /**
1330
1240
  * Job execution metadata
1331
1241
  */
@@ -1585,26 +1495,6 @@ export type JobExecutionTaskCondition = {
1585
1495
  */
1586
1496
  type?: string;
1587
1497
  };
1588
- /**
1589
- * Cursor-paginated list of an execution's tasks. Tasks are derived from event history; pagination slices the in-memory list and the cursor is a base64-JSON offset bound to (workspace, job, execution).
1590
- */
1591
- export type JobExecutionTaskList = {
1592
- /**
1593
- * Page of execution tasks.
1594
- */
1595
- data?: Array<JobExecutionTask>;
1596
- meta?: PaginationMeta;
1597
- };
1598
- /**
1599
- * Cursor-paginated list of an execution's tasks. Tasks are derived from event history; pagination slices the in-memory list and the cursor is a base64-JSON offset bound to (workspace, job, execution).
1600
- */
1601
- export type JobExecutionTaskListWritable = {
1602
- /**
1603
- * Page of execution tasks.
1604
- */
1605
- data?: Array<JobExecutionTaskWritable>;
1606
- meta?: PaginationMeta;
1607
- };
1608
1498
  /**
1609
1499
  * Job execution task metadata
1610
1500
  */
@@ -1660,26 +1550,6 @@ export type JobExecutionTaskSpec = {
1660
1550
  * Job execution task status
1661
1551
  */
1662
1552
  export type JobExecutionTaskStatus = 'unspecified' | 'pending' | 'reconciling' | 'failed' | 'succeeded' | 'running' | 'cancelled';
1663
- /**
1664
- * Cursor-paginated list of batch jobs. Returned starting with API version 2026-04-28; older API versions return a bare array.
1665
- */
1666
- export type JobList = {
1667
- /**
1668
- * Page of jobs.
1669
- */
1670
- data?: Array<Job>;
1671
- meta?: PaginationMeta;
1672
- };
1673
- /**
1674
- * Cursor-paginated list of batch jobs. Returned starting with API version 2026-04-28; older API versions return a bare array.
1675
- */
1676
- export type JobListWritable = {
1677
- /**
1678
- * Page of jobs.
1679
- */
1680
- data?: Array<JobWritable>;
1681
- meta?: PaginationMeta;
1682
- };
1683
1553
  /**
1684
1554
  * Runtime configuration defining how batch job tasks are executed with parallelism and retry settings
1685
1555
  */
@@ -1778,60 +1648,6 @@ export type JobVolume = {
1778
1648
  type: 'ephemeral';
1779
1649
  };
1780
1650
  export type JobVolumes = Array<JobVolume>;
1781
- /**
1782
- * LiteVolume is the listing-shape projection of a Volume. Drops events to keep page payloads small.
1783
- */
1784
- export type LiteVolume = {
1785
- metadata?: LiteVolumeMetadata;
1786
- spec?: LiteVolumeSpec;
1787
- state?: VolumeState;
1788
- /**
1789
- * Computed status of the volume.
1790
- */
1791
- status?: string;
1792
- /**
1793
- * Termination timestamp for soft-deleted volumes.
1794
- */
1795
- terminatedAt?: string;
1796
- };
1797
- /**
1798
- * LiteVolume is the listing-shape projection of a Volume. Drops events to keep page payloads small.
1799
- */
1800
- export type LiteVolumeWritable = {
1801
- metadata?: LiteVolumeMetadata;
1802
- spec?: LiteVolumeSpec;
1803
- state?: VolumeStateWritable;
1804
- /**
1805
- * Computed status of the volume.
1806
- */
1807
- status?: string;
1808
- /**
1809
- * Termination timestamp for soft-deleted volumes.
1810
- */
1811
- terminatedAt?: string;
1812
- };
1813
- /**
1814
- * Compact metadata for a Volume, returned in listing responses.
1815
- */
1816
- export type LiteVolumeMetadata = {
1817
- createdAt?: string;
1818
- displayName?: string;
1819
- name?: string;
1820
- updatedAt?: string;
1821
- };
1822
- /**
1823
- * Compact spec for a Volume, returned in listing responses.
1824
- */
1825
- export type LiteVolumeSpec = {
1826
- /**
1827
- * Region the volume is provisioned in.
1828
- */
1829
- region?: string;
1830
- /**
1831
- * Volume size in gigabytes.
1832
- */
1833
- size?: number;
1834
- };
1835
1651
  /**
1836
1652
  * Location availability for policies
1837
1653
  */
@@ -2055,26 +1871,6 @@ export type ModelWritable = {
2055
1871
  spec: ModelSpec;
2056
1872
  status?: Status;
2057
1873
  };
2058
- /**
2059
- * Cursor-paginated list of model gateway endpoints. Returned starting with API version 2026-04-28; older API versions return a bare array.
2060
- */
2061
- export type ModelList = {
2062
- /**
2063
- * Page of models.
2064
- */
2065
- data?: Array<Model>;
2066
- meta?: PaginationMeta;
2067
- };
2068
- /**
2069
- * Cursor-paginated list of model gateway endpoints. Returned starting with API version 2026-04-28; older API versions return a bare array.
2070
- */
2071
- export type ModelListWritable = {
2072
- /**
2073
- * Page of models.
2074
- */
2075
- data?: Array<ModelWritable>;
2076
- meta?: PaginationMeta;
2077
- };
2078
1874
  /**
2079
1875
  * Configuration identifying which external LLM provider and model this gateway endpoint proxies to
2080
1876
  */
@@ -2154,23 +1950,6 @@ export type OwnerFields = {
2154
1950
  */
2155
1951
  readonly updatedBy?: string;
2156
1952
  };
2157
- /**
2158
- * Pagination metadata returned alongside a page of listing results. Always present on listing endpoints starting with API version 2026-04-28.
2159
- */
2160
- export type PaginationMeta = {
2161
- /**
2162
- * True when more pages are available beyond the current one.
2163
- */
2164
- hasMore?: boolean;
2165
- /**
2166
- * Opaque cursor to pass back as the `cursor` query param for the next page. Empty when there are no more pages.
2167
- */
2168
- nextCursor?: string;
2169
- /**
2170
- * Total number of items in the workspace, ignoring the current page's filters. Lets the UI render "page X of Y" without walking the cursor chain. Computed from the hash-only metadata.workspace GSI count, so search (`q`) does not narrow it.
2171
- */
2172
- total?: number;
2173
- };
2174
1953
  /**
2175
1954
  * Pending cross-account image share awaiting approval from the destination workspace
2176
1955
  */
@@ -2482,7 +2261,6 @@ export type PoliciesList = Array<string>;
2482
2261
  export type Policy = {
2483
2262
  metadata: Metadata;
2484
2263
  spec: PolicySpec;
2485
- usage?: PolicyUsageCounts;
2486
2264
  };
2487
2265
  /**
2488
2266
  * Rule that controls how a deployment is made and served (e.g. location restrictions)
@@ -2490,27 +2268,6 @@ export type Policy = {
2490
2268
  export type PolicyWritable = {
2491
2269
  metadata: MetadataWritable;
2492
2270
  spec: PolicySpec;
2493
- usage?: PolicyUsageCounts;
2494
- };
2495
- /**
2496
- * Cursor-paginated list of policies. Returned starting with API version 2026-04-28; older API versions return a bare array.
2497
- */
2498
- export type PolicyList = {
2499
- /**
2500
- * Page of policies.
2501
- */
2502
- data?: Array<Policy>;
2503
- meta?: PaginationMeta;
2504
- };
2505
- /**
2506
- * Cursor-paginated list of policies. Returned starting with API version 2026-04-28; older API versions return a bare array.
2507
- */
2508
- export type PolicyListWritable = {
2509
- /**
2510
- * Page of policies.
2511
- */
2512
- data?: Array<PolicyWritable>;
2513
- meta?: PaginationMeta;
2514
2271
  };
2515
2272
  /**
2516
2273
  * Policy location
@@ -2583,51 +2340,6 @@ export type PolicySpec = {
2583
2340
  */
2584
2341
  type?: 'location' | 'flavor' | 'maxToken';
2585
2342
  };
2586
- /**
2587
- * Per-resource counts of how many resources reference a policy. Computed by the policies listing endpoint to avoid client-side fan-out across the agents/models/functions/sandboxes/jobs listings.
2588
- */
2589
- export type PolicyUsageCounts = {
2590
- agents?: number;
2591
- functions?: number;
2592
- jobs?: number;
2593
- models?: number;
2594
- sandboxes?: number;
2595
- };
2596
- /**
2597
- * Resources currently referencing a policy. Returned by GET /policies/{name}/usages so the policies UI can render attachments without fetching the agents/models/functions listings full.
2598
- */
2599
- export type PolicyUsages = {
2600
- /**
2601
- * Names of agents whose spec.policies contains this policy.
2602
- */
2603
- agents?: Array<{
2604
- [key: string]: unknown;
2605
- }>;
2606
- /**
2607
- * Names of functions whose spec.policies contains this policy.
2608
- */
2609
- functions?: Array<{
2610
- [key: string]: unknown;
2611
- }>;
2612
- /**
2613
- * Names of jobs whose spec.policies contains this policy.
2614
- */
2615
- jobs?: Array<{
2616
- [key: string]: unknown;
2617
- }>;
2618
- /**
2619
- * Names of models whose spec.policies contains this policy.
2620
- */
2621
- models?: Array<{
2622
- [key: string]: unknown;
2623
- }>;
2624
- /**
2625
- * Names of sandboxes whose spec.policies contains this policy.
2626
- */
2627
- sandboxes?: Array<{
2628
- [key: string]: unknown;
2629
- }>;
2630
- };
2631
2343
  /**
2632
2344
  * A port for a resource
2633
2345
  */
@@ -3339,26 +3051,6 @@ export type SandboxLifecycle = {
3339
3051
  */
3340
3052
  terminatedRetention?: string;
3341
3053
  };
3342
- /**
3343
- * Cursor-paginated list of sandboxes. Returned starting with API version 2026-04-28; older API versions return a bare array.
3344
- */
3345
- export type SandboxList = {
3346
- /**
3347
- * Page of sandboxes. Items use the lite shape (no inline event history) to keep the page payload small, matching the unpaginated response.
3348
- */
3349
- data?: Array<Sandbox>;
3350
- meta?: PaginationMeta;
3351
- };
3352
- /**
3353
- * Cursor-paginated list of sandboxes. Returned starting with API version 2026-04-28; older API versions return a bare array.
3354
- */
3355
- export type SandboxListWritable = {
3356
- /**
3357
- * Page of sandboxes. Items use the lite shape (no inline event history) to keep the page payload small, matching the unpaginated response.
3358
- */
3359
- data?: Array<SandboxWritable>;
3360
- meta?: PaginationMeta;
3361
- };
3362
3054
  /**
3363
3055
  * Network configuration for a sandbox including domain filtering, egress IP binding, and proxy settings
3364
3056
  */
@@ -3532,7 +3224,7 @@ export type Trigger = {
3532
3224
  */
3533
3225
  enabled?: boolean;
3534
3226
  /**
3535
- * Identifier of the trigger. Optional — the server auto-generates a unique id when one is not provided, and disambiguates duplicates within a resource.
3227
+ * The id of the trigger
3536
3228
  */
3537
3229
  id?: string;
3538
3230
  /**
@@ -3550,7 +3242,7 @@ export type TriggerWritable = {
3550
3242
  */
3551
3243
  enabled?: boolean;
3552
3244
  /**
3553
- * Identifier of the trigger. Optional — the server auto-generates a unique id when one is not provided, and disambiguates duplicates within a resource.
3245
+ * The id of the trigger
3554
3246
  */
3555
3247
  id?: string;
3556
3248
  /**
@@ -3710,26 +3402,6 @@ export type VolumeAttachment = {
3710
3402
  readOnly?: boolean;
3711
3403
  };
3712
3404
  export type VolumeAttachments = Array<VolumeAttachment>;
3713
- /**
3714
- * Cursor-paginated list of volumes. Returned starting with API version 2026-04-28; older API versions return a bare array. Items use the lite shape (no inline event history).
3715
- */
3716
- export type VolumeList = {
3717
- /**
3718
- * Page of volumes.
3719
- */
3720
- data?: Array<LiteVolume>;
3721
- meta?: PaginationMeta;
3722
- };
3723
- /**
3724
- * Cursor-paginated list of volumes. Returned starting with API version 2026-04-28; older API versions return a bare array. Items use the lite shape (no inline event history).
3725
- */
3726
- export type VolumeListWritable = {
3727
- /**
3728
- * Page of volumes.
3729
- */
3730
- data?: Array<LiteVolumeWritable>;
3731
- meta?: PaginationMeta;
3732
- };
3733
3405
  /**
3734
3406
  * Immutable volume configuration set at creation time (size and region cannot be changed after creation)
3735
3407
  */
@@ -3936,12 +3608,6 @@ export type Workspace = TimeFields & OwnerFields & {
3936
3608
  * Workspace write region
3937
3609
  */
3938
3610
  region?: string;
3939
- /**
3940
- * Per-resource counts (agents, functions, models, sandboxes, policies, jobs, volumes, drives, volumetemplates, integrationconnections, previews, customdomains, serviceaccounts, images). Only populated when GetWorkspace is called with ?countResources=true.
3941
- */
3942
- readonly resourceCounts?: {
3943
- [key: string]: number;
3944
- };
3945
3611
  runtime?: WorkspaceRuntime;
3946
3612
  /**
3947
3613
  * Workspace status (created, account_binded, account_configured, workspace_configured, ready, error)
@@ -4000,52 +3666,6 @@ export type WorkspaceAvailability = {
4000
3666
  */
4001
3667
  reason?: 'taken' | 'forbidden_reserved' | 'forbidden_blaxel' | 'forbidden_v_prefix';
4002
3668
  };
4003
- /**
4004
- * HIPAA compliance state for a workspace. `accountEnabled` mirrors the account-level `hipaa_compliance` addon (set server-side from operator tooling and Stripe billing events). `unsafe` records a per-workspace opt-out toggled from workspace settings; absent when the account does not have the addon.
4005
- */
4006
- export type WorkspaceHipaaInfo = {
4007
- /**
4008
- * True when the parent account has the HIPAA compliance addon active. Set server-side from operator tooling and Stripe billing events; cannot be changed from workspace settings.
4009
- */
4010
- accountEnabled?: boolean;
4011
- unsafe?: WorkspaceHipaaUnsafe;
4012
- };
4013
- /**
4014
- * HIPAA compliance state for a workspace. `accountEnabled` mirrors the account-level `hipaa_compliance` addon (set server-side from operator tooling and Stripe billing events). `unsafe` records a per-workspace opt-out toggled from workspace settings; absent when the account does not have the addon.
4015
- */
4016
- export type WorkspaceHipaaInfoWritable = {
4017
- /**
4018
- * True when the parent account has the HIPAA compliance addon active. Set server-side from operator tooling and Stripe billing events; cannot be changed from workspace settings.
4019
- */
4020
- accountEnabled?: boolean;
4021
- unsafe?: WorkspaceHipaaUnsafeWritable;
4022
- };
4023
- /**
4024
- * Per-workspace HIPAA opt-out record. Toggled from workspace settings; the backend stamps `updatedBy` and `updatedAt`.
4025
- */
4026
- export type WorkspaceHipaaUnsafe = {
4027
- /**
4028
- * True marks this workspace as HIPAA-unsafe (NOT compliant), overriding the account-level addon. False marks the workspace as HIPAA compliant.
4029
- */
4030
- enabled?: boolean;
4031
- /**
4032
- * RFC3339 timestamp when the opt-out was last toggled. Stamped server-side.
4033
- */
4034
- readonly updatedAt?: string;
4035
- /**
4036
- * User id (sub) of the actor that last toggled this opt-out. Stamped server-side.
4037
- */
4038
- readonly updatedBy?: string;
4039
- };
4040
- /**
4041
- * Per-workspace HIPAA opt-out record. Toggled from workspace settings; the backend stamps `updatedBy` and `updatedAt`.
4042
- */
4043
- export type WorkspaceHipaaUnsafeWritable = {
4044
- /**
4045
- * True marks this workspace as HIPAA-unsafe (NOT compliant), overriding the account-level addon. False marks the workspace as HIPAA compliant.
4046
- */
4047
- enabled?: boolean;
4048
- };
4049
3669
  /**
4050
3670
  * Runtime configuration for the workspace infrastructure
4051
3671
  */
@@ -4096,55 +3716,10 @@ export type WorkspaceUser = {
4096
3716
  */
4097
3717
  sub?: string;
4098
3718
  };
4099
- /**
4100
- * API version (e.g., 2026-04-16). Defaults to the earliest stable version if omitted. See https://docs.blaxel.ai/api-reference/introduction#api-versioning.
4101
- */
4102
- export type BlaxelVersion = string;
4103
- /**
4104
- * Start from a known pagination boundary. `end` is only supported for `createdAt:desc` listings and returns the oldest page directly without walking every cursor from the first page.
4105
- */
4106
- export type PaginationAnchor = 'end';
4107
- /**
4108
- * Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.
4109
- */
4110
- export type PaginationCursor = string;
4111
- /**
4112
- * Maximum number of items to return per page. Defaults to 50, clamped to 200.
4113
- */
4114
- export type PaginationLimit = number;
4115
- /**
4116
- * Substring search across `metadata.name`, `metadata.displayName` and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
4117
- */
4118
- export type PaginationQuery = string;
4119
- /**
4120
- * Sort spec, formatted as `<key>:<direction>`. Allowed values are `createdAt:desc` (default), `createdAt:asc`, `name:asc`, `name:desc`. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
4121
- */
4122
- export type PaginationSort = 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
4123
3719
  export type ListAgentsData = {
4124
3720
  body?: never;
4125
3721
  path?: never;
4126
- query?: {
4127
- /**
4128
- * Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.
4129
- */
4130
- cursor?: string;
4131
- /**
4132
- * Maximum number of items to return per page. Defaults to 50, clamped to 200.
4133
- */
4134
- limit?: number;
4135
- /**
4136
- * Sort spec, formatted as `<key>:<direction>`. Allowed values are `createdAt:desc` (default), `createdAt:asc`, `name:asc`, `name:desc`. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
4137
- */
4138
- sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
4139
- /**
4140
- * Substring search across `metadata.name`, `metadata.displayName` and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
4141
- */
4142
- q?: string;
4143
- /**
4144
- * Start from a known pagination boundary. `end` is only supported for `createdAt:desc` listings and returns the oldest page directly without walking every cursor from the first page.
4145
- */
4146
- anchor?: 'end';
4147
- };
3722
+ query?: never;
4148
3723
  url: '/agents';
4149
3724
  };
4150
3725
  export type ListAgentsErrors = {
@@ -4166,7 +3741,7 @@ export type ListAgentsResponses = {
4166
3741
  /**
4167
3742
  * successful operation
4168
3743
  */
4169
- 200: AgentList;
3744
+ 200: Array<Agent>;
4170
3745
  };
4171
3746
  export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
4172
3747
  export type CreateAgentData = {
@@ -4457,28 +4032,7 @@ export type VerifyCustomDomainResponse = VerifyCustomDomainResponses[keyof Verif
4457
4032
  export type ListDrivesData = {
4458
4033
  body?: never;
4459
4034
  path?: never;
4460
- query?: {
4461
- /**
4462
- * Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.
4463
- */
4464
- cursor?: string;
4465
- /**
4466
- * Maximum number of items to return per page. Defaults to 50, clamped to 200.
4467
- */
4468
- limit?: number;
4469
- /**
4470
- * Sort spec, formatted as `<key>:<direction>`. Allowed values are `createdAt:desc` (default), `createdAt:asc`, `name:asc`, `name:desc`. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
4471
- */
4472
- sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
4473
- /**
4474
- * Substring search across `metadata.name`, `metadata.displayName` and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
4475
- */
4476
- q?: string;
4477
- /**
4478
- * Start from a known pagination boundary. `end` is only supported for `createdAt:desc` listings and returns the oldest page directly without walking every cursor from the first page.
4479
- */
4480
- anchor?: 'end';
4481
- };
4035
+ query?: never;
4482
4036
  url: '/drives';
4483
4037
  };
4484
4038
  export type ListDrivesErrors = {
@@ -4491,7 +4045,7 @@ export type ListDrivesResponses = {
4491
4045
  /**
4492
4046
  * successful operation
4493
4047
  */
4494
- 200: DriveList;
4048
+ 200: Array<Drive>;
4495
4049
  };
4496
4050
  export type ListDrivesResponse = ListDrivesResponses[keyof ListDrivesResponses];
4497
4051
  export type CreateDriveData = {
@@ -4654,19 +4208,6 @@ export type ListAllEgressGatewaysResponses = {
4654
4208
  200: Array<EgressGateway>;
4655
4209
  };
4656
4210
  export type ListAllEgressGatewaysResponse = ListAllEgressGatewaysResponses[keyof ListAllEgressGatewaysResponses];
4657
- export type GetEgressGatewayUsageData = {
4658
- body?: never;
4659
- path?: never;
4660
- query?: never;
4661
- url: '/egressgateways/usage';
4662
- };
4663
- export type GetEgressGatewayUsageResponses = {
4664
- /**
4665
- * successful operation
4666
- */
4667
- 200: EgressGatewayUsage;
4668
- };
4669
- export type GetEgressGatewayUsageResponse = GetEgressGatewayUsageResponses[keyof GetEgressGatewayUsageResponses];
4670
4211
  export type ListAllEgressIpsData = {
4671
4212
  body?: never;
4672
4213
  path?: never;
@@ -4764,28 +4305,7 @@ export type TestFeatureFlagResponse = TestFeatureFlagResponses[keyof TestFeature
4764
4305
  export type ListFunctionsData = {
4765
4306
  body?: never;
4766
4307
  path?: never;
4767
- query?: {
4768
- /**
4769
- * Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.
4770
- */
4771
- cursor?: string;
4772
- /**
4773
- * Maximum number of items to return per page. Defaults to 50, clamped to 200.
4774
- */
4775
- limit?: number;
4776
- /**
4777
- * Sort spec, formatted as `<key>:<direction>`. Allowed values are `createdAt:desc` (default), `createdAt:asc`, `name:asc`, `name:desc`. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
4778
- */
4779
- sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
4780
- /**
4781
- * Substring search across `metadata.name`, `metadata.displayName` and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
4782
- */
4783
- q?: string;
4784
- /**
4785
- * Start from a known pagination boundary. `end` is only supported for `createdAt:desc` listings and returns the oldest page directly without walking every cursor from the first page.
4786
- */
4787
- anchor?: 'end';
4788
- };
4308
+ query?: never;
4789
4309
  url: '/functions';
4790
4310
  };
4791
4311
  export type ListFunctionsErrors = {
@@ -4807,7 +4327,7 @@ export type ListFunctionsResponses = {
4807
4327
  /**
4808
4328
  * successful operation
4809
4329
  */
4810
- 200: FunctionList;
4330
+ 200: Array<_Function>;
4811
4331
  };
4812
4332
  export type ListFunctionsResponse = ListFunctionsResponses[keyof ListFunctionsResponses];
4813
4333
  export type CreateFunctionData = {
@@ -5530,35 +5050,14 @@ export type GetIntegrationConnectionModelResponses = {
5530
5050
  export type ListJobsData = {
5531
5051
  body?: never;
5532
5052
  path?: never;
5533
- query?: {
5534
- /**
5535
- * Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.
5536
- */
5537
- cursor?: string;
5538
- /**
5539
- * Maximum number of items to return per page. Defaults to 50, clamped to 200.
5540
- */
5541
- limit?: number;
5542
- /**
5543
- * Sort spec, formatted as `<key>:<direction>`. Allowed values are `createdAt:desc` (default), `createdAt:asc`, `name:asc`, `name:desc`. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
5544
- */
5545
- sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
5546
- /**
5547
- * Substring search across `metadata.name`, `metadata.displayName` and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
5548
- */
5549
- q?: string;
5550
- /**
5551
- * Start from a known pagination boundary. `end` is only supported for `createdAt:desc` listings and returns the oldest page directly without walking every cursor from the first page.
5552
- */
5553
- anchor?: 'end';
5554
- };
5053
+ query?: never;
5555
5054
  url: '/jobs';
5556
5055
  };
5557
5056
  export type ListJobsResponses = {
5558
5057
  /**
5559
5058
  * successful operation
5560
5059
  */
5561
- 200: JobList;
5060
+ 200: Array<Job>;
5562
5061
  };
5563
5062
  export type ListJobsResponse = ListJobsResponses[keyof ListJobsResponses];
5564
5063
  export type CreateJobData = {
@@ -5647,21 +5146,9 @@ export type ListJobExecutionsData = {
5647
5146
  */
5648
5147
  limit?: number;
5649
5148
  /**
5650
- * Page offset (legacy, ignored when Blaxel-Version >= 2026-04-28)
5149
+ * Page offset
5651
5150
  */
5652
5151
  offset?: number;
5653
- /**
5654
- * Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.
5655
- */
5656
- cursor?: string;
5657
- /**
5658
- * Sort spec, formatted as `<key>:<direction>`. Allowed values are `createdAt:desc` (default), `createdAt:asc`, `name:asc`, `name:desc`. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
5659
- */
5660
- sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
5661
- /**
5662
- * Substring search across `metadata.name`, `metadata.displayName` and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
5663
- */
5664
- q?: string;
5665
5152
  };
5666
5153
  url: '/jobs/{jobId}/executions';
5667
5154
  };
@@ -5679,7 +5166,7 @@ export type ListJobExecutionsResponses = {
5679
5166
  /**
5680
5167
  * successful operation
5681
5168
  */
5682
- 200: JobExecutionList;
5169
+ 200: Array<JobExecution>;
5683
5170
  };
5684
5171
  export type ListJobExecutionsResponse = ListJobExecutionsResponses[keyof ListJobExecutionsResponses];
5685
5172
  export type CreateJobExecutionData = {
@@ -5782,59 +5269,6 @@ export type GetJobExecutionResponses = {
5782
5269
  200: JobExecution;
5783
5270
  };
5784
5271
  export type GetJobExecutionResponse = GetJobExecutionResponses[keyof GetJobExecutionResponses];
5785
- export type ListJobExecutionTasksData = {
5786
- body?: never;
5787
- path: {
5788
- /**
5789
- * Name of the job
5790
- */
5791
- jobId: string;
5792
- /**
5793
- * Execution id
5794
- */
5795
- executionId: string;
5796
- };
5797
- query?: {
5798
- /**
5799
- * Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.
5800
- */
5801
- cursor?: string;
5802
- /**
5803
- * Maximum number of items to return per page. Defaults to 50, clamped to 200.
5804
- */
5805
- limit?: number;
5806
- /**
5807
- * Sort spec, formatted as `<key>:<direction>`. Allowed values are `createdAt:desc` (default), `createdAt:asc`, `name:asc`, `name:desc`. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
5808
- */
5809
- sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
5810
- /**
5811
- * Substring search across `metadata.name`, `metadata.displayName` and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
5812
- */
5813
- q?: string;
5814
- };
5815
- url: '/jobs/{jobId}/executions/{executionId}/tasks';
5816
- };
5817
- export type ListJobExecutionTasksErrors = {
5818
- /**
5819
- * bad request
5820
- */
5821
- 400: unknown;
5822
- /**
5823
- * job or execution not found
5824
- */
5825
- 404: unknown;
5826
- /**
5827
- * internal server error
5828
- */
5829
- 500: unknown;
5830
- };
5831
- export type ListJobExecutionTasksResponses = {
5832
- /**
5833
- * successful operation
5834
- */
5835
- 200: JobExecutionTaskList;
5836
- };
5837
- export type ListJobExecutionTasksResponse = ListJobExecutionTasksResponses[keyof ListJobExecutionTasksResponses];
5838
5272
  export type ListJobRevisionsData = {
5839
5273
  body?: never;
5840
5274
  path: {
@@ -5882,28 +5316,7 @@ export type ListMcpHubDefinitionsResponse = ListMcpHubDefinitionsResponses[keyof
5882
5316
  export type ListModelsData = {
5883
5317
  body?: never;
5884
5318
  path?: never;
5885
- query?: {
5886
- /**
5887
- * Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.
5888
- */
5889
- cursor?: string;
5890
- /**
5891
- * Maximum number of items to return per page. Defaults to 50, clamped to 200.
5892
- */
5893
- limit?: number;
5894
- /**
5895
- * Sort spec, formatted as `<key>:<direction>`. Allowed values are `createdAt:desc` (default), `createdAt:asc`, `name:asc`, `name:desc`. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
5896
- */
5897
- sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
5898
- /**
5899
- * Substring search across `metadata.name`, `metadata.displayName` and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
5900
- */
5901
- q?: string;
5902
- /**
5903
- * Start from a known pagination boundary. `end` is only supported for `createdAt:desc` listings and returns the oldest page directly without walking every cursor from the first page.
5904
- */
5905
- anchor?: 'end';
5906
- };
5319
+ query?: never;
5907
5320
  url: '/models';
5908
5321
  };
5909
5322
  export type ListModelsErrors = {
@@ -5925,7 +5338,7 @@ export type ListModelsResponses = {
5925
5338
  /**
5926
5339
  * successful operation
5927
5340
  */
5928
- 200: ModelList;
5341
+ 200: Array<Model>;
5929
5342
  };
5930
5343
  export type ListModelsResponse = ListModelsResponses[keyof ListModelsResponses];
5931
5344
  export type CreateModelData = {
@@ -6187,35 +5600,14 @@ export type DeclineImageShareResponse = DeclineImageShareResponses[keyof Decline
6187
5600
  export type ListPoliciesData = {
6188
5601
  body?: never;
6189
5602
  path?: never;
6190
- query?: {
6191
- /**
6192
- * Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.
6193
- */
6194
- cursor?: string;
6195
- /**
6196
- * Maximum number of items to return per page. Defaults to 50, clamped to 200.
6197
- */
6198
- limit?: number;
6199
- /**
6200
- * Sort spec, formatted as `<key>:<direction>`. Allowed values are `createdAt:desc` (default), `createdAt:asc`, `name:asc`, `name:desc`. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
6201
- */
6202
- sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
6203
- /**
6204
- * Substring search across `metadata.name`, `metadata.displayName` and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
6205
- */
6206
- q?: string;
6207
- /**
6208
- * Start from a known pagination boundary. `end` is only supported for `createdAt:desc` listings and returns the oldest page directly without walking every cursor from the first page.
6209
- */
6210
- anchor?: 'end';
6211
- };
5603
+ query?: never;
6212
5604
  url: '/policies';
6213
5605
  };
6214
5606
  export type ListPoliciesResponses = {
6215
5607
  /**
6216
5608
  * successful operation
6217
5609
  */
6218
- 200: PolicyList;
5610
+ 200: Array<Policy>;
6219
5611
  };
6220
5612
  export type ListPoliciesResponse = ListPoliciesResponses[keyof ListPoliciesResponses];
6221
5613
  export type CreatePolicyData = {
@@ -6285,24 +5677,6 @@ export type UpdatePolicyResponses = {
6285
5677
  200: Policy;
6286
5678
  };
6287
5679
  export type UpdatePolicyResponse = UpdatePolicyResponses[keyof UpdatePolicyResponses];
6288
- export type GetPolicyUsagesData = {
6289
- body?: never;
6290
- path: {
6291
- /**
6292
- * Unique name identifier of the policy
6293
- */
6294
- policyName: string;
6295
- };
6296
- query?: never;
6297
- url: '/policies/{policyName}/usages';
6298
- };
6299
- export type GetPolicyUsagesResponses = {
6300
- /**
6301
- * successful operation
6302
- */
6303
- 200: PolicyUsages;
6304
- };
6305
- export type GetPolicyUsagesResponse = GetPolicyUsagesResponses[keyof GetPolicyUsagesResponses];
6306
5680
  export type ListPublicIpsData = {
6307
5681
  body?: never;
6308
5682
  path?: never;
@@ -6337,32 +5711,7 @@ export type ListSandboxHubDefinitionsResponse = ListSandboxHubDefinitionsRespons
6337
5711
  export type ListSandboxesData = {
6338
5712
  body?: never;
6339
5713
  path?: never;
6340
- query?: {
6341
- /**
6342
- * If true, include terminated sandboxes in the response. Defaults to false.
6343
- */
6344
- showTerminated?: boolean;
6345
- /**
6346
- * Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.
6347
- */
6348
- cursor?: string;
6349
- /**
6350
- * Maximum number of items to return per page. Defaults to 50, clamped to 200.
6351
- */
6352
- limit?: number;
6353
- /**
6354
- * Sort spec, formatted as `<key>:<direction>`. Allowed values are `createdAt:desc` (default), `createdAt:asc`, `name:asc`, `name:desc`. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
6355
- */
6356
- sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
6357
- /**
6358
- * Substring search across `metadata.name`, `metadata.displayName` and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
6359
- */
6360
- q?: string;
6361
- /**
6362
- * Start from a known pagination boundary. `end` is only supported for `createdAt:desc` listings and returns the oldest page directly without walking every cursor from the first page.
6363
- */
6364
- anchor?: 'end';
6365
- };
5714
+ query?: never;
6366
5715
  url: '/sandboxes';
6367
5716
  };
6368
5717
  export type ListSandboxesErrors = {
@@ -6384,7 +5733,7 @@ export type ListSandboxesResponses = {
6384
5733
  /**
6385
5734
  * successful operation
6386
5735
  */
6387
- 200: SandboxList;
5736
+ 200: Array<Sandbox>;
6388
5737
  };
6389
5738
  export type ListSandboxesResponse = ListSandboxesResponses[keyof ListSandboxesResponses];
6390
5739
  export type CreateSandboxData = {
@@ -6574,12 +5923,7 @@ export type CreateSandboxPreviewData = {
6574
5923
  */
6575
5924
  sandboxName: string;
6576
5925
  };
6577
- query?: {
6578
- /**
6579
- * Force creation by deleting conflicting previews that use the same custom domain prefix URL
6580
- */
6581
- force?: boolean;
6582
- };
5926
+ query?: never;
6583
5927
  url: '/sandboxes/{sandboxName}/previews';
6584
5928
  };
6585
5929
  export type CreateSandboxPreviewResponses = {
@@ -7228,28 +6572,7 @@ export type DeleteVolumeTemplateVersionResponse = DeleteVolumeTemplateVersionRes
7228
6572
  export type ListVolumesData = {
7229
6573
  body?: never;
7230
6574
  path?: never;
7231
- query?: {
7232
- /**
7233
- * Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.
7234
- */
7235
- cursor?: string;
7236
- /**
7237
- * Maximum number of items to return per page. Defaults to 50, clamped to 200.
7238
- */
7239
- limit?: number;
7240
- /**
7241
- * Sort spec, formatted as `<key>:<direction>`. Allowed values are `createdAt:desc` (default), `createdAt:asc`, `name:asc`, `name:desc`. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
7242
- */
7243
- sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
7244
- /**
7245
- * Substring search across `metadata.name`, `metadata.displayName` and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
7246
- */
7247
- q?: string;
7248
- /**
7249
- * Start from a known pagination boundary. `end` is only supported for `createdAt:desc` listings and returns the oldest page directly without walking every cursor from the first page.
7250
- */
7251
- anchor?: 'end';
7252
- };
6575
+ query?: never;
7253
6576
  url: '/volumes';
7254
6577
  };
7255
6578
  export type ListVolumesErrors = {
@@ -7271,7 +6594,7 @@ export type ListVolumesResponses = {
7271
6594
  /**
7272
6595
  * successful operation
7273
6596
  */
7274
- 200: VolumeList;
6597
+ 200: Array<Volume>;
7275
6598
  };
7276
6599
  export type ListVolumesResponse = ListVolumesResponses[keyof ListVolumesResponses];
7277
6600
  export type CreateVolumeData = {
@@ -7695,12 +7018,7 @@ export type GetWorkspaceData = {
7695
7018
  */
7696
7019
  workspaceName: string;
7697
7020
  };
7698
- query?: {
7699
- /**
7700
- * When true, the response includes a resourceCounts map with the number of agents, functions, models, sandboxes, policies, jobs, volumes, volumetemplates, integrationconnections, previews, customdomains, serviceaccounts and images currently in this workspace. Off by default — each count is one extra indexed query.
7701
- */
7702
- countResources?: boolean;
7703
- };
7021
+ query?: never;
7704
7022
  url: '/workspaces/{workspaceName}';
7705
7023
  };
7706
7024
  export type GetWorkspaceErrors = {