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

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 +47 -707
  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 +47 -707
  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
  */
@@ -786,6 +736,15 @@ export type ExpirationPolicy = {
786
736
  */
787
737
  value?: string;
788
738
  };
739
+ /**
740
+ * Firewall configuration specifying which network lockdown rulesets to apply. Valid rulesets are "default" (no-op), "proxy" (restrict egress to proxy), and "dedicated-ip" (restrict egress to dedicated IP gateway).
741
+ */
742
+ export type FirewallConfig = {
743
+ /**
744
+ * List of firewall rulesets to apply. Valid values: "default" (no-op), "proxy" (restrict egress to proxy), "dedicated-ip" (restrict egress to dedicated IP gateway).
745
+ */
746
+ rulesets?: Array<string>;
747
+ };
789
748
  /**
790
749
  * A type of hardware available for deployments
791
750
  */
@@ -839,26 +798,6 @@ export type FunctionWritable = {
839
798
  spec: FunctionSpecWritable;
840
799
  status?: Status;
841
800
  };
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
801
  /**
863
802
  * Runtime configuration defining how the MCP server function is deployed and scaled
864
803
  */
@@ -1306,26 +1245,6 @@ export type JobExecutionWritable = {
1306
1245
  */
1307
1246
  tasks?: Array<JobExecutionTaskWritable>;
1308
1247
  };
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
1248
  /**
1330
1249
  * Job execution metadata
1331
1250
  */
@@ -1585,26 +1504,6 @@ export type JobExecutionTaskCondition = {
1585
1504
  */
1586
1505
  type?: string;
1587
1506
  };
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
1507
  /**
1609
1508
  * Job execution task metadata
1610
1509
  */
@@ -1660,26 +1559,6 @@ export type JobExecutionTaskSpec = {
1660
1559
  * Job execution task status
1661
1560
  */
1662
1561
  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
1562
  /**
1684
1563
  * Runtime configuration defining how batch job tasks are executed with parallelism and retry settings
1685
1564
  */
@@ -1778,60 +1657,6 @@ export type JobVolume = {
1778
1657
  type: 'ephemeral';
1779
1658
  };
1780
1659
  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
1660
  /**
1836
1661
  * Location availability for policies
1837
1662
  */
@@ -2055,26 +1880,6 @@ export type ModelWritable = {
2055
1880
  spec: ModelSpec;
2056
1881
  status?: Status;
2057
1882
  };
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
1883
  /**
2079
1884
  * Configuration identifying which external LLM provider and model this gateway endpoint proxies to
2080
1885
  */
@@ -2154,23 +1959,6 @@ export type OwnerFields = {
2154
1959
  */
2155
1960
  readonly updatedBy?: string;
2156
1961
  };
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
1962
  /**
2175
1963
  * Pending cross-account image share awaiting approval from the destination workspace
2176
1964
  */
@@ -2482,7 +2270,6 @@ export type PoliciesList = Array<string>;
2482
2270
  export type Policy = {
2483
2271
  metadata: Metadata;
2484
2272
  spec: PolicySpec;
2485
- usage?: PolicyUsageCounts;
2486
2273
  };
2487
2274
  /**
2488
2275
  * Rule that controls how a deployment is made and served (e.g. location restrictions)
@@ -2490,27 +2277,6 @@ export type Policy = {
2490
2277
  export type PolicyWritable = {
2491
2278
  metadata: MetadataWritable;
2492
2279
  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
2280
  };
2515
2281
  /**
2516
2282
  * Policy location
@@ -2583,51 +2349,6 @@ export type PolicySpec = {
2583
2349
  */
2584
2350
  type?: 'location' | 'flavor' | 'maxToken';
2585
2351
  };
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
2352
  /**
2632
2353
  * A port for a resource
2633
2354
  */
