@blaxel/core 0.2.89 → 0.2.90-dev.181

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 (80) hide show
  1. package/README.md +37 -2
  2. package/dist/cjs/.tsbuildinfo +1 -1
  3. package/dist/cjs/client/sdk.gen.js +63 -12
  4. package/dist/cjs/common/h2fetch.js +1 -1
  5. package/dist/cjs/common/pagination.js +87 -0
  6. package/dist/cjs/common/pagination.test.js +62 -0
  7. package/dist/cjs/common/settings.js +3 -3
  8. package/dist/cjs/common/settings.test.js +3 -3
  9. package/dist/cjs/drive/index.js +39 -3
  10. package/dist/cjs/index.js +1 -0
  11. package/dist/cjs/jobs/jobs.js +42 -9
  12. package/dist/cjs/sandbox/client/sdk.gen.js +1 -1
  13. package/dist/cjs/sandbox/preview.js +8 -3
  14. package/dist/cjs/sandbox/sandbox.js +41 -4
  15. package/dist/cjs/types/client/sdk.gen.d.ts +34 -19
  16. package/dist/cjs/types/client/types.gen.d.ts +704 -22
  17. package/dist/cjs/types/common/pagination.d.ts +35 -0
  18. package/dist/cjs/types/common/pagination.test.d.ts +1 -0
  19. package/dist/cjs/types/drive/index.d.ts +35 -4
  20. package/dist/cjs/types/index.d.ts +1 -0
  21. package/dist/cjs/types/jobs/jobs.d.ts +33 -3
  22. package/dist/cjs/types/sandbox/client/sdk.gen.d.ts +1 -1
  23. package/dist/cjs/types/sandbox/client/types.gen.d.ts +24 -0
  24. package/dist/cjs/types/sandbox/preview.d.ts +2 -2
  25. package/dist/cjs/types/sandbox/sandbox.d.ts +36 -2
  26. package/dist/cjs/types/volume/index.d.ts +37 -4
  27. package/dist/cjs/volume/index.js +41 -3
  28. package/dist/cjs-browser/.tsbuildinfo +1 -1
  29. package/dist/cjs-browser/client/sdk.gen.js +63 -12
  30. package/dist/cjs-browser/common/pagination.js +87 -0
  31. package/dist/cjs-browser/common/pagination.test.js +62 -0
  32. package/dist/cjs-browser/common/settings.js +3 -3
  33. package/dist/cjs-browser/common/settings.test.js +3 -3
  34. package/dist/cjs-browser/drive/index.js +39 -3
  35. package/dist/cjs-browser/index.js +1 -0
  36. package/dist/cjs-browser/jobs/jobs.js +42 -9
  37. package/dist/cjs-browser/sandbox/client/sdk.gen.js +1 -1
  38. package/dist/cjs-browser/sandbox/preview.js +8 -3
  39. package/dist/cjs-browser/sandbox/sandbox.js +41 -4
  40. package/dist/cjs-browser/types/client/sdk.gen.d.ts +34 -19
  41. package/dist/cjs-browser/types/client/types.gen.d.ts +704 -22
  42. package/dist/cjs-browser/types/common/pagination.d.ts +35 -0
  43. package/dist/cjs-browser/types/common/pagination.test.d.ts +1 -0
  44. package/dist/cjs-browser/types/drive/index.d.ts +35 -4
  45. package/dist/cjs-browser/types/index.d.ts +1 -0
  46. package/dist/cjs-browser/types/jobs/jobs.d.ts +33 -3
  47. package/dist/cjs-browser/types/sandbox/client/sdk.gen.d.ts +1 -1
  48. package/dist/cjs-browser/types/sandbox/client/types.gen.d.ts +24 -0
  49. package/dist/cjs-browser/types/sandbox/preview.d.ts +2 -2
  50. package/dist/cjs-browser/types/sandbox/sandbox.d.ts +36 -2
  51. package/dist/cjs-browser/types/volume/index.d.ts +37 -4
  52. package/dist/cjs-browser/volume/index.js +41 -3
  53. package/dist/esm/.tsbuildinfo +1 -1
  54. package/dist/esm/client/sdk.gen.js +57 -9
  55. package/dist/esm/common/h2fetch.js +1 -1
  56. package/dist/esm/common/pagination.js +83 -0
  57. package/dist/esm/common/pagination.test.js +60 -0
  58. package/dist/esm/common/settings.js +3 -3
  59. package/dist/esm/common/settings.test.js +3 -3
  60. package/dist/esm/drive/index.js +39 -3
  61. package/dist/esm/index.js +1 -0
  62. package/dist/esm/jobs/jobs.js +42 -9
  63. package/dist/esm/sandbox/client/sdk.gen.js +1 -1
  64. package/dist/esm/sandbox/preview.js +8 -3
  65. package/dist/esm/sandbox/sandbox.js +41 -4
  66. package/dist/esm/volume/index.js +41 -3
  67. package/dist/esm-browser/.tsbuildinfo +1 -1
  68. package/dist/esm-browser/client/sdk.gen.js +57 -9
  69. package/dist/esm-browser/common/pagination.js +83 -0
  70. package/dist/esm-browser/common/pagination.test.js +60 -0
  71. package/dist/esm-browser/common/settings.js +3 -3
  72. package/dist/esm-browser/common/settings.test.js +3 -3
  73. package/dist/esm-browser/drive/index.js +39 -3
  74. package/dist/esm-browser/index.js +1 -0
  75. package/dist/esm-browser/jobs/jobs.js +42 -9
  76. package/dist/esm-browser/sandbox/client/sdk.gen.js +1 -1
  77. package/dist/esm-browser/sandbox/preview.js +8 -3
  78. package/dist/esm-browser/sandbox/sandbox.js +41 -4
  79. package/dist/esm-browser/volume/index.js +41 -3
  80. package/package.json +1 -1
