@blaxel/core 0.2.86-dev.162 → 0.2.86-preview.163
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -37
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/client/sdk.gen.js +12 -63
- package/dist/cjs/common/settings.js +3 -3
- package/dist/cjs/common/settings.test.js +3 -3
- package/dist/cjs/drive/index.js +3 -39
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/jobs/jobs.js +9 -42
- package/dist/cjs/sandbox/sandbox.js +15 -41
- package/dist/cjs/types/client/sdk.gen.d.ts +19 -34
- package/dist/cjs/types/client/types.gen.d.ts +21 -614
- package/dist/cjs/types/drive/index.d.ts +4 -34
- package/dist/cjs/types/index.d.ts +0 -1
- package/dist/cjs/types/jobs/jobs.d.ts +3 -33
- package/dist/cjs/types/sandbox/sandbox.d.ts +4 -36
- package/dist/cjs/types/sandbox/types.d.ts +3 -0
- package/dist/cjs/types/volume/index.d.ts +4 -36
- package/dist/cjs/volume/index.js +3 -41
- package/dist/cjs-browser/.tsbuildinfo +1 -1
- package/dist/cjs-browser/client/sdk.gen.js +12 -63
- package/dist/cjs-browser/common/settings.js +3 -3
- package/dist/cjs-browser/common/settings.test.js +3 -3
- package/dist/cjs-browser/drive/index.js +3 -39
- package/dist/cjs-browser/index.js +0 -1
- package/dist/cjs-browser/jobs/jobs.js +9 -42
- package/dist/cjs-browser/sandbox/sandbox.js +15 -41
- package/dist/cjs-browser/types/client/sdk.gen.d.ts +19 -34
- package/dist/cjs-browser/types/client/types.gen.d.ts +21 -614
- package/dist/cjs-browser/types/drive/index.d.ts +4 -34
- package/dist/cjs-browser/types/index.d.ts +0 -1
- package/dist/cjs-browser/types/jobs/jobs.d.ts +3 -33
- package/dist/cjs-browser/types/sandbox/sandbox.d.ts +4 -36
- package/dist/cjs-browser/types/sandbox/types.d.ts +3 -0
- package/dist/cjs-browser/types/volume/index.d.ts +4 -36
- package/dist/cjs-browser/volume/index.js +3 -41
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/client/sdk.gen.js +9 -57
- package/dist/esm/common/settings.js +3 -3
- package/dist/esm/common/settings.test.js +3 -3
- package/dist/esm/drive/index.js +3 -39
- package/dist/esm/index.js +0 -1
- package/dist/esm/jobs/jobs.js +9 -42
- package/dist/esm/sandbox/sandbox.js +15 -41
- package/dist/esm/volume/index.js +3 -41
- package/dist/esm-browser/.tsbuildinfo +1 -1
- package/dist/esm-browser/client/sdk.gen.js +9 -57
- package/dist/esm-browser/common/settings.js +3 -3
- package/dist/esm-browser/common/settings.test.js +3 -3
- package/dist/esm-browser/drive/index.js +3 -39
- package/dist/esm-browser/index.js +0 -1
- package/dist/esm-browser/jobs/jobs.js +9 -42
- package/dist/esm-browser/sandbox/sandbox.js +15 -41
- package/dist/esm-browser/volume/index.js +3 -41
- package/package.json +1 -1
- package/dist/cjs/common/pagination.js +0 -87
- package/dist/cjs/common/pagination.test.js +0 -62
- package/dist/cjs/types/common/pagination.d.ts +0 -35
- package/dist/cjs/types/common/pagination.test.d.ts +0 -1
- package/dist/cjs-browser/common/pagination.js +0 -87
- package/dist/cjs-browser/common/pagination.test.js +0 -62
- package/dist/cjs-browser/types/common/pagination.d.ts +0 -35
- package/dist/cjs-browser/types/common/pagination.test.d.ts +0 -1
- package/dist/esm/common/pagination.js +0 -83
- package/dist/esm/common/pagination.test.js +0 -60
- package/dist/esm-browser/common/pagination.js +0 -83
- 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,10 +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 = unknown;
|
|
614
566
|
/**
|
|
615
567
|
* An individual IP address allocated from an egress gateway for dedicated outbound traffic
|
|
616
568
|
*/
|
|
@@ -837,26 +789,6 @@ export type FunctionWritable = {
|
|
|
837
789
|
spec: FunctionSpecWritable;
|
|
838
790
|
status?: Status;
|
|
839
791
|
};
|
|
840
|
-
/**
|
|
841
|
-
* Cursor-paginated list of MCP server functions. Returned starting with API version 2026-04-28; older API versions return a bare array.
|
|
842
|
-
*/
|
|
843
|
-
export type FunctionList = {
|
|
844
|
-
/**
|
|
845
|
-
* Page of functions.
|
|
846
|
-
*/
|
|
847
|
-
data?: Array<_Function>;
|
|
848
|
-
meta?: PaginationMeta;
|
|
849
|
-
};
|
|
850
|
-
/**
|
|
851
|
-
* Cursor-paginated list of MCP server functions. Returned starting with API version 2026-04-28; older API versions return a bare array.
|
|
852
|
-
*/
|
|
853
|
-
export type FunctionListWritable = {
|
|
854
|
-
/**
|
|
855
|
-
* Page of functions.
|
|
856
|
-
*/
|
|
857
|
-
data?: Array<FunctionWritable>;
|
|
858
|
-
meta?: PaginationMeta;
|
|
859
|
-
};
|
|
860
792
|
/**
|
|
861
793
|
* Runtime configuration defining how the MCP server function is deployed and scaled
|
|
862
794
|
*/
|
|
@@ -1304,26 +1236,6 @@ export type JobExecutionWritable = {
|
|
|
1304
1236
|
*/
|
|
1305
1237
|
tasks?: Array<JobExecutionTaskWritable>;
|
|
1306
1238
|
};
|
|
1307
|
-
/**
|
|
1308
|
-
* 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.
|
|
1309
|
-
*/
|
|
1310
|
-
export type JobExecutionList = {
|
|
1311
|
-
/**
|
|
1312
|
-
* Page of job executions.
|
|
1313
|
-
*/
|
|
1314
|
-
data?: Array<JobExecution>;
|
|
1315
|
-
meta?: PaginationMeta;
|
|
1316
|
-
};
|
|
1317
|
-
/**
|
|
1318
|
-
* 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.
|
|
1319
|
-
*/
|
|
1320
|
-
export type JobExecutionListWritable = {
|
|
1321
|
-
/**
|
|
1322
|
-
* Page of job executions.
|
|
1323
|
-
*/
|
|
1324
|
-
data?: Array<JobExecutionWritable>;
|
|
1325
|
-
meta?: PaginationMeta;
|
|
1326
|
-
};
|
|
1327
1239
|
/**
|
|
1328
1240
|
* Job execution metadata
|
|
1329
1241
|
*/
|
|
@@ -1583,26 +1495,6 @@ export type JobExecutionTaskCondition = {
|
|
|
1583
1495
|
*/
|
|
1584
1496
|
type?: string;
|
|
1585
1497
|
};
|
|
1586
|
-
/**
|
|
1587
|
-
* 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).
|
|
1588
|
-
*/
|
|
1589
|
-
export type JobExecutionTaskList = {
|
|
1590
|
-
/**
|
|
1591
|
-
* Page of execution tasks.
|
|
1592
|
-
*/
|
|
1593
|
-
data?: Array<JobExecutionTask>;
|
|
1594
|
-
meta?: PaginationMeta;
|
|
1595
|
-
};
|
|
1596
|
-
/**
|
|
1597
|
-
* 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).
|
|
1598
|
-
*/
|
|
1599
|
-
export type JobExecutionTaskListWritable = {
|
|
1600
|
-
/**
|
|
1601
|
-
* Page of execution tasks.
|
|
1602
|
-
*/
|
|
1603
|
-
data?: Array<JobExecutionTaskWritable>;
|
|
1604
|
-
meta?: PaginationMeta;
|
|
1605
|
-
};
|
|
1606
1498
|
/**
|
|
1607
1499
|
* Job execution task metadata
|
|
1608
1500
|
*/
|
|
@@ -1658,26 +1550,6 @@ export type JobExecutionTaskSpec = {
|
|
|
1658
1550
|
* Job execution task status
|
|
1659
1551
|
*/
|
|
1660
1552
|
export type JobExecutionTaskStatus = 'unspecified' | 'pending' | 'reconciling' | 'failed' | 'succeeded' | 'running' | 'cancelled';
|
|
1661
|
-
/**
|
|
1662
|
-
* Cursor-paginated list of batch jobs. Returned starting with API version 2026-04-28; older API versions return a bare array.
|
|
1663
|
-
*/
|
|
1664
|
-
export type JobList = {
|
|
1665
|
-
/**
|
|
1666
|
-
* Page of jobs.
|
|
1667
|
-
*/
|
|
1668
|
-
data?: Array<Job>;
|
|
1669
|
-
meta?: PaginationMeta;
|
|
1670
|
-
};
|
|
1671
|
-
/**
|
|
1672
|
-
* Cursor-paginated list of batch jobs. Returned starting with API version 2026-04-28; older API versions return a bare array.
|
|
1673
|
-
*/
|
|
1674
|
-
export type JobListWritable = {
|
|
1675
|
-
/**
|
|
1676
|
-
* Page of jobs.
|
|
1677
|
-
*/
|
|
1678
|
-
data?: Array<JobWritable>;
|
|
1679
|
-
meta?: PaginationMeta;
|
|
1680
|
-
};
|
|
1681
1553
|
/**
|
|
1682
1554
|
* Runtime configuration defining how batch job tasks are executed with parallelism and retry settings
|
|
1683
1555
|
*/
|
|
@@ -1776,60 +1648,6 @@ export type JobVolume = {
|
|
|
1776
1648
|
type: 'ephemeral';
|
|
1777
1649
|
};
|
|
1778
1650
|
export type JobVolumes = Array<JobVolume>;
|
|
1779
|
-
/**
|
|
1780
|
-
* LiteVolume is the listing-shape projection of a Volume. Drops events to keep page payloads small.
|
|
1781
|
-
*/
|
|
1782
|
-
export type LiteVolume = {
|
|
1783
|
-
metadata?: LiteVolumeMetadata;
|
|
1784
|
-
spec?: LiteVolumeSpec;
|
|
1785
|
-
state?: VolumeState;
|
|
1786
|
-
/**
|
|
1787
|
-
* Computed status of the volume.
|
|
1788
|
-
*/
|
|
1789
|
-
status?: string;
|
|
1790
|
-
/**
|
|
1791
|
-
* Termination timestamp for soft-deleted volumes.
|
|
1792
|
-
*/
|
|
1793
|
-
terminatedAt?: string;
|
|
1794
|
-
};
|
|
1795
|
-
/**
|
|
1796
|
-
* LiteVolume is the listing-shape projection of a Volume. Drops events to keep page payloads small.
|
|
1797
|
-
*/
|
|
1798
|
-
export type LiteVolumeWritable = {
|
|
1799
|
-
metadata?: LiteVolumeMetadata;
|
|
1800
|
-
spec?: LiteVolumeSpec;
|
|
1801
|
-
state?: VolumeStateWritable;
|
|
1802
|
-
/**
|
|
1803
|
-
* Computed status of the volume.
|
|
1804
|
-
*/
|
|
1805
|
-
status?: string;
|
|
1806
|
-
/**
|
|
1807
|
-
* Termination timestamp for soft-deleted volumes.
|
|
1808
|
-
*/
|
|
1809
|
-
terminatedAt?: string;
|
|
1810
|
-
};
|
|
1811
|
-
/**
|
|
1812
|
-
* Compact metadata for a Volume, returned in listing responses.
|
|
1813
|
-
*/
|
|
1814
|
-
export type LiteVolumeMetadata = {
|
|
1815
|
-
createdAt?: string;
|
|
1816
|
-
displayName?: string;
|
|
1817
|
-
name?: string;
|
|
1818
|
-
updatedAt?: string;
|
|
1819
|
-
};
|
|
1820
|
-
/**
|
|
1821
|
-
* Compact spec for a Volume, returned in listing responses.
|
|
1822
|
-
*/
|
|
1823
|
-
export type LiteVolumeSpec = {
|
|
1824
|
-
/**
|
|
1825
|
-
* Region the volume is provisioned in.
|
|
1826
|
-
*/
|
|
1827
|
-
region?: string;
|
|
1828
|
-
/**
|
|
1829
|
-
* Volume size in gigabytes.
|
|
1830
|
-
*/
|
|
1831
|
-
size?: number;
|
|
1832
|
-
};
|
|
1833
1651
|
/**
|
|
1834
1652
|
* Location availability for policies
|
|
1835
1653
|
*/
|
|
@@ -2053,26 +1871,6 @@ export type ModelWritable = {
|
|
|
2053
1871
|
spec: ModelSpec;
|
|
2054
1872
|
status?: Status;
|
|
2055
1873
|
};
|
|
2056
|
-
/**
|
|
2057
|
-
* Cursor-paginated list of model gateway endpoints. Returned starting with API version 2026-04-28; older API versions return a bare array.
|
|
2058
|
-
*/
|
|
2059
|
-
export type ModelList = {
|
|
2060
|
-
/**
|
|
2061
|
-
* Page of models.
|
|
2062
|
-
*/
|
|
2063
|
-
data?: Array<Model>;
|
|
2064
|
-
meta?: PaginationMeta;
|
|
2065
|
-
};
|
|
2066
|
-
/**
|
|
2067
|
-
* Cursor-paginated list of model gateway endpoints. Returned starting with API version 2026-04-28; older API versions return a bare array.
|
|
2068
|
-
*/
|
|
2069
|
-
export type ModelListWritable = {
|
|
2070
|
-
/**
|
|
2071
|
-
* Page of models.
|
|
2072
|
-
*/
|
|
2073
|
-
data?: Array<ModelWritable>;
|
|
2074
|
-
meta?: PaginationMeta;
|
|
2075
|
-
};
|
|
2076
1874
|
/**
|
|
2077
1875
|
* Configuration identifying which external LLM provider and model this gateway endpoint proxies to
|
|
2078
1876
|
*/
|
|
@@ -2152,23 +1950,6 @@ export type OwnerFields = {
|
|
|
2152
1950
|
*/
|
|
2153
1951
|
readonly updatedBy?: string;
|
|
2154
1952
|
};
|
|
2155
|
-
/**
|
|
2156
|
-
* Pagination metadata returned alongside a page of listing results. Always present on listing endpoints starting with API version 2026-04-28.
|
|
2157
|
-
*/
|
|
2158
|
-
export type PaginationMeta = {
|
|
2159
|
-
/**
|
|
2160
|
-
* True when more pages are available beyond the current one.
|
|
2161
|
-
*/
|
|
2162
|
-
hasMore?: boolean;
|
|
2163
|
-
/**
|
|
2164
|
-
* Opaque cursor to pass back as the `cursor` query param for the next page. Empty when there are no more pages.
|
|
2165
|
-
*/
|
|
2166
|
-
nextCursor?: string;
|
|
2167
|
-
/**
|
|
2168
|
-
* 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.
|
|
2169
|
-
*/
|
|
2170
|
-
total?: number;
|
|
2171
|
-
};
|
|
2172
1953
|
/**
|
|
2173
1954
|
* Pending cross-account image share awaiting approval from the destination workspace
|
|
2174
1955
|
*/
|
|
@@ -2480,7 +2261,6 @@ export type PoliciesList = Array<string>;
|
|
|
2480
2261
|
export type Policy = {
|
|
2481
2262
|
metadata: Metadata;
|
|
2482
2263
|
spec: PolicySpec;
|
|
2483
|
-
usage?: PolicyUsageCounts;
|
|
2484
2264
|
};
|
|
2485
2265
|
/**
|
|
2486
2266
|
* Rule that controls how a deployment is made and served (e.g. location restrictions)
|
|
@@ -2488,27 +2268,6 @@ export type Policy = {
|
|
|
2488
2268
|
export type PolicyWritable = {
|
|
2489
2269
|
metadata: MetadataWritable;
|
|
2490
2270
|
spec: PolicySpec;
|
|
2491
|
-
usage?: PolicyUsageCounts;
|
|
2492
|
-
};
|
|
2493
|
-
/**
|
|
2494
|
-
* Cursor-paginated list of policies. Returned starting with API version 2026-04-28; older API versions return a bare array.
|
|
2495
|
-
*/
|
|
2496
|
-
export type PolicyList = {
|
|
2497
|
-
/**
|
|
2498
|
-
* Page of policies.
|
|
2499
|
-
*/
|
|
2500
|
-
data?: Array<Policy>;
|
|
2501
|
-
meta?: PaginationMeta;
|
|
2502
|
-
};
|
|
2503
|
-
/**
|
|
2504
|
-
* Cursor-paginated list of policies. Returned starting with API version 2026-04-28; older API versions return a bare array.
|
|
2505
|
-
*/
|
|
2506
|
-
export type PolicyListWritable = {
|
|
2507
|
-
/**
|
|
2508
|
-
* Page of policies.
|
|
2509
|
-
*/
|
|
2510
|
-
data?: Array<PolicyWritable>;
|
|
2511
|
-
meta?: PaginationMeta;
|
|
2512
2271
|
};
|
|
2513
2272
|
/**
|
|
2514
2273
|
* Policy location
|
|
@@ -2581,51 +2340,6 @@ export type PolicySpec = {
|
|
|
2581
2340
|
*/
|
|
2582
2341
|
type?: 'location' | 'flavor' | 'maxToken';
|
|
2583
2342
|
};
|
|
2584
|
-
/**
|
|
2585
|
-
* 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.
|
|
2586
|
-
*/
|
|
2587
|
-
export type PolicyUsageCounts = {
|
|
2588
|
-
agents?: number;
|
|
2589
|
-
functions?: number;
|
|
2590
|
-
jobs?: number;
|
|
2591
|
-
models?: number;
|
|
2592
|
-
sandboxes?: number;
|
|
2593
|
-
};
|
|
2594
|
-
/**
|
|
2595
|
-
* 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.
|
|
2596
|
-
*/
|
|
2597
|
-
export type PolicyUsages = {
|
|
2598
|
-
/**
|
|
2599
|
-
* Names of agents whose spec.policies contains this policy.
|
|
2600
|
-
*/
|
|
2601
|
-
agents?: Array<{
|
|
2602
|
-
[key: string]: unknown;
|
|
2603
|
-
}>;
|
|
2604
|
-
/**
|
|
2605
|
-
* Names of functions whose spec.policies contains this policy.
|
|
2606
|
-
*/
|
|
2607
|
-
functions?: Array<{
|
|
2608
|
-
[key: string]: unknown;
|
|
2609
|
-
}>;
|
|
2610
|
-
/**
|
|
2611
|
-
* Names of jobs whose spec.policies contains this policy.
|
|
2612
|
-
*/
|
|
2613
|
-
jobs?: Array<{
|
|
2614
|
-
[key: string]: unknown;
|
|
2615
|
-
}>;
|
|
2616
|
-
/**
|
|
2617
|
-
* Names of models whose spec.policies contains this policy.
|
|
2618
|
-
*/
|
|
2619
|
-
models?: Array<{
|
|
2620
|
-
[key: string]: unknown;
|
|
2621
|
-
}>;
|
|
2622
|
-
/**
|
|
2623
|
-
* Names of sandboxes whose spec.policies contains this policy.
|
|
2624
|
-
*/
|
|
2625
|
-
sandboxes?: Array<{
|
|
2626
|
-
[key: string]: unknown;
|
|
2627
|
-
}>;
|
|
2628
|
-
};
|
|
2629
2343
|
/**
|
|
2630
2344
|
* A port for a resource
|
|
2631
2345
|
*/
|
|
@@ -3337,26 +3051,6 @@ export type SandboxLifecycle = {
|
|
|
3337
3051
|
*/
|
|
3338
3052
|
terminatedRetention?: string;
|
|
3339
3053
|
};
|
|
3340
|
-
/**
|
|
3341
|
-
* Cursor-paginated list of sandboxes. Returned starting with API version 2026-04-28; older API versions return a bare array.
|
|
3342
|
-
*/
|
|
3343
|
-
export type SandboxList = {
|
|
3344
|
-
/**
|
|
3345
|
-
* Page of sandboxes. Items use the lite shape (no inline event history) to keep the page payload small, matching the unpaginated response.
|
|
3346
|
-
*/
|
|
3347
|
-
data?: Array<Sandbox>;
|
|
3348
|
-
meta?: PaginationMeta;
|
|
3349
|
-
};
|
|
3350
|
-
/**
|
|
3351
|
-
* Cursor-paginated list of sandboxes. Returned starting with API version 2026-04-28; older API versions return a bare array.
|
|
3352
|
-
*/
|
|
3353
|
-
export type SandboxListWritable = {
|
|
3354
|
-
/**
|
|
3355
|
-
* Page of sandboxes. Items use the lite shape (no inline event history) to keep the page payload small, matching the unpaginated response.
|
|
3356
|
-
*/
|
|
3357
|
-
data?: Array<SandboxWritable>;
|
|
3358
|
-
meta?: PaginationMeta;
|
|
3359
|
-
};
|
|
3360
3054
|
/**
|
|
3361
3055
|
* Network configuration for a sandbox including domain filtering, egress IP binding, and proxy settings
|
|
3362
3056
|
*/
|
|
@@ -3530,7 +3224,7 @@ export type Trigger = {
|
|
|
3530
3224
|
*/
|
|
3531
3225
|
enabled?: boolean;
|
|
3532
3226
|
/**
|
|
3533
|
-
*
|
|
3227
|
+
* The id of the trigger
|
|
3534
3228
|
*/
|
|
3535
3229
|
id?: string;
|
|
3536
3230
|
/**
|
|
@@ -3548,7 +3242,7 @@ export type TriggerWritable = {
|
|
|
3548
3242
|
*/
|
|
3549
3243
|
enabled?: boolean;
|
|
3550
3244
|
/**
|
|
3551
|
-
*
|
|
3245
|
+
* The id of the trigger
|
|
3552
3246
|
*/
|
|
3553
3247
|
id?: string;
|
|
3554
3248
|
/**
|
|
@@ -3708,26 +3402,6 @@ export type VolumeAttachment = {
|
|
|
3708
3402
|
readOnly?: boolean;
|
|
3709
3403
|
};
|
|
3710
3404
|
export type VolumeAttachments = Array<VolumeAttachment>;
|
|
3711
|
-
/**
|
|
3712
|
-
* 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).
|
|
3713
|
-
*/
|
|
3714
|
-
export type VolumeList = {
|
|
3715
|
-
/**
|
|
3716
|
-
* Page of volumes.
|
|
3717
|
-
*/
|
|
3718
|
-
data?: Array<LiteVolume>;
|
|
3719
|
-
meta?: PaginationMeta;
|
|
3720
|
-
};
|
|
3721
|
-
/**
|
|
3722
|
-
* 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).
|
|
3723
|
-
*/
|
|
3724
|
-
export type VolumeListWritable = {
|
|
3725
|
-
/**
|
|
3726
|
-
* Page of volumes.
|
|
3727
|
-
*/
|
|
3728
|
-
data?: Array<LiteVolumeWritable>;
|
|
3729
|
-
meta?: PaginationMeta;
|
|
3730
|
-
};
|
|
3731
3405
|
/**
|
|
3732
3406
|
* Immutable volume configuration set at creation time (size and region cannot be changed after creation)
|
|
3733
3407
|
*/
|
|
@@ -3934,12 +3608,6 @@ export type Workspace = TimeFields & OwnerFields & {
|
|
|
3934
3608
|
* Workspace write region
|
|
3935
3609
|
*/
|
|
3936
3610
|
region?: string;
|
|
3937
|
-
/**
|
|
3938
|
-
* 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.
|
|
3939
|
-
*/
|
|
3940
|
-
readonly resourceCounts?: {
|
|
3941
|
-
[key: string]: number;
|
|
3942
|
-
};
|
|
3943
3611
|
runtime?: WorkspaceRuntime;
|
|
3944
3612
|
/**
|
|
3945
3613
|
* Workspace status (created, account_binded, account_configured, workspace_configured, ready, error)
|
|
@@ -4048,47 +3716,10 @@ export type WorkspaceUser = {
|
|
|
4048
3716
|
*/
|
|
4049
3717
|
sub?: string;
|
|
4050
3718
|
};
|
|
4051
|
-
/**
|
|
4052
|
-
* 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.
|
|
4053
|
-
*/
|
|
4054
|
-
export type BlaxelVersion = string;
|
|
4055
|
-
/**
|
|
4056
|
-
* 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.
|
|
4057
|
-
*/
|
|
4058
|
-
export type PaginationCursor = string;
|
|
4059
|
-
/**
|
|
4060
|
-
* Maximum number of items to return per page. Defaults to 50, clamped to 200.
|
|
4061
|
-
*/
|
|
4062
|
-
export type PaginationLimit = number;
|
|
4063
|
-
/**
|
|
4064
|
-
* 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.
|
|
4065
|
-
*/
|
|
4066
|
-
export type PaginationQuery = string;
|
|
4067
|
-
/**
|
|
4068
|
-
* 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.
|
|
4069
|
-
*/
|
|
4070
|
-
export type PaginationSort = 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
|
|
4071
3719
|
export type ListAgentsData = {
|
|
4072
3720
|
body?: never;
|
|
4073
3721
|
path?: never;
|
|
4074
|
-
query?:
|
|
4075
|
-
/**
|
|
4076
|
-
* 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.
|
|
4077
|
-
*/
|
|
4078
|
-
cursor?: string;
|
|
4079
|
-
/**
|
|
4080
|
-
* Maximum number of items to return per page. Defaults to 50, clamped to 200.
|
|
4081
|
-
*/
|
|
4082
|
-
limit?: number;
|
|
4083
|
-
/**
|
|
4084
|
-
* 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.
|
|
4085
|
-
*/
|
|
4086
|
-
sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
|
|
4087
|
-
/**
|
|
4088
|
-
* 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.
|
|
4089
|
-
*/
|
|
4090
|
-
q?: string;
|
|
4091
|
-
};
|
|
3722
|
+
query?: never;
|
|
4092
3723
|
url: '/agents';
|
|
4093
3724
|
};
|
|
4094
3725
|
export type ListAgentsErrors = {
|
|
@@ -4110,7 +3741,7 @@ export type ListAgentsResponses = {
|
|
|
4110
3741
|
/**
|
|
4111
3742
|
* successful operation
|
|
4112
3743
|
*/
|
|
4113
|
-
200:
|
|
3744
|
+
200: Array<Agent>;
|
|
4114
3745
|
};
|
|
4115
3746
|
export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
|
|
4116
3747
|
export type CreateAgentData = {
|
|
@@ -4401,24 +4032,7 @@ export type VerifyCustomDomainResponse = VerifyCustomDomainResponses[keyof Verif
|
|
|
4401
4032
|
export type ListDrivesData = {
|
|
4402
4033
|
body?: never;
|
|
4403
4034
|
path?: never;
|
|
4404
|
-
query?:
|
|
4405
|
-
/**
|
|
4406
|
-
* 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.
|
|
4407
|
-
*/
|
|
4408
|
-
cursor?: string;
|
|
4409
|
-
/**
|
|
4410
|
-
* Maximum number of items to return per page. Defaults to 50, clamped to 200.
|
|
4411
|
-
*/
|
|
4412
|
-
limit?: number;
|
|
4413
|
-
/**
|
|
4414
|
-
* 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.
|
|
4415
|
-
*/
|
|
4416
|
-
sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
|
|
4417
|
-
/**
|
|
4418
|
-
* 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.
|
|
4419
|
-
*/
|
|
4420
|
-
q?: string;
|
|
4421
|
-
};
|
|
4035
|
+
query?: never;
|
|
4422
4036
|
url: '/drives';
|
|
4423
4037
|
};
|
|
4424
4038
|
export type ListDrivesErrors = {
|
|
@@ -4431,7 +4045,7 @@ export type ListDrivesResponses = {
|
|
|
4431
4045
|
/**
|
|
4432
4046
|
* successful operation
|
|
4433
4047
|
*/
|
|
4434
|
-
200:
|
|
4048
|
+
200: Array<Drive>;
|
|
4435
4049
|
};
|
|
4436
4050
|
export type ListDrivesResponse = ListDrivesResponses[keyof ListDrivesResponses];
|
|
4437
4051
|
export type CreateDriveData = {
|
|
@@ -4594,19 +4208,6 @@ export type ListAllEgressGatewaysResponses = {
|
|
|
4594
4208
|
200: Array<EgressGateway>;
|
|
4595
4209
|
};
|
|
4596
4210
|
export type ListAllEgressGatewaysResponse = ListAllEgressGatewaysResponses[keyof ListAllEgressGatewaysResponses];
|
|
4597
|
-
export type GetEgressGatewayUsageData = {
|
|
4598
|
-
body?: never;
|
|
4599
|
-
path?: never;
|
|
4600
|
-
query?: never;
|
|
4601
|
-
url: '/egressgateways/usage';
|
|
4602
|
-
};
|
|
4603
|
-
export type GetEgressGatewayUsageResponses = {
|
|
4604
|
-
/**
|
|
4605
|
-
* successful operation
|
|
4606
|
-
*/
|
|
4607
|
-
200: EgressGatewayUsage;
|
|
4608
|
-
};
|
|
4609
|
-
export type GetEgressGatewayUsageResponse = GetEgressGatewayUsageResponses[keyof GetEgressGatewayUsageResponses];
|
|
4610
4211
|
export type ListAllEgressIpsData = {
|
|
4611
4212
|
body?: never;
|
|
4612
4213
|
path?: never;
|
|
@@ -4704,24 +4305,7 @@ export type TestFeatureFlagResponse = TestFeatureFlagResponses[keyof TestFeature
|
|
|
4704
4305
|
export type ListFunctionsData = {
|
|
4705
4306
|
body?: never;
|
|
4706
4307
|
path?: never;
|
|
4707
|
-
query?:
|
|
4708
|
-
/**
|
|
4709
|
-
* 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.
|
|
4710
|
-
*/
|
|
4711
|
-
cursor?: string;
|
|
4712
|
-
/**
|
|
4713
|
-
* Maximum number of items to return per page. Defaults to 50, clamped to 200.
|
|
4714
|
-
*/
|
|
4715
|
-
limit?: number;
|
|
4716
|
-
/**
|
|
4717
|
-
* 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.
|
|
4718
|
-
*/
|
|
4719
|
-
sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
|
|
4720
|
-
/**
|
|
4721
|
-
* 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.
|
|
4722
|
-
*/
|
|
4723
|
-
q?: string;
|
|
4724
|
-
};
|
|
4308
|
+
query?: never;
|
|
4725
4309
|
url: '/functions';
|
|
4726
4310
|
};
|
|
4727
4311
|
export type ListFunctionsErrors = {
|
|
@@ -4743,7 +4327,7 @@ export type ListFunctionsResponses = {
|
|
|
4743
4327
|
/**
|
|
4744
4328
|
* successful operation
|
|
4745
4329
|
*/
|
|
4746
|
-
200:
|
|
4330
|
+
200: Array<_Function>;
|
|
4747
4331
|
};
|
|
4748
4332
|
export type ListFunctionsResponse = ListFunctionsResponses[keyof ListFunctionsResponses];
|
|
4749
4333
|
export type CreateFunctionData = {
|
|
@@ -5466,31 +5050,14 @@ export type GetIntegrationConnectionModelResponses = {
|
|
|
5466
5050
|
export type ListJobsData = {
|
|
5467
5051
|
body?: never;
|
|
5468
5052
|
path?: never;
|
|
5469
|
-
query?:
|
|
5470
|
-
/**
|
|
5471
|
-
* 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.
|
|
5472
|
-
*/
|
|
5473
|
-
cursor?: string;
|
|
5474
|
-
/**
|
|
5475
|
-
* Maximum number of items to return per page. Defaults to 50, clamped to 200.
|
|
5476
|
-
*/
|
|
5477
|
-
limit?: number;
|
|
5478
|
-
/**
|
|
5479
|
-
* 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.
|
|
5480
|
-
*/
|
|
5481
|
-
sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
|
|
5482
|
-
/**
|
|
5483
|
-
* 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.
|
|
5484
|
-
*/
|
|
5485
|
-
q?: string;
|
|
5486
|
-
};
|
|
5053
|
+
query?: never;
|
|
5487
5054
|
url: '/jobs';
|
|
5488
5055
|
};
|
|
5489
5056
|
export type ListJobsResponses = {
|
|
5490
5057
|
/**
|
|
5491
5058
|
* successful operation
|
|
5492
5059
|
*/
|
|
5493
|
-
200:
|
|
5060
|
+
200: Array<Job>;
|
|
5494
5061
|
};
|
|
5495
5062
|
export type ListJobsResponse = ListJobsResponses[keyof ListJobsResponses];
|
|
5496
5063
|
export type CreateJobData = {
|
|
@@ -5579,21 +5146,9 @@ export type ListJobExecutionsData = {
|
|
|
5579
5146
|
*/
|
|
5580
5147
|
limit?: number;
|
|
5581
5148
|
/**
|
|
5582
|
-
* Page offset
|
|
5149
|
+
* Page offset
|
|
5583
5150
|
*/
|
|
5584
5151
|
offset?: number;
|
|
5585
|
-
/**
|
|
5586
|
-
* 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.
|
|
5587
|
-
*/
|
|
5588
|
-
cursor?: string;
|
|
5589
|
-
/**
|
|
5590
|
-
* 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.
|
|
5591
|
-
*/
|
|
5592
|
-
sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
|
|
5593
|
-
/**
|
|
5594
|
-
* 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.
|
|
5595
|
-
*/
|
|
5596
|
-
q?: string;
|
|
5597
5152
|
};
|
|
5598
5153
|
url: '/jobs/{jobId}/executions';
|
|
5599
5154
|
};
|
|
@@ -5611,7 +5166,7 @@ export type ListJobExecutionsResponses = {
|
|
|
5611
5166
|
/**
|
|
5612
5167
|
* successful operation
|
|
5613
5168
|
*/
|
|
5614
|
-
200:
|
|
5169
|
+
200: Array<JobExecution>;
|
|
5615
5170
|
};
|
|
5616
5171
|
export type ListJobExecutionsResponse = ListJobExecutionsResponses[keyof ListJobExecutionsResponses];
|
|
5617
5172
|
export type CreateJobExecutionData = {
|
|
@@ -5714,59 +5269,6 @@ export type GetJobExecutionResponses = {
|
|
|
5714
5269
|
200: JobExecution;
|
|
5715
5270
|
};
|
|
5716
5271
|
export type GetJobExecutionResponse = GetJobExecutionResponses[keyof GetJobExecutionResponses];
|
|
5717
|
-
export type ListJobExecutionTasksData = {
|
|
5718
|
-
body?: never;
|
|
5719
|
-
path: {
|
|
5720
|
-
/**
|
|
5721
|
-
* Name of the job
|
|
5722
|
-
*/
|
|
5723
|
-
jobId: string;
|
|
5724
|
-
/**
|
|
5725
|
-
* Execution id
|
|
5726
|
-
*/
|
|
5727
|
-
executionId: string;
|
|
5728
|
-
};
|
|
5729
|
-
query?: {
|
|
5730
|
-
/**
|
|
5731
|
-
* 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.
|
|
5732
|
-
*/
|
|
5733
|
-
cursor?: string;
|
|
5734
|
-
/**
|
|
5735
|
-
* Maximum number of items to return per page. Defaults to 50, clamped to 200.
|
|
5736
|
-
*/
|
|
5737
|
-
limit?: number;
|
|
5738
|
-
/**
|
|
5739
|
-
* 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.
|
|
5740
|
-
*/
|
|
5741
|
-
sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
|
|
5742
|
-
/**
|
|
5743
|
-
* 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.
|
|
5744
|
-
*/
|
|
5745
|
-
q?: string;
|
|
5746
|
-
};
|
|
5747
|
-
url: '/jobs/{jobId}/executions/{executionId}/tasks';
|
|
5748
|
-
};
|
|
5749
|
-
export type ListJobExecutionTasksErrors = {
|
|
5750
|
-
/**
|
|
5751
|
-
* bad request
|
|
5752
|
-
*/
|
|
5753
|
-
400: unknown;
|
|
5754
|
-
/**
|
|
5755
|
-
* job or execution not found
|
|
5756
|
-
*/
|
|
5757
|
-
404: unknown;
|
|
5758
|
-
/**
|
|
5759
|
-
* internal server error
|
|
5760
|
-
*/
|
|
5761
|
-
500: unknown;
|
|
5762
|
-
};
|
|
5763
|
-
export type ListJobExecutionTasksResponses = {
|
|
5764
|
-
/**
|
|
5765
|
-
* successful operation
|
|
5766
|
-
*/
|
|
5767
|
-
200: JobExecutionTaskList;
|
|
5768
|
-
};
|
|
5769
|
-
export type ListJobExecutionTasksResponse = ListJobExecutionTasksResponses[keyof ListJobExecutionTasksResponses];
|
|
5770
5272
|
export type ListJobRevisionsData = {
|
|
5771
5273
|
body?: never;
|
|
5772
5274
|
path: {
|
|
@@ -5814,24 +5316,7 @@ export type ListMcpHubDefinitionsResponse = ListMcpHubDefinitionsResponses[keyof
|
|
|
5814
5316
|
export type ListModelsData = {
|
|
5815
5317
|
body?: never;
|
|
5816
5318
|
path?: never;
|
|
5817
|
-
query?:
|
|
5818
|
-
/**
|
|
5819
|
-
* 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.
|
|
5820
|
-
*/
|
|
5821
|
-
cursor?: string;
|
|
5822
|
-
/**
|
|
5823
|
-
* Maximum number of items to return per page. Defaults to 50, clamped to 200.
|
|
5824
|
-
*/
|
|
5825
|
-
limit?: number;
|
|
5826
|
-
/**
|
|
5827
|
-
* 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.
|
|
5828
|
-
*/
|
|
5829
|
-
sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
|
|
5830
|
-
/**
|
|
5831
|
-
* 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.
|
|
5832
|
-
*/
|
|
5833
|
-
q?: string;
|
|
5834
|
-
};
|
|
5319
|
+
query?: never;
|
|
5835
5320
|
url: '/models';
|
|
5836
5321
|
};
|
|
5837
5322
|
export type ListModelsErrors = {
|
|
@@ -5853,7 +5338,7 @@ export type ListModelsResponses = {
|
|
|
5853
5338
|
/**
|
|
5854
5339
|
* successful operation
|
|
5855
5340
|
*/
|
|
5856
|
-
200:
|
|
5341
|
+
200: Array<Model>;
|
|
5857
5342
|
};
|
|
5858
5343
|
export type ListModelsResponse = ListModelsResponses[keyof ListModelsResponses];
|
|
5859
5344
|
export type CreateModelData = {
|
|
@@ -6115,31 +5600,14 @@ export type DeclineImageShareResponse = DeclineImageShareResponses[keyof Decline
|
|
|
6115
5600
|
export type ListPoliciesData = {
|
|
6116
5601
|
body?: never;
|
|
6117
5602
|
path?: never;
|
|
6118
|
-
query?:
|
|
6119
|
-
/**
|
|
6120
|
-
* 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.
|
|
6121
|
-
*/
|
|
6122
|
-
cursor?: string;
|
|
6123
|
-
/**
|
|
6124
|
-
* Maximum number of items to return per page. Defaults to 50, clamped to 200.
|
|
6125
|
-
*/
|
|
6126
|
-
limit?: number;
|
|
6127
|
-
/**
|
|
6128
|
-
* 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.
|
|
6129
|
-
*/
|
|
6130
|
-
sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
|
|
6131
|
-
/**
|
|
6132
|
-
* 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.
|
|
6133
|
-
*/
|
|
6134
|
-
q?: string;
|
|
6135
|
-
};
|
|
5603
|
+
query?: never;
|
|
6136
5604
|
url: '/policies';
|
|
6137
5605
|
};
|
|
6138
5606
|
export type ListPoliciesResponses = {
|
|
6139
5607
|
/**
|
|
6140
5608
|
* successful operation
|
|
6141
5609
|
*/
|
|
6142
|
-
200:
|
|
5610
|
+
200: Array<Policy>;
|
|
6143
5611
|
};
|
|
6144
5612
|
export type ListPoliciesResponse = ListPoliciesResponses[keyof ListPoliciesResponses];
|
|
6145
5613
|
export type CreatePolicyData = {
|
|
@@ -6209,24 +5677,6 @@ export type UpdatePolicyResponses = {
|
|
|
6209
5677
|
200: Policy;
|
|
6210
5678
|
};
|
|
6211
5679
|
export type UpdatePolicyResponse = UpdatePolicyResponses[keyof UpdatePolicyResponses];
|
|
6212
|
-
export type GetPolicyUsagesData = {
|
|
6213
|
-
body?: never;
|
|
6214
|
-
path: {
|
|
6215
|
-
/**
|
|
6216
|
-
* Unique name identifier of the policy
|
|
6217
|
-
*/
|
|
6218
|
-
policyName: string;
|
|
6219
|
-
};
|
|
6220
|
-
query?: never;
|
|
6221
|
-
url: '/policies/{policyName}/usages';
|
|
6222
|
-
};
|
|
6223
|
-
export type GetPolicyUsagesResponses = {
|
|
6224
|
-
/**
|
|
6225
|
-
* successful operation
|
|
6226
|
-
*/
|
|
6227
|
-
200: PolicyUsages;
|
|
6228
|
-
};
|
|
6229
|
-
export type GetPolicyUsagesResponse = GetPolicyUsagesResponses[keyof GetPolicyUsagesResponses];
|
|
6230
5680
|
export type ListPublicIpsData = {
|
|
6231
5681
|
body?: never;
|
|
6232
5682
|
path?: never;
|
|
@@ -6261,28 +5711,7 @@ export type ListSandboxHubDefinitionsResponse = ListSandboxHubDefinitionsRespons
|
|
|
6261
5711
|
export type ListSandboxesData = {
|
|
6262
5712
|
body?: never;
|
|
6263
5713
|
path?: never;
|
|
6264
|
-
query?:
|
|
6265
|
-
/**
|
|
6266
|
-
* If true, include terminated sandboxes in the response. Defaults to false.
|
|
6267
|
-
*/
|
|
6268
|
-
showTerminated?: boolean;
|
|
6269
|
-
/**
|
|
6270
|
-
* 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.
|
|
6271
|
-
*/
|
|
6272
|
-
cursor?: string;
|
|
6273
|
-
/**
|
|
6274
|
-
* Maximum number of items to return per page. Defaults to 50, clamped to 200.
|
|
6275
|
-
*/
|
|
6276
|
-
limit?: number;
|
|
6277
|
-
/**
|
|
6278
|
-
* 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.
|
|
6279
|
-
*/
|
|
6280
|
-
sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
|
|
6281
|
-
/**
|
|
6282
|
-
* 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.
|
|
6283
|
-
*/
|
|
6284
|
-
q?: string;
|
|
6285
|
-
};
|
|
5714
|
+
query?: never;
|
|
6286
5715
|
url: '/sandboxes';
|
|
6287
5716
|
};
|
|
6288
5717
|
export type ListSandboxesErrors = {
|
|
@@ -6304,7 +5733,7 @@ export type ListSandboxesResponses = {
|
|
|
6304
5733
|
/**
|
|
6305
5734
|
* successful operation
|
|
6306
5735
|
*/
|
|
6307
|
-
200:
|
|
5736
|
+
200: Array<Sandbox>;
|
|
6308
5737
|
};
|
|
6309
5738
|
export type ListSandboxesResponse = ListSandboxesResponses[keyof ListSandboxesResponses];
|
|
6310
5739
|
export type CreateSandboxData = {
|
|
@@ -7143,24 +6572,7 @@ export type DeleteVolumeTemplateVersionResponse = DeleteVolumeTemplateVersionRes
|
|
|
7143
6572
|
export type ListVolumesData = {
|
|
7144
6573
|
body?: never;
|
|
7145
6574
|
path?: never;
|
|
7146
|
-
query?:
|
|
7147
|
-
/**
|
|
7148
|
-
* 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.
|
|
7149
|
-
*/
|
|
7150
|
-
cursor?: string;
|
|
7151
|
-
/**
|
|
7152
|
-
* Maximum number of items to return per page. Defaults to 50, clamped to 200.
|
|
7153
|
-
*/
|
|
7154
|
-
limit?: number;
|
|
7155
|
-
/**
|
|
7156
|
-
* 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.
|
|
7157
|
-
*/
|
|
7158
|
-
sort?: 'createdAt:desc' | 'createdAt:asc' | 'name:asc' | 'name:desc';
|
|
7159
|
-
/**
|
|
7160
|
-
* 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.
|
|
7161
|
-
*/
|
|
7162
|
-
q?: string;
|
|
7163
|
-
};
|
|
6575
|
+
query?: never;
|
|
7164
6576
|
url: '/volumes';
|
|
7165
6577
|
};
|
|
7166
6578
|
export type ListVolumesErrors = {
|
|
@@ -7182,7 +6594,7 @@ export type ListVolumesResponses = {
|
|
|
7182
6594
|
/**
|
|
7183
6595
|
* successful operation
|
|
7184
6596
|
*/
|
|
7185
|
-
200:
|
|
6597
|
+
200: Array<Volume>;
|
|
7186
6598
|
};
|
|
7187
6599
|
export type ListVolumesResponse = ListVolumesResponses[keyof ListVolumesResponses];
|
|
7188
6600
|
export type CreateVolumeData = {
|
|
@@ -7606,12 +7018,7 @@ export type GetWorkspaceData = {
|
|
|
7606
7018
|
*/
|
|
7607
7019
|
workspaceName: string;
|
|
7608
7020
|
};
|
|
7609
|
-
query?:
|
|
7610
|
-
/**
|
|
7611
|
-
* 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.
|
|
7612
|
-
*/
|
|
7613
|
-
countResources?: boolean;
|
|
7614
|
-
};
|
|
7021
|
+
query?: never;
|
|
7615
7022
|
url: '/workspaces/{workspaceName}';
|
|
7616
7023
|
};
|
|
7617
7024
|
export type GetWorkspaceErrors = {
|