@@ -2885,10 +2606,18 @@ export type PrivateLocation = {
2885
2606
  * Proxy configuration for routing sandbox HTTP traffic through the platform proxy with MITM inspection and per-destination header/body injection
2886
2607
  */
2887
2608
  export type ProxyConfig = {
2609
+ /**
2610
+ * List of allowed external domains (allowlist). When set, only these domains are reachable. Supports wildcards (e.g. *.s3.amazonaws.com).
2611
+ */
2612
+ allowedDomains?: Array<string>;
2888
2613
  /**
2889
2614
  * Domains that bypass the proxy entirely via the NO_PROXY directive. Traffic to these destinations goes direct, not through the CONNECT tunnel. Supports wildcards. Note that localhost, private ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), 169.254.169.254, .local and .internal are always bypassed by default.
2890
2615
  */
2891
2616
  bypass?: Array<string>;
2617
+ /**
2618
+ * List of forbidden external domains (denylist). When set, all domains except these are reachable. Supports wildcards (e.g. *.malware.com). If both allowedDomains and forbiddenDomains are set, allowedDomains takes precedence.
2619
+ */
2620
+ forbiddenDomains?: Array<string>;
2892
2621
  /**
2893
2622
  * Per-destination routing rules with header/body injection and secrets. Use destinations ["*"] for global rules that apply to all destinations.
2894
2623
  */
@@ -3340,39 +3069,24 @@ export type SandboxLifecycle = {
3340
3069
  terminatedRetention?: string;
3341
3070
  };
3342
3071
  /**
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
- /**
3363
- * Network configuration for a sandbox including domain filtering, egress IP binding, and proxy settings
3072
+ * Network configuration for a sandbox including subnet, firewall rulesets, domain filtering, egress IP binding, and proxy settings
3364
3073
  */
3365
3074
  export type SandboxNetwork = {
3366
3075
  /**
3367
- * List of allowed external domains (allowlist). When set, only these domains are reachable. Supports wildcards (e.g. *.s3.amazonaws.com).
3076
+ * Deprecated: use proxy.allowedDomains instead. List of allowed external domains (allowlist). Kept for backward compatibility.
3368
3077
  */
3369
3078
  allowedDomains?: Array<string>;
3370
3079
  egress?: EgressConfig;
3080
+ firewall?: FirewallConfig;
3371
3081
  /**
3372
- * List of forbidden external domains (denylist). When set, all domains except these are reachable. Supports wildcards (e.g. *.malware.com). If both allowedDomains and forbiddenDomains are set, allowedDomains takes precedence.
3082
+ * Deprecated: use proxy.forbiddenDomains instead. List of forbidden external domains (denylist). Kept for backward compatibility.
3373
3083
  */
3374
3084
  forbiddenDomains?: Array<string>;
3375
3085
  proxy?: ProxyConfig;
3086
+ /**
3087
+ * Subnet name for the sandbox. Takes priority over any subnet derived from egress config. Defaults to "default" when absent.
3088
+ */
3089
+ subnet?: string;
3376
3090
  };
3377
3091
  /**
3378
3092
  * Runtime configuration defining how the sandbox VM is provisioned and its resource limits
@@ -3532,7 +3246,7 @@ export type Trigger = {
3532
3246
  */
3533
3247
  enabled?: boolean;
3534
3248
  /**
3535
- * Identifier of the trigger. Optional — the server auto-generates a unique id when one is not provided, and disambiguates duplicates within a resource.
3249
+ * The id of the trigger
3536
3250
  */
3537
3251
  id?: string;
3538
3252
  /**
@@ -3550,7 +3264,7 @@ export type TriggerWritable = {
3550
3264
  */
3551
3265
  enabled?: boolean;
3552
3266
  /**
3553
- * Identifier of the trigger. Optional — the server auto-generates a unique id when one is not provided, and disambiguates duplicates within a resource.
3267
+ * The id of the trigger
3554
3268
  */
3555
3269
  id?: string;
3556
3270
  /**
@@ -3710,26 +3424,6 @@ export type VolumeAttachment = {
3710
3424
  readOnly?: boolean;
3711
3425
  };
3712
3426
  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
3427
  /**
3734
3428
  * Immutable volume configuration set at creation time (size and region cannot be changed after creation)
3735
3429
  */
@@ -3936,12 +3630,6 @@ export type Workspace = TimeFields & OwnerFields & {
3936
3630
  * Workspace write region
3937
3631
  */
3938
3632
  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
3633
  runtime?: WorkspaceRuntime;
3946
3634
  /**
3947
3635
  * Workspace status (created, account_binded, account_configured, workspace_configured, ready, error)
@@ -4000,52 +3688,6 @@ export type WorkspaceAvailability = {
4000
3688
  */
4001
3689
  reason?: 'taken' | 'forbidden_reserved' | 'forbidden_blaxel' | 'forbidden_v_prefix';
4002
3690
  };
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
3691
  /**
4050
3692
  * Runtime configuration for the workspace infrastructure
4051
3693
  */
@@ -4096,55 +3738,10 @@ export type WorkspaceUser = {
4096
3738
  */
4097
3739
  sub?: string;
4098
3740
  };
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
3741
  export type ListAgentsData = {
4124
3742
  body?: never;
4125
3743
  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
- };
3744
+ query?: never;
4148
3745
  url: '/agents';
4149
3746
  };
4150
3747
  export type ListAgentsErrors = {
@@ -4166,7 +3763,7 @@ export type ListAgentsResponses = {
4166
3763
  /**
4167
3764
  * successful operation
4168
3765
  */
4169
- 200: AgentList;
3766
+ 200: Array<Agent>;
4170
3767
  };
4171
3768
  export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
4172
3769
  export type CreateAgentData = {
@@ -4457,28 +4054,7 @@ export type VerifyCustomDomainResponse = VerifyCustomDomainResponses[keyof Verif
4457
4054
  export type ListDrivesData = {
4458
4055
  body?: never;
4459
4056
  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
- };
4057
+ query?: never;
4482
4058
  url: '/drives';
4483
4059
  };
4484
4060
  export type ListDrivesErrors = {
@@ -4491,7 +4067,7 @@ export type ListDrivesResponses = {
4491
4067
  /**
4492
4068
  * successful operation
4493
4069
  */
4494
- 200: DriveList;
4070
+ 200: Array<Drive>;
4495
4071
  };
4496
4072
  export type ListDrivesResponse = ListDrivesResponses[keyof ListDrivesResponses];
4497
4073
  export type CreateDriveData = {
@@ -4654,19 +4230,6 @@ export type ListAllEgressGatewaysResponses = {
4654
4230
  200: Array<EgressGateway>;
4655
4231
  };
4656
4232
  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
4233
  export type ListAllEgressIpsData = {
4671
4234
  body?: never;
4672
4235
  path?: never;
@@ -4764,28 +4327,7 @@ export type TestFeatureFlagResponse = TestFeatureFlagResponses[keyof TestFeature
4764
4327
  export type ListFunctionsData = {
4765
4328
  body?: never;
4766
4329
  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
- };
4330
+ query?: never;
4789
4331
  url: '/functions';
4790
4332
  };
4791
4333
  export type ListFunctionsErrors = {
@@ -4807,7 +4349,7 @@ export type ListFunctionsResponses = {
4807
4349
  /**
4808
4350
  * successful operation
4809
4351
  */
4810
- 200: FunctionList;
4352
+ 200: Array<_Function>;
4811
4353
  };
4812
4354
  export type ListFunctionsResponse = ListFunctionsResponses[keyof ListFunctionsResponses];
4813
4355
  export type CreateFunctionData = {
@@ -5530,35 +5072,14 @@ export type GetIntegrationConnectionModelResponses = {
5530
5072
  export type ListJobsData = {
5531
5073
  body?: never;
5532
5074
  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
- };
5075
+ query?: never;
5555
5076
  url: '/jobs';
5556
5077
  };
5557
5078
  export type ListJobsResponses = {
5558
5079
  /**
5559
5080
  * successful operation
5560
5081
  */
5561
- 200: JobList;
5082
+ 200: Array<Job>;
5562
5083
  };
5563
5084
  export type ListJobsResponse = ListJobsResponses[keyof ListJobsResponses];
5564
5085
  export type CreateJobData = {
@@ -5647,21 +5168,9 @@ export type ListJobExecutionsData = {
5647
5168
  */
5648
5169
  limit?: number;
5649
5170
  /**
5650
- * Page offset (legacy, ignored when Blaxel-Version >= 2026-04-28)
5171
+ * Page offset
5651
5172
  */
5652
5173
  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
5174
  };
5666
5175
  url: '/jobs/{jobId}/executions';
5667
5176
  };
@@ -5679,7 +5188,7 @@ export type ListJobExecutionsResponses = {
5679
5188
  /**
5680
5189
  * successful operation
5681
5190
  */
5682
- 200: JobExecutionList;
5191
+ 200: Array<JobExecution>;
5683
5192
  };
5684
5193
  export type ListJobExecutionsResponse = ListJobExecutionsResponses[keyof ListJobExecutionsResponses];
5685
5194
  export type CreateJobExecutionData = {
@@ -5782,59 +5291,6 @@ export type GetJobExecutionResponses = {
5782
5291
  200: JobExecution;
5783
5292
  };
5784
5293
  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
5294
  export type ListJobRevisionsData = {
5839
5295
  body?: never;
5840
5296
  path: {
@@ -5882,28 +5338,7 @@ export type ListMcpHubDefinitionsResponse = ListMcpHubDefinitionsResponses[keyof
5882
5338
  export type ListModelsData = {
5883
5339
  body?: never;
5884
5340
  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
- };
5341
+ query?: never;
5907
5342
  url: '/models';
5908
5343
  };
5909
5344
  export type ListModelsErrors = {
@@ -5925,7 +5360,7 @@ export type ListModelsResponses = {
5925
5360
  /**
5926
5361
  * successful operation
5927
5362
  */
5928
- 200: ModelList;
5363
+ 200: Array<Model>;
5929
5364
  };
5930
5365
  export type ListModelsResponse = ListModelsResponses[keyof ListModelsResponses];
5931
5366
  export type CreateModelData = {
@@ -6187,35 +5622,14 @@ export type DeclineImageShareResponse = DeclineImageShareResponses[keyof Decline
6187
5622
  export type ListPoliciesData = {
6188
5623
  body?: never;
6189
5624
  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
- };
5625
+ query?: never;
6212
5626
  url: '/policies';
6213
5627
  };
6214
5628
  export type ListPoliciesResponses = {
6215
5629
  /**
6216
5630
  * successful operation
6217
5631
  */
6218
- 200: PolicyList;
5632
+ 200: Array<Policy>;
6219
5633
  };
6220
5634
  export type ListPoliciesResponse = ListPoliciesResponses[keyof ListPoliciesResponses];
6221
5635
  export type CreatePolicyData = {
@@ -6285,24 +5699,6 @@ export type UpdatePolicyResponses = {
6285
5699
  200: Policy;
6286
5700
  };
6287
5701
  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
5702
  export type ListPublicIpsData = {
6307
5703
  body?: never;
6308
5704
  path?: never;
@@ -6337,32 +5733,7 @@ export type ListSandboxHubDefinitionsResponse = ListSandboxHubDefinitionsRespons
6337
5733
  export type ListSandboxesData = {
6338
5734
  body?: never;
6339
5735
  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
- };
5736
+ query?: never;
6366
5737
  url: '/sandboxes';
6367
5738
  };
6368
5739
  export type ListSandboxesErrors = {
@@ -6384,7 +5755,7 @@ export type ListSandboxesResponses = {
6384
5755
  /**
6385
5756
  * successful operation
6386
5757
  */
6387
- 200: SandboxList;
5758
+ 200: Array<Sandbox>;
6388
5759
  };
6389
5760
  export type ListSandboxesResponse = ListSandboxesResponses[keyof ListSandboxesResponses];
6390
5761
  export type CreateSandboxData = {
@@ -6574,12 +5945,7 @@ export type CreateSandboxPreviewData = {
6574
5945
  */
6575
5946
  sandboxName: string;
6576
5947
  };
6577
- query?: {
6578
- /**
6579
- * Force creation by deleting conflicting previews that use the same custom domain prefix URL
6580
- */
6581
- force?: boolean;
6582
- };
5948
+ query?: never;
6583
5949
  url: '/sandboxes/{sandboxName}/previews';
6584
5950
  };
6585
5951
  export type CreateSandboxPreviewResponses = {
@@ -7228,28 +6594,7 @@ export type DeleteVolumeTemplateVersionResponse = DeleteVolumeTemplateVersionRes
7228
6594
  export type ListVolumesData = {
7229
6595
  body?: never;
7230
6596
  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
- };
6597
+ query?: never;
7253
6598
  url: '/volumes';
7254
6599
  };
7255
6600
  export type ListVolumesErrors = {
@@ -7271,7 +6616,7 @@ export type ListVolumesResponses = {
7271
6616
  /**
7272
6617
  * successful operation
7273
6618
  */
7274
- 200: VolumeList;
6619
+ 200: Array<Volume>;
7275
6620
  };
7276
6621
  export type ListVolumesResponse = ListVolumesResponses[keyof ListVolumesResponses];
7277
6622
  export type CreateVolumeData = {
@@ -7695,12 +7040,7 @@ export type GetWorkspaceData = {
7695
7040
  */
7696
7041
  workspaceName: string;
7697
7042
  };
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
- };
7043
+ query?: never;
7704
7044
  url: '/workspaces/{workspaceName}';
7705
7045
  };
7706
7046
  export type GetWorkspaceErrors = {