@@ -16,6 +16,26 @@ 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
+ };
19
39
  /**
20
40
  * Runtime configuration defining how the AI agent is deployed and scaled globally
21
41
  */
@@ -149,6 +169,10 @@ export type Configuration = {
149
169
  * Countries
150
170
  */
151
171
  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;
152
176
  /**
153
177
  * Private locations managed with blaxel operator
154
178
  */
@@ -446,6 +470,26 @@ export type DriveWritable = {
446
470
  spec: DriveSpecWritable;
447
471
  state?: DriveStateWritable;
448
472
  };
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
+ };
449
493
  /**
450
494
  * Immutable drive configuration set at creation time
451
495
  */
@@ -563,6 +607,12 @@ export type EgressGatewaySpec = {
563
607
  */
564
608
  region: string;
565
609
  };
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
+ };
566
616
  /**
567
617
  * An individual IP address allocated from an egress gateway for dedicated outbound traffic
568
618
  */
@@ -789,6 +839,26 @@ export type FunctionWritable = {
789
839
  spec: FunctionSpecWritable;
790
840
  status?: Status;
791
841
  };
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
+ };
792
862
  /**
793
863
  * Runtime configuration defining how the MCP server function is deployed and scaled
794
864
  */
@@ -1236,6 +1306,26 @@ export type JobExecutionWritable = {
1236
1306
  */
1237
1307
  tasks?: Array<JobExecutionTaskWritable>;
1238
1308
  };
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
+ };
1239
1329
  /**
1240
1330
  * Job execution metadata
1241
1331
  */
@@ -1495,6 +1585,26 @@ export type JobExecutionTaskCondition = {
1495
1585
  */
1496
1586
  type?: string;
1497
1587
  };
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
+ };
1498
1608
  /**
1499
1609
  * Job execution task metadata
1500
1610
  */
@@ -1550,6 +1660,26 @@ export type JobExecutionTaskSpec = {
1550
1660
  * Job execution task status
1551
1661
  */
1552
1662
  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
+ };
1553
1683
  /**
1554
1684
  * Runtime configuration defining how batch job tasks are executed with parallelism and retry settings
1555
1685
  */
@@ -1648,6 +1778,60 @@ export type JobVolume = {
1648
1778
  type: 'ephemeral';
1649
1779
  };
1650
1780
  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
+ };
1651
1835
  /**
1652
1836
  * Location availability for policies
1653
1837
  */
@@ -1871,6 +2055,26 @@ export type ModelWritable = {
1871
2055
  spec: ModelSpec;
1872
2056
  status?: Status;
1873
2057
  };
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
+ };
1874
2078
  /**
1875
2079
  * Configuration identifying which external LLM provider and model this gateway endpoint proxies to
1876
2080
  */
