@blaxel/core 0.2.90-dev.181 → 0.2.90-preview.183
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -37
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/client/sdk.gen.js +12 -63
- package/dist/cjs/common/autoload.js +3 -0
- package/dist/cjs/common/controlPlaneFetch.js +57 -0
- package/dist/cjs/common/h2fetch.js +1 -1
- package/dist/cjs/common/lazyInit.js +5 -4
- package/dist/cjs/common/settings.js +28 -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/client/sdk.gen.js +1 -1
- package/dist/cjs/sandbox/preview.js +3 -8
- package/dist/cjs/sandbox/sandbox.js +4 -41
- package/dist/cjs/types/client/sdk.gen.d.ts +19 -34
- package/dist/cjs/types/client/types.gen.d.ts +47 -707
- package/dist/cjs/types/common/controlPlaneFetch.d.ts +4 -0
- package/dist/cjs/types/common/settings.d.ts +18 -0
- package/dist/cjs/types/drive/index.d.ts +4 -35
- package/dist/cjs/types/index.d.ts +0 -1
- package/dist/cjs/types/jobs/jobs.d.ts +3 -33
- package/dist/cjs/types/sandbox/client/sdk.gen.d.ts +1 -1
- package/dist/cjs/types/sandbox/client/types.gen.d.ts +0 -24
- package/dist/cjs/types/sandbox/preview.d.ts +2 -2
- package/dist/cjs/types/sandbox/sandbox.d.ts +2 -36
- package/dist/cjs/types/volume/index.d.ts +4 -37
- 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/autoload.js +3 -0
- package/dist/cjs-browser/common/controlPlaneFetch.js +57 -0
- package/dist/cjs-browser/common/lazyInit.js +5 -4
- package/dist/cjs-browser/common/settings.js +28 -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/client/sdk.gen.js +1 -1
- package/dist/cjs-browser/sandbox/preview.js +3 -8
- package/dist/cjs-browser/sandbox/sandbox.js +4 -41
- package/dist/cjs-browser/types/client/sdk.gen.d.ts +19 -34
- package/dist/cjs-browser/types/client/types.gen.d.ts +47 -707
- package/dist/cjs-browser/types/common/controlPlaneFetch.d.ts +4 -0
- package/dist/cjs-browser/types/common/settings.d.ts +18 -0
- package/dist/cjs-browser/types/drive/index.d.ts +4 -35
- 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/client/sdk.gen.d.ts +1 -1
- package/dist/cjs-browser/types/sandbox/client/types.gen.d.ts +0 -24
- package/dist/cjs-browser/types/sandbox/preview.d.ts +2 -2
- package/dist/cjs-browser/types/sandbox/sandbox.d.ts +2 -36
- package/dist/cjs-browser/types/volume/index.d.ts +4 -37
- 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/autoload.js +3 -0
- package/dist/esm/common/controlPlaneFetch.js +51 -0
- package/dist/esm/common/h2fetch.js +1 -1
- package/dist/esm/common/lazyInit.js +5 -4
- package/dist/esm/common/settings.js +28 -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/client/sdk.gen.js +1 -1
- package/dist/esm/sandbox/preview.js +3 -8
- package/dist/esm/sandbox/sandbox.js +4 -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/autoload.js +3 -0
- package/dist/esm-browser/common/controlPlaneFetch.js +51 -0
- package/dist/esm-browser/common/lazyInit.js +5 -4
- package/dist/esm-browser/common/settings.js +28 -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/client/sdk.gen.js +1 -1
- package/dist/esm-browser/sandbox/preview.js +3 -8
- package/dist/esm-browser/sandbox/sandbox.js +4 -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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch';
|
|
2
|
-
import type { ListAgentsData, CreateAgentData, DeleteAgentData, GetAgentData, UpdateAgentData, ListAgentRevisionsData, GetConfigurationData, ListCustomDomainsData, CreateCustomDomainData, DeleteCustomDomainData, GetCustomDomainData, UpdateCustomDomainData, VerifyCustomDomainData, ListDrivesData, CreateDriveData, DeleteDriveData, GetDriveData, UpdateDriveData, CreateDriveAccessTokenData, GetDriveJwksData, ListAllEgressGatewaysData,
|
|
2
|
+
import type { ListAgentsData, CreateAgentData, DeleteAgentData, GetAgentData, UpdateAgentData, ListAgentRevisionsData, GetConfigurationData, ListCustomDomainsData, CreateCustomDomainData, DeleteCustomDomainData, GetCustomDomainData, UpdateCustomDomainData, VerifyCustomDomainData, ListDrivesData, CreateDriveData, DeleteDriveData, GetDriveData, UpdateDriveData, CreateDriveAccessTokenData, GetDriveJwksData, ListAllEgressGatewaysData, ListAllEgressIpsData, GetWorkspaceFeaturesData, TestFeatureFlagData, ListFunctionsData, CreateFunctionData, DeleteFunctionData, GetFunctionData, UpdateFunctionData, ListFunctionRevisionsData, CleanupImagesData, ListImagesData, CreateImageData, DeleteImageData, GetImageData, ListImageSharesData, ShareImageData, ShareImageResponse, UnshareImageData, DeleteImageTagData, GetIntegrationData, ListIntegrationConnectionsData, CreateIntegrationConnectionData, DeleteIntegrationConnectionData, GetIntegrationConnectionData, UpdateIntegrationConnectionData, GetIntegrationConnectionModelEndpointConfigurationsData, ListIntegrationConnectionModelsData, GetIntegrationConnectionModelData, ListJobsData, CreateJobData, DeleteJobData, GetJobData, UpdateJobData, ListJobExecutionsData, CreateJobExecutionData, DeleteJobExecutionData, GetJobExecutionData, ListJobRevisionsData, ListLocationsData, ListMcpHubDefinitionsData, ListModelsData, CreateModelData, DeleteModelData, GetModelData, UpdateModelData, ListModelRevisionsData, ListPendingImageSharesData, AcceptImageShareData, DeclineImageShareData, ListPoliciesData, CreatePolicyData, DeletePolicyData, GetPolicyData, UpdatePolicyData, ListPublicIpsData, ListSandboxHubDefinitionsData, ListSandboxesData, CreateSandboxData, DeleteSandboxData, GetSandboxData, UpdateSandboxData, ListSandboxPreviewsData, CreateSandboxPreviewData, DeleteSandboxPreviewData, GetSandboxPreviewData, UpdateSandboxPreviewData, ListSandboxPreviewTokensData, CreateSandboxPreviewTokenData, DeleteSandboxPreviewTokenData, GetWorkspaceServiceAccountsData, CreateWorkspaceServiceAccountData, DeleteWorkspaceServiceAccountData, UpdateWorkspaceServiceAccountData, ListApiKeysForServiceAccountData, CreateApiKeyForServiceAccountData, DeleteApiKeyForServiceAccountData, ListTemplatesData, GetTemplateData, ListWorkspaceUsersData, InviteWorkspaceUserData, RemoveWorkspaceUserData, UpdateWorkspaceUserRoleData, ListVolumeTemplatesData, CreateVolumeTemplateData, DeleteVolumeTemplateData, GetVolumeTemplateData, UpdateVolumeTemplateData, DeleteVolumeTemplateVersionData, ListVolumesData, CreateVolumeData, DeleteVolumeData, GetVolumeData, UpdateVolumeData, ListVpcsData, CreateVpcData, DeleteVpcData, GetVpcData, ListEgressGatewaysData, CreateEgressGatewayData, DeleteEgressGatewayData, GetEgressGatewayData, ListEgressIpsData, CreateEgressIpData, DeleteEgressIpData, GetEgressIpData, ListWorkspacesData, CreateWorkspaceData, DeleteWorkspaceData, GetWorkspaceData, UpdateWorkspaceData, DeclineWorkspaceInvitationData, AcceptWorkspaceInvitationData, LeaveWorkspaceData, CheckWorkspaceAvailabilityData } from './types.gen.js';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -15,9 +15,9 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* List all agents
|
|
18
|
-
* Returns AI agents deployed in the workspace. Each agent includes its deployment status, runtime configuration, and global inference endpoint URL.
|
|
18
|
+
* Returns all AI agents deployed in the workspace. Each agent includes its deployment status, runtime configuration, and global inference endpoint URL.
|
|
19
19
|
*/
|
|
20
|
-
export declare const listAgents: <ThrowOnError extends boolean = false>(options?: Options<ListAgentsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").
|
|
20
|
+
export declare const listAgents: <ThrowOnError extends boolean = false>(options?: Options<ListAgentsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").Agent[], import("./types.gen.js")._Error, ThrowOnError>;
|
|
21
21
|
/**
|
|
22
22
|
* Create agent
|
|
23
23
|
* Creates a new AI agent deployment from your code. The agent will be built and deployed as a serverless auto-scaling endpoint. Use the Blaxel CLI 'bl deploy' for a simpler deployment experience.
|
|
@@ -75,9 +75,9 @@ export declare const updateCustomDomain: <ThrowOnError extends boolean = false>(
|
|
|
75
75
|
export declare const verifyCustomDomain: <ThrowOnError extends boolean = false>(options: Options<VerifyCustomDomainData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").CustomDomain, unknown, ThrowOnError>;
|
|
76
76
|
/**
|
|
77
77
|
* List drives
|
|
78
|
-
* Returns all drives in the workspace. Drives provide persistent storage that can be attached to agents, functions, and sandboxes.
|
|
78
|
+
* Returns all drives in the workspace. Drives provide persistent storage that can be attached to agents, functions, and sandboxes.
|
|
79
79
|
*/
|
|
80
|
-
export declare const listDrives: <ThrowOnError extends boolean = false>(options?: Options<ListDrivesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").
|
|
80
|
+
export declare const listDrives: <ThrowOnError extends boolean = false>(options?: Options<ListDrivesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").Drive[], unknown, ThrowOnError>;
|
|
81
81
|
/**
|
|
82
82
|
* Create a drive
|
|
83
83
|
* Creates a new drive in the workspace. Drives can be buckets and can be mounted at runtime to sandboxes.
|
|
@@ -123,11 +123,6 @@ export declare const getDriveJwks: <ThrowOnError extends boolean = false>(option
|
|
|
123
123
|
* List all egress gateways across all VPCs in the workspace
|
|
124
124
|
*/
|
|
125
125
|
export declare const listAllEgressGateways: <ThrowOnError extends boolean = false>(options?: Options<ListAllEgressGatewaysData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").EgressGateway[], unknown, ThrowOnError>;
|
|
126
|
-
/**
|
|
127
|
-
* Egress gateway sandbox attachments
|
|
128
|
-
* Returns the inverse map (gateway → sandbox names) for the workspace. Used by the egress-IPs UI to render attachment counts without fetching the sandboxes listing full client-side.
|
|
129
|
-
*/
|
|
130
|
-
export declare const getEgressGatewayUsage: <ThrowOnError extends boolean = false>(options?: Options<GetEgressGatewayUsageData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").EgressGatewayUsage, unknown, ThrowOnError>;
|
|
131
126
|
/**
|
|
132
127
|
* List all egress IPs across all VPCs and gateways in the workspace
|
|
133
128
|
*/
|
|
@@ -156,9 +151,9 @@ export declare const testFeatureFlag: <ThrowOnError extends boolean = false>(opt
|
|
|
156
151
|
}, import("./types.gen.js")._Error, ThrowOnError>;
|
|
157
152
|
/**
|
|
158
153
|
* List all MCP servers
|
|
159
|
-
* Returns MCP server functions deployed in the workspace. Each function includes its deployment status, transport protocol (websocket or http-stream), and endpoint URL.
|
|
154
|
+
* Returns all MCP server functions deployed in the workspace. Each function includes its deployment status, transport protocol (websocket or http-stream), and endpoint URL.
|
|
160
155
|
*/
|
|
161
|
-
export declare const listFunctions: <ThrowOnError extends boolean = false>(options?: Options<ListFunctionsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").
|
|
156
|
+
export declare const listFunctions: <ThrowOnError extends boolean = false>(options?: Options<ListFunctionsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js")._Function[], import("./types.gen.js")._Error, ThrowOnError>;
|
|
162
157
|
/**
|
|
163
158
|
* Create MCP server
|
|
164
159
|
* Creates a new MCP server function deployment. The function will expose tools via the Model Context Protocol that can be used by AI agents. Supports streamable HTTP transport.
|
|
@@ -284,9 +279,9 @@ export declare const listIntegrationConnectionModels: <ThrowOnError extends bool
|
|
|
284
279
|
export declare const getIntegrationConnectionModel: <ThrowOnError extends boolean = false>(options: Options<GetIntegrationConnectionModelData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
|
|
285
280
|
/**
|
|
286
281
|
* List batch jobs
|
|
287
|
-
* Returns batch job definitions in the workspace. Each job can be triggered to run multiple parallel tasks with configurable concurrency and retry settings.
|
|
282
|
+
* Returns all batch job definitions in the workspace. Each job can be triggered to run multiple parallel tasks with configurable concurrency and retry settings.
|
|
288
283
|
*/
|
|
289
|
-
export declare const listJobs: <ThrowOnError extends boolean = false>(options?: Options<ListJobsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").
|
|
284
|
+
export declare const listJobs: <ThrowOnError extends boolean = false>(options?: Options<ListJobsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").Job[], unknown, ThrowOnError>;
|
|
290
285
|
/**
|
|
291
286
|
* Create batch job
|
|
292
287
|
* Creates a new batch job definition for parallel AI task processing. Jobs can be triggered via API or scheduled, and support configurable parallelism, timeouts, and retry logic.
|
|
@@ -309,9 +304,9 @@ export declare const getJob: <ThrowOnError extends boolean = false>(options: Opt
|
|
|
309
304
|
export declare const updateJob: <ThrowOnError extends boolean = false>(options: Options<UpdateJobData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").Job, unknown, ThrowOnError>;
|
|
310
305
|
/**
|
|
311
306
|
* List job executions
|
|
312
|
-
* Returns executions for a batch job
|
|
307
|
+
* Returns paginated list of executions for a batch job, sorted by creation time. Each execution contains status, task counts, and timing information.
|
|
313
308
|
*/
|
|
314
|
-
export declare const listJobExecutions: <ThrowOnError extends boolean = false>(options: Options<ListJobExecutionsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").
|
|
309
|
+
export declare const listJobExecutions: <ThrowOnError extends boolean = false>(options: Options<ListJobExecutionsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").JobExecution[], unknown, ThrowOnError>;
|
|
315
310
|
/**
|
|
316
311
|
* Create job execution
|
|
317
312
|
* Triggers a new execution of the batch job. Each execution runs multiple tasks in parallel according to the job's configured concurrency. Tasks can be parameterized via the request body.
|
|
@@ -327,11 +322,6 @@ export declare const deleteJobExecution: <ThrowOnError extends boolean = false>(
|
|
|
327
322
|
* Returns detailed information about a specific job execution including status, task statistics (success/failure/running counts), and timing information.
|
|
328
323
|
*/
|
|
329
324
|
export declare const getJobExecution: <ThrowOnError extends boolean = false>(options: Options<GetJobExecutionData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").JobExecution, unknown, ThrowOnError>;
|
|
330
|
-
/**
|
|
331
|
-
* List execution tasks
|
|
332
|
-
* Returns one cursor-paginated page of an execution's tasks. Tasks are derived from event history each request; only the in-memory slicing is paginated, the events scan still fetches the whole event log behind the scenes. Available starting with API version 2026-04-28.
|
|
333
|
-
*/
|
|
334
|
-
export declare const listJobExecutionTasks: <ThrowOnError extends boolean = false>(options: Options<ListJobExecutionTasksData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").JobExecutionTaskList, unknown, ThrowOnError>;
|
|
335
325
|
/**
|
|
336
326
|
* List job revisions
|
|
337
327
|
* Returns revisions for a job by name.
|
|
@@ -349,9 +339,9 @@ export declare const listLocations: <ThrowOnError extends boolean = false>(optio
|
|
|
349
339
|
export declare const listMcpHubDefinitions: <ThrowOnError extends boolean = false>(options?: Options<ListMcpHubDefinitionsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").McpDefinition[], unknown, ThrowOnError>;
|
|
350
340
|
/**
|
|
351
341
|
* List model endpoints
|
|
352
|
-
* Returns model gateway endpoints configured in the workspace. Each model represents a proxy to an external LLM provider (OpenAI, Anthropic, etc.) with unified access control.
|
|
342
|
+
* Returns all model gateway endpoints configured in the workspace. Each model represents a proxy to an external LLM provider (OpenAI, Anthropic, etc.) with unified access control.
|
|
353
343
|
*/
|
|
354
|
-
export declare const listModels: <ThrowOnError extends boolean = false>(options?: Options<ListModelsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").
|
|
344
|
+
export declare const listModels: <ThrowOnError extends boolean = false>(options?: Options<ListModelsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").Model[], import("./types.gen.js")._Error, ThrowOnError>;
|
|
355
345
|
/**
|
|
356
346
|
* Create model endpoint
|
|
357
347
|
* Creates a new model gateway endpoint that proxies requests to an external LLM provider. Requires an integration connection with valid API credentials for the target provider.
|
|
@@ -394,9 +384,9 @@ export declare const acceptImageShare: <ThrowOnError extends boolean = false>(op
|
|
|
394
384
|
export declare const declineImageShare: <ThrowOnError extends boolean = false>(options: Options<DeclineImageShareData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<void, unknown, ThrowOnError>;
|
|
395
385
|
/**
|
|
396
386
|
* List governance policies
|
|
397
|
-
* Returns governance policies in the workspace. Policies control deployment locations, hardware flavors, and token limits for agents, functions, and models.
|
|
387
|
+
* Returns all governance policies in the workspace. Policies control deployment locations, hardware flavors, and token limits for agents, functions, and models.
|
|
398
388
|
*/
|
|
399
|
-
export declare const listPolicies: <ThrowOnError extends boolean = false>(options?: Options<ListPoliciesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").
|
|
389
|
+
export declare const listPolicies: <ThrowOnError extends boolean = false>(options?: Options<ListPoliciesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").Policy[], unknown, ThrowOnError>;
|
|
400
390
|
/**
|
|
401
391
|
* Create governance policy
|
|
402
392
|
* Creates a new governance policy to control where and how resources are deployed. Policies can restrict deployment to specific regions, countries, or continents for compliance.
|
|
@@ -417,11 +407,6 @@ export declare const getPolicy: <ThrowOnError extends boolean = false>(options:
|
|
|
417
407
|
* Updates a governance policy's restrictions. Changes take effect on the next deployment of resources using this policy.
|
|
418
408
|
*/
|
|
419
409
|
export declare const updatePolicy: <ThrowOnError extends boolean = false>(options: Options<UpdatePolicyData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").Policy, unknown, ThrowOnError>;
|
|
420
|
-
/**
|
|
421
|
-
* List resources using a policy
|
|
422
|
-
* Returns the names of every resource (agent, function, model, sandbox, job) currently referencing the given policy. Replaces the client-side fan-out the policies UI used to do over the listings.
|
|
423
|
-
*/
|
|
424
|
-
export declare const getPolicyUsages: <ThrowOnError extends boolean = false>(options: Options<GetPolicyUsagesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").PolicyUsages, unknown, ThrowOnError>;
|
|
425
410
|
/**
|
|
426
411
|
* List public ips
|
|
427
412
|
* Returns a list of all public ips used in Blaxel..
|
|
@@ -434,9 +419,9 @@ export declare const listPublicIps: <ThrowOnError extends boolean = false>(optio
|
|
|
434
419
|
export declare const listSandboxHubDefinitions: <ThrowOnError extends boolean = false>(options?: Options<ListSandboxHubDefinitionsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").SandboxDefinition[], unknown, ThrowOnError>;
|
|
435
420
|
/**
|
|
436
421
|
* List sandboxes
|
|
437
|
-
* Returns sandboxes in the workspace. Each sandbox includes its configuration, status, and endpoint URL.
|
|
422
|
+
* Returns all sandboxes in the workspace. Each sandbox includes its configuration, status, and endpoint URL.
|
|
438
423
|
*/
|
|
439
|
-
export declare const listSandboxes: <ThrowOnError extends boolean = false>(options?: Options<ListSandboxesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").
|
|
424
|
+
export declare const listSandboxes: <ThrowOnError extends boolean = false>(options?: Options<ListSandboxesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").Sandbox[], import("./types.gen.js")._Error, ThrowOnError>;
|
|
440
425
|
/**
|
|
441
426
|
* Create sandbox
|
|
442
427
|
* Creates a new sandbox VM for secure AI code execution. Sandboxes automatically scale to zero when idle and resume instantly, preserving memory state including running processes and filesystem.
|
|
@@ -624,9 +609,9 @@ export declare const deleteVolumeTemplateVersion: <ThrowOnError extends boolean
|
|
|
624
609
|
}, unknown, ThrowOnError>;
|
|
625
610
|
/**
|
|
626
611
|
* List persistent volumes
|
|
627
|
-
* Returns persistent storage volumes in the workspace. Volumes can be attached to sandboxes for durable file storage that persists across sessions and sandbox deletions.
|
|
612
|
+
* Returns all persistent storage volumes in the workspace. Volumes can be attached to sandboxes for durable file storage that persists across sessions and sandbox deletions.
|
|
628
613
|
*/
|
|
629
|
-
export declare const listVolumes: <ThrowOnError extends boolean = false>(options?: Options<ListVolumesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").
|
|
614
|
+
export declare const listVolumes: <ThrowOnError extends boolean = false>(options?: Options<ListVolumesData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").Volume[], import("./types.gen.js")._Error, ThrowOnError>;
|
|
630
615
|
/**
|
|
631
616
|
* Create persistent volume
|
|
632
617
|
* Creates a new persistent storage volume that can be attached to sandboxes. Volumes must be created in a specific region and can only attach to sandboxes in the same region.
|