@@ -1950,6 +2154,23 @@ export type OwnerFields = {
1950
2154
  */
1951
2155
  readonly updatedBy?: string;
1952
2156
  };
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
+ };
1953
2174
  /**
1954
2175
  * Pending cross-account image share awaiting approval from the destination workspace
1955
2176
  */
@@ -2261,6 +2482,7 @@ export type PoliciesList = Array<string>;
2261
2482
  export type Policy = {
2262
2483
  metadata: Metadata;
2263
2484
  spec: PolicySpec;
2485
+ usage?: PolicyUsageCounts;
2264
2486
  };
2265
2487
  /**
2266
2488
  * Rule that controls how a deployment is made and served (e.g. location restrictions)
@@ -2268,6 +2490,27 @@ export type Policy = {
2268
2490
  export type PolicyWritable = {
2269
2491
  metadata: MetadataWritable;
2270
2492
  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;
2271
2514
  };
2272
2515
  /**
2273
2516
  * Policy location
@@ -2340,6 +2583,51 @@ export type PolicySpec = {
2340
2583
  */
2341
2584
  type?: 'location' | 'flavor' | 'maxToken';
2342
2585
  };
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
+ };
2343
2631
  /**
2344
2632
  * A port for a resource
2345
2633
  */
@@ -3051,6 +3339,26 @@ export type SandboxLifecycle = {
3051
3339
  */
3052
3340
  terminatedRetention?: string;
3053
3341
  };
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
+ };
3054
3362
  /**
3055
3363
  * Network configuration for a sandbox including domain filtering, egress IP binding, and proxy settings
3056
3364
  */
@@ -3224,7 +3532,7 @@ export type Trigger = {
3224
3532
  */
3225
3533
  enabled?: boolean;
3226
3534
  /**
3227
- * The id of the trigger
3535
+ * Identifier of the trigger. Optional — the server auto-generates a unique id when one is not provided, and disambiguates duplicates within a resource.
3228
3536
  */
3229
3537
  id?: string;
3230
3538
  /**
@@ -3242,7 +3550,7 @@ export type TriggerWritable = {
3242
3550
  */
3243
3551
  enabled?: boolean;
3244
3552
  /**
3245
- * The id of the trigger
3553
+ * Identifier of the trigger. Optional — the server auto-generates a unique id when one is not provided, and disambiguates duplicates within a resource.
3246
3554
  */
3247
3555
  id?: string;
3248
3556
  /**
@@ -3402,6 +3710,26 @@ export type VolumeAttachment = {
3402
3710
  readOnly?: boolean;
3403
3711
  };
3404
3712
  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
+ };
3405
3733
  /**
3406
3734
  * Immutable volume configuration set at creation time (size and region cannot be changed after creation)
3407
3735
  */
@@ -3608,6 +3936,12 @@ export type Workspace = TimeFields & OwnerFields & {
3608
3936
  * Workspace write region
3609
3937
  */
3610
3938
  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
+ };
3611
3945
  runtime?: WorkspaceRuntime;
3612
3946
  /**
3613
3947
  * Workspace status (created, account_binded, account_configured, workspace_configured, ready, error)
@@ -3666,6 +4000,52 @@ export type WorkspaceAvailability = {
3666
4000
  */
3667
4001
  reason?: 'taken' | 'forbidden_reserved' | 'forbidden_blaxel' | 'forbidden_v_prefix';
3668
4002
  };
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
+ };
3669
4049
  /**
3670
4050
  * Runtime configuration for the workspace infrastructure
3671
4051
  */
@@ -3716,10 +4096,55 @@ export type WorkspaceUser = {
3716
4096
  */
3717
4097
  sub?: string;
3718
4098
  };
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';
3719
4123
  export type ListAgentsData = {
3720
4124
  body?: never;
3721
4125
  path?: never;
3722
- query?: 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
+ };
3723
4148
  url: '/agents';
3724
4149
  };
3725
4150
  export type ListAgentsErrors = {
@@ -3741,7 +4166,7 @@ export type ListAgentsResponses = {
3741
4166
  /**
3742
4167
  * successful operation
3743
4168
  */
3744
- 200: Array<Agent>;
4169
+ 200: AgentList;
3745
4170
  };
3746
4171
  export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
3747
4172
  export type CreateAgentData = {
@@ -4032,7 +4457,28 @@ export type VerifyCustomDomainResponse = VerifyCustomDomainResponses[keyof Verif
4032
4457
  export type ListDrivesData = {
4033
4458
  body?: never;
4034
4459
  path?: never;
4035
- query?: 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
+ };
4036
4482
  url: '/drives';
4037
4483
  };
4038
4484
  export type ListDrivesErrors = {
@@ -4045,7 +4491,7 @@ export type ListDrivesResponses = {
4045
4491
  /**
4046
4492
  * successful operation
4047
4493
  */
4048
- 200: Array<Drive>;
4494
+ 200: DriveList;
4049
4495
  };
4050
4496
  export type ListDrivesResponse = ListDrivesResponses[keyof ListDrivesResponses];
4051
4497
  export type CreateDriveData = {
@@ -4208,6 +4654,19 @@ export type ListAllEgressGatewaysResponses = {
4208
4654
  200: Array<EgressGateway>;
4209
4655
  };
4210
4656
  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];
4211
4670
  export type ListAllEgressIpsData = {
4212
4671
  body?: never;
4213
4672
  path?: never;
@@ -4305,7 +4764,28 @@ export type TestFeatureFlagResponse = TestFeatureFlagResponses[keyof TestFeature
4305
4764
  export type ListFunctionsData = {
4306
4765
  body?: never;
4307
4766
  path?: never;
4308
- query?: 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
+ };
4309
4789
  url: '/functions';
4310
4790
  };
4311
4791
  export type ListFunctionsErrors = {
@@ -4327,7 +4807,7 @@ export type ListFunctionsResponses = {
4327
4807
  /**
4328
4808
  * successful operation
4329
4809
  */
4330
- 200: Array<_Function>;
4810
+ 200: FunctionList;
4331
4811
  };
4332
4812
  export type ListFunctionsResponse = ListFunctionsResponses[keyof ListFunctionsResponses];
4333
4813
  export type CreateFunctionData = {
@@ -5050,14 +5530,35 @@ export type GetIntegrationConnectionModelResponses = {
5050
5530
  export type ListJobsData = {
5051
5531
  body?: never;
5052
5532
  path?: never;
5053
- query?: 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
+ };
5054
5555
  url: '/jobs';
5055
5556
  };
5056
5557
  export type ListJobsResponses = {
5057
5558
  /**
5058
5559
  * successful operation
5059
5560
  */
5060
- 200: Array<Job>;
5561
+ 200: JobList;
5061
5562
  };
5062
5563
  export type ListJobsResponse = ListJobsResponses[keyof ListJobsResponses];
5063
5564
  export type CreateJobData = {
@@ -5146,9 +5647,21 @@ export type ListJobExecutionsData = {
5146
5647
  */
5147
5648
  limit?: number;
5148
5649
  /**
5149
- * Page offset
5650
+ * Page offset (legacy, ignored when Blaxel-Version >= 2026-04-28)
5150
5651
  */
5151
5652
  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;
5152
5665
  };
5153
5666
  url: '/jobs/{jobId}/executions';
5154
5667
  };
@@ -5166,7 +5679,7 @@ export type ListJobExecutionsResponses = {
5166
5679
  /**
5167
5680
  * successful operation
5168
5681
  */
5169
- 200: Array<JobExecution>;
5682
+ 200: JobExecutionList;
5170
5683
  };
5171
5684
  export type ListJobExecutionsResponse = ListJobExecutionsResponses[keyof ListJobExecutionsResponses];
5172
5685
  export type CreateJobExecutionData = {
@@ -5269,6 +5782,59 @@ export type GetJobExecutionResponses = {
5269
5782
  200: JobExecution;
5270
5783
  };
5271
5784
  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];
5272
5838
  export type ListJobRevisionsData = {
5273
5839
  body?: never;
5274
5840
  path: {
@@ -5316,7 +5882,28 @@ export type ListMcpHubDefinitionsResponse = ListMcpHubDefinitionsResponses[keyof
5316
5882
  export type ListModelsData = {
5317
5883
  body?: never;
5318
5884
  path?: never;
5319
- query?: 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
+ };
5320
5907
  url: '/models';
5321
5908
  };
5322
5909
  export type ListModelsErrors = {
@@ -5338,7 +5925,7 @@ export type ListModelsResponses = {
5338
5925
  /**
5339
5926
  * successful operation
5340
5927
  */
5341
- 200: Array<Model>;
5928
+ 200: ModelList;
5342
5929
  };
5343
5930
  export type ListModelsResponse = ListModelsResponses[keyof ListModelsResponses];
5344
5931
  export type CreateModelData = {
@@ -5600,14 +6187,35 @@ export type DeclineImageShareResponse = DeclineImageShareResponses[keyof Decline
5600
6187
  export type ListPoliciesData = {
5601
6188
  body?: never;
5602
6189
  path?: never;
5603
- query?: 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
+ };
5604
6212
  url: '/policies';
5605
6213
  };
5606
6214
  export type ListPoliciesResponses = {
5607
6215
  /**
5608
6216
  * successful operation
5609
6217
  */
5610
- 200: Array<Policy>;
6218
+ 200: PolicyList;
5611
6219
  };
5612
6220
  export type ListPoliciesResponse = ListPoliciesResponses[keyof ListPoliciesResponses];
5613
6221
  export type CreatePolicyData = {
@@ -5677,6 +6285,24 @@ export type UpdatePolicyResponses = {
5677
6285
  200: Policy;
5678
6286
  };
5679
6287
  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];
5680
6306
  export type ListPublicIpsData = {
5681
6307
  body?: never;
5682
6308
  path?: never;
@@ -5711,7 +6337,32 @@ export type ListSandboxHubDefinitionsResponse = ListSandboxHubDefinitionsRespons
5711
6337
  export type ListSandboxesData = {
5712
6338
  body?: never;
5713
6339
  path?: never;
5714
- query?: 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
+ };
5715
6366
  url: '/sandboxes';
5716
6367
  };
5717
6368
  export type ListSandboxesErrors = {
@@ -5733,7 +6384,7 @@ export type ListSandboxesResponses = {
5733
6384
  /**
5734
6385
  * successful operation
5735
6386
  */
5736
- 200: Array<Sandbox>;
6387
+ 200: SandboxList;
5737
6388
  };
5738
6389
  export type ListSandboxesResponse = ListSandboxesResponses[keyof ListSandboxesResponses];
5739
6390
  export type CreateSandboxData = {
@@ -5923,7 +6574,12 @@ export type CreateSandboxPreviewData = {
5923
6574
  */
5924
6575
  sandboxName: string;
5925
6576
  };
5926
- query?: never;
6577
+ query?: {
6578
+ /**
6579
+ * Force creation by deleting conflicting previews that use the same custom domain prefix URL
6580
+ */
6581
+ force?: boolean;
6582
+ };
5927
6583
  url: '/sandboxes/{sandboxName}/previews';
5928
6584
  };
5929
6585
  export type CreateSandboxPreviewResponses = {
@@ -6572,7 +7228,28 @@ export type DeleteVolumeTemplateVersionResponse = DeleteVolumeTemplateVersionRes
6572
7228
  export type ListVolumesData = {
6573
7229
  body?: never;
6574
7230
  path?: never;
6575
- query?: 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
+ };
6576
7253
  url: '/volumes';
6577
7254
  };
6578
7255
  export type ListVolumesErrors = {
@@ -6594,7 +7271,7 @@ export type ListVolumesResponses = {
6594
7271
  /**
6595
7272
  * successful operation
6596
7273
  */
6597
- 200: Array<Volume>;
7274
+ 200: VolumeList;
6598
7275
  };
6599
7276
  export type ListVolumesResponse = ListVolumesResponses[keyof ListVolumesResponses];
6600
7277
  export type CreateVolumeData = {
@@ -7018,7 +7695,12 @@ export type GetWorkspaceData = {
7018
7695
  */
7019
7696
  workspaceName: string;
7020
7697
  };
7021
- query?: never;
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
+ };
7022
7704
  url: '/workspaces/{workspaceName}';
7023
7705
  };
7024
7706
  export type GetWorkspaceErrors = {