Client and REST
The API client: every REST operation of the v2 contract, and the event stream.
Every method shows the same operation in each SDK; pick a language once and every tab on the site follows it.
SandboxClient
Section titled “SandboxClient”REST transport; API keys use X-API-Key and sessions use Bearer.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
base_url |
str |
|
timeout |
float |
|
trace |
Callable[[RequestTrace], None] | None |
| Property | Type | Description |
|---|---|---|
domain |
string |
|
retryPolicy |
RetryPolicy |
The policy this client retries with; the data-plane clients of its sandboxes use it too. |
Go exposes these as methods; see below.
| Property | Type | Description |
|---|---|---|
base_url |
||
retry_policy |
||
timeout |
Java exposes these as methods; see below.
accept_invite()
Section titled “accept_invite()”def accept_invite(self, invite_id: str) -> dict[str, Any]AccountApiAccept an invite as the signed-in user (acceptInvite: POST /v2/invites/{invite_id}/accept).
| Parameter | Type | Default |
|---|---|---|
invite_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_account.py:89acceptInvite(inviteId: string): Promise<Json>AccountApiAccept an invite as the signed-in user (acceptInvite: POST /v2/invites/{invite_id}/accept).
| Parameter | Type | Default |
|---|---|---|
inviteId |
string |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:104func (c *Client) AcceptInvite(ctx context.Context, inviteID string) (map[string]any, error)AcceptInvite accept an invite as the signed-in user (acceptInvite: POST /v2/invites/{invite_id}/accept).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
inviteID |
string |
Returns (map[string]any, error)
sdk/go/api_account.go:141def accept_invite(invite_id, request_timeout: nil)Accept an invite as the signed-in user (acceptInvite: POST /v2/invites/{invite_id}/accept).
| Parameter | Type | Default |
|---|---|---|
invite_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:100public Map<String, Object> acceptInvite(String inviteId)ApiAccountAccept an invite as the signed-in user (acceptInvite: POST /v2/invites/{invite_id}/accept).
| Parameter | Type | Default |
|---|---|---|
inviteId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:102accept_template_grant()
Section titled “accept_template_grant()”def accept_template_grant(self, grant_id: str) -> dict[str, Any]TemplatesApiAccept a template offered to the team (admin) (acceptTemplateGrant: POST /v2/template-grants/{grant_id}/accept).
| Parameter | Type | Default |
|---|---|---|
grant_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_templates.py:53acceptTemplateGrant(grantId: string): Promise<Json>TemplatesApiAccept a template offered to the team (admin) (acceptTemplateGrant: POST /v2/template-grants/{grant_id}/accept).
| Parameter | Type | Default |
|---|---|---|
grantId |
string |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:69func (c *Client) AcceptTemplateGrant(ctx context.Context, grantID string) (map[string]any, error)AcceptTemplateGrant accept a template offered to the team (admin) (acceptTemplateGrant: POST /v2/template-grants/{grant_id}/accept).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
grantID |
string |
Returns (map[string]any, error)
sdk/go/api_templates.go:164def accept_template_grant(grant_id, request_timeout: nil)Accept a template offered to the team (admin) (acceptTemplateGrant: POST /v2/template-grants/{grant_id}/accept).
| Parameter | Type | Default |
|---|---|---|
grant_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/templates.rb:60public Map<String, Object> acceptTemplateGrant(String grantId)ApiTemplatesAccept a template offered to the team (admin) (acceptTemplateGrant: POST /v2/template-grants/{grant_id}/accept).
| Parameter | Type | Default |
|---|---|---|
grantId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTemplates.java:62allow_insecure_http()
Section titled “allow_insecure_http()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
Not in the Go SDK’s Client.
def allow_insecure_http?sdk/ruby/lib/svm/client.rb:41Not in the Java SDK’s Api.
approve_device_auth()
Section titled “approve_device_auth()”def approve_device_auth(self, body: dict[str, Any]) -> dict[str, Any]AuthApiApprove or deny a CLI sign-in by its user code (approveDeviceAuth: POST /v2/auth/device/approve).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_auth.py:13approveDeviceAuth(body: Json): Promise<Json>AuthApiApprove or deny a CLI sign-in by its user code (approveDeviceAuth: POST /v2/auth/device/approve).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-auth.ts:19func (c *Client) ApproveDeviceAuth(ctx context.Context, body any) (map[string]any, error)ApproveDeviceAuth approve or deny a CLI sign-in by its user code (approveDeviceAuth: POST /v2/auth/device/approve).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_auth.go:20def approve_device_auth(body:, request_timeout: nil)Approve or deny a CLI sign-in by its user code (approveDeviceAuth: POST /v2/auth/device/approve).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/auth.rb:18public Map<String, Object> approveDeviceAuth(Object body)ApiAuthApprove or deny a CLI sign-in by its user code (approveDeviceAuth: POST /v2/auth/device/approve).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAuth.java:22assign_template_tag()
Section titled “assign_template_tag()”def assign_template_tag(self, template_id: str, body: dict[str, Any]) -> dict[str, Any]TemplatesApiAssign a tag (alias) to a build (assignTemplateTag: POST /v2/templates/{template_id}/tags).
| Parameter | Type | Default |
|---|---|---|
template_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_templates.py:21assignTemplateTag(templateId: string, body: Json): Promise<Json>TemplatesApiAssign a tag (alias) to a build (assignTemplateTag: POST /v2/templates/{template_id}/tags).
| Parameter | Type | Default |
|---|---|---|
templateId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:29func (c *Client) AssignTemplateTag(ctx context.Context, templateID string, body any) (map[string]any, error)AssignTemplateTag assign a tag (alias) to a build (assignTemplateTag: POST /v2/templates/{template_id}/tags).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
templateID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_templates.go:58def assign_template_tag(template_id, body:, request_timeout: nil)Assign a tag (alias) to a build (assignTemplateTag: POST /v2/templates/{template_id}/tags).
| Parameter | Type | Default |
|---|---|---|
template_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/templates.rb:18public Map<String, Object> assignTemplateTag(String templateId, Object body)ApiTemplatesAssign a tag (alias) to a build (assignTemplateTag: POST /v2/templates/{template_id}/tags).
| Parameter | Type | Default |
|---|---|---|
templateId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTemplates.java:22attach_volume()
Section titled “attach_volume()”def attach_volume(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]SandboxesApiAttach a volume to a sandbox (attachVolume: POST /v2/sandboxes/{sandbox_id}/volumes).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:53attachVolume(sandboxId: string, body: Json): Promise<Json>SandboxesApiAttach a volume to a sandbox (attachVolume: POST /v2/sandboxes/{sandbox_id}/volumes).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-sandboxes.ts:54func (c *Client) AttachVolume(ctx context.Context, sandboxID string, body any) (map[string]any, error)AttachVolume attach a volume to a sandbox (attachVolume: POST /v2/sandboxes/{sandbox_id}/volumes).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:158def attach_volume(sandbox_id, body:, request_timeout: nil)Attach a volume to a sandbox (attachVolume: POST /v2/sandboxes/{sandbox_id}/volumes).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandboxes.rb:52public Map<String, Object> attachVolume(String sandboxId, Object body)ApiSandboxesAttach a volume to a sandbox (attachVolume: POST /v2/sandboxes/{sandbox_id}/volumes).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxes.java:52cancel_build()
Section titled “cancel_build()”def cancel_build(self, build_id: str) -> dict[str, Any]TemplatesApiCancel a queued or running build (cancelBuild: POST /v2/builds/{build_id}/cancel).
| Parameter | Type | Default |
|---|---|---|
build_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_templates.py:37cancelBuild(buildId: string): Promise<Json>TemplatesApiCancel a queued or running build (cancelBuild: POST /v2/builds/{build_id}/cancel).
| Parameter | Type | Default |
|---|---|---|
buildId |
string |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:49func (c *Client) CancelBuild(ctx context.Context, buildID string) (map[string]any, error)CancelBuild cancel a queued or running build (cancelBuild: POST /v2/builds/{build_id}/cancel).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
buildID |
string |
Returns (map[string]any, error)
sdk/go/api_templates.go:123def cancel_build(build_id, request_timeout: nil)Cancel a queued or running build (cancelBuild: POST /v2/builds/{build_id}/cancel).
| Parameter | Type | Default |
|---|---|---|
build_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/templates.rb:39public Map<String, Object> cancelBuild(String buildId)ApiTemplatesCancel a queued or running build (cancelBuild: POST /v2/builds/{build_id}/cancel).
| Parameter | Type | Default |
|---|---|---|
buildId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTemplates.java:42cancel_rollout()
Section titled “cancel_rollout()”def cancel_rollout(self, rollout_id: str) -> dict[str, Any]RolloutsApiStop a rollout and release its branches (cancelRollout: DELETE /v2/rollouts/{rollout_id}).
| Parameter | Type | Default |
|---|---|---|
rollout_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_rollouts.py:25cancelRollout(rolloutId: string): Promise<Json>RolloutsApiStop a rollout and release its branches (cancelRollout: DELETE /v2/rollouts/{rollout_id}).
| Parameter | Type | Default |
|---|---|---|
rolloutId |
string |
Returns Promise<Json>
sdk/typescript/src/api-rollouts.ts:24func (c *Client) CancelRollout(ctx context.Context, rolloutID string) (map[string]any, error)CancelRollout stop a rollout and release its branches (cancelRollout: DELETE /v2/rollouts/{rollout_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
rolloutID |
string |
Returns (map[string]any, error)
sdk/go/api_rollouts.go:48def cancel_rollout(rollout_id, request_timeout: nil)Stop a rollout and release its branches (cancelRollout: DELETE /v2/rollouts/{rollout_id}).
| Parameter | Type | Default |
|---|---|---|
rollout_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/rollouts.rb:24public Map<String, Object> cancelRollout(String rolloutId)ApiRolloutsStop a rollout and release its branches (cancelRollout: DELETE /v2/rollouts/{rollout_id}).
| Parameter | Type | Default |
|---|---|---|
rolloutId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiRollouts.java:27cancel_run()
Section titled “cancel_run()”def cancel_run(self, sandbox_id: str, run_id: str) -> dict[str, Any]ToolsApiRevoke a run’s unused credential tokens at once (cancelRun: POST /v2/sandboxes/{sandbox_id}/runs/{run_id}/cancel).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
run_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_tools.py:33cancelRun(sandboxId: string, runId: string): Promise<Json>ToolsApiRevoke a run’s unused credential tokens at once (cancelRun: POST /v2/sandboxes/{sandbox_id}/runs/{run_id}/cancel).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
runId |
string |
Returns Promise<Json>
sdk/typescript/src/api-tools.ts:34func (c *Client) CancelRun(ctx context.Context, sandboxID string, runID string) (map[string]any, error)CancelRun revoke a run’s unused credential tokens at once (cancelRun: POST /v2/sandboxes/{sandbox_id}/runs/{run_id}/cancel).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
runID |
string |
Returns (map[string]any, error)
sdk/go/api_tools.go:75def cancel_run(sandbox_id, run_id, request_timeout: nil)Revoke a run’s unused credential tokens at once (cancelRun: POST /v2/sandboxes/{sandbox_id}/runs/{run_id}/cancel).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
run_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/tools.rb:35public Map<String, Object> cancelRun(String sandboxId, String runId)ApiToolsRevoke a run’s unused credential tokens at once (cancelRun: POST /v2/sandboxes/{sandbox_id}/runs/{run_id}/cancel).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
runId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTools.java:37cancel_subscription()
Section titled “cancel_subscription()”def cancel_subscription(self) -> dict[str, Any]ObservabilityApiCancel the paid plan at the end of the current cycle (cancelSubscription: POST /v2/billing/cancel).
Returns dict[str, Any]
sdk/python/svm/api_observability.py:93cancelSubscription(): Promise<Json>ObservabilityApiCancel the paid plan at the end of the current cycle (cancelSubscription: POST /v2/billing/cancel).
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:109func (c *Client) CancelSubscription(ctx context.Context) (map[string]any, error)CancelSubscription cancel the paid plan at the end of the current cycle (cancelSubscription: POST /v2/billing/cancel).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_observability.go:208def cancel_subscription(request_timeout: nil)Cancel the paid plan at the end of the current cycle (cancelSubscription: POST /v2/billing/cancel).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:112public Map<String, Object> cancelSubscription()ApiObservabilityCancel the paid plan at the end of the current cycle (cancelSubscription: POST /v2/billing/cancel).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:112confirm_email_change()
Section titled “confirm_email_change()”def confirm_email_change(self, body: dict[str, Any]) -> dict[str, Any]AccountEmailApiConfirm a verified email change (confirmEmailChange: POST /v2/me/email-change/confirm).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_account_email.py:17confirmEmailChange(body: Json): Promise<Json>AccountEmailApiConfirm a verified email change (confirmEmailChange: POST /v2/me/email-change/confirm).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-account-email.ts:14func (c *Client) ConfirmEmailChange(ctx context.Context, body any) (map[string]any, error)ConfirmEmailChange confirm a verified email change (confirmEmailChange: POST /v2/me/email-change/confirm).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_account_email.go:15def confirm_email_change(body:, request_timeout: nil)Confirm a verified email change (confirmEmailChange: POST /v2/me/email-change/confirm).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account_email.rb:13public Map<String, Object> confirmEmailChange(Object body)ApiAccountEmailConfirm a verified email change (confirmEmailChange: POST /v2/me/email-change/confirm).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccountEmail.java:17connect_sandbox()
Section titled “connect_sandbox()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) ConnectSandbox(ctx context.Context, id string, options ConnectSandboxOptions) (*Sandbox, error)ConnectSandbox obtains fresh data-plane credentials for a sandbox, resuming it if it is paused. Unless options.Wait points to false it returns once the sandbox has left resuming/starting.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
id |
string |
|
options |
ConnectSandboxOptions |
Returns (*Sandbox, error)
sdk/go/sandbox.go:339Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
connect_sandbox_by_name()
Section titled “connect_sandbox_by_name()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) ConnectSandboxByName(ctx context.Context, name string, options ConnectSandboxOptions) (*Sandbox, error)ConnectSandboxByName connects to the team’s live sandbox that has name, resuming it if it is stopped (and waiting as ConnectSandbox does).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
name |
string |
|
options |
ConnectSandboxOptions |
Returns (*Sandbox, error)
sdk/go/sandbox.go:393Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
constructor()
Section titled “constructor()”Not in the Python SDK’s SandboxClient.
constructor(options: ClientOptions = {})| Parameter | Type | Default |
|---|---|---|
options |
ClientOptions |
{} |
sdk/typescript/src/client.ts:114Not in the Go SDK’s Client.
Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
create_api_key()
Section titled “create_api_key()”def create_api_key(self, body: dict[str, Any]) -> dict[str, Any]AccountApiCreate an API key (createApiKey: POST /v2/api-keys).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_account.py:97createApiKey(body: Json): Promise<Json>AccountApiCreate an API key (createApiKey: POST /v2/api-keys).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:114func (c *Client) CreateApiKey(ctx context.Context, body any) (map[string]any, error)CreateApiKey create an API key (createApiKey: POST /v2/api-keys).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_account.go:176def create_api_key(body:, request_timeout: nil)Create an API key (createApiKey: POST /v2/api-keys).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:111public Map<String, Object> createApiKey(Object body)ApiAccountCreate an API key (createApiKey: POST /v2/api-keys).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:112create_billing_portal_session()
Section titled “create_billing_portal_session()”def create_billing_portal_session(self) -> dict[str, Any]ObservabilityApiOpen the billing provider’s customer portal (createBillingPortalSession: POST /v2/billing/portal).
Returns dict[str, Any]
sdk/python/svm/api_observability.py:85createBillingPortalSession(): Promise<Json>ObservabilityApiOpen the billing provider’s customer portal (createBillingPortalSession: POST /v2/billing/portal).
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:99func (c *Client) CreateBillingPortalSession(ctx context.Context) (map[string]any, error)CreateBillingPortalSession open the billing provider’s customer portal (createBillingPortalSession: POST /v2/billing/portal).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_observability.go:177def create_billing_portal_session(request_timeout: nil)Open the billing provider’s customer portal (createBillingPortalSession: POST /v2/billing/portal).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:101public Map<String, Object> createBillingPortalSession()ApiObservabilityOpen the billing provider’s customer portal (createBillingPortalSession: POST /v2/billing/portal).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:102create_checkout_session()
Section titled “create_checkout_session()”def create_checkout_session(self, body: dict[str, Any]) -> dict[str, Any]ObservabilityApiStart an upgrade checkout with the billing provider (createCheckoutSession: POST /v2/billing/checkout).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:81createCheckoutSession(body: Json): Promise<Json>ObservabilityApiStart an upgrade checkout with the billing provider (createCheckoutSession: POST /v2/billing/checkout).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:94func (c *Client) CreateCheckoutSession(ctx context.Context, body any) (map[string]any, error)CreateCheckoutSession start an upgrade checkout with the billing provider (createCheckoutSession: POST /v2/billing/checkout).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_observability.go:172def create_checkout_session(body:, request_timeout: nil)Start an upgrade checkout with the billing provider (createCheckoutSession: POST /v2/billing/checkout).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:96public Map<String, Object> createCheckoutSession(Object body)ApiObservabilityStart an upgrade checkout with the billing provider (createCheckoutSession: POST /v2/billing/checkout).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:97create_domain()
Section titled “create_domain()”def create_domain(self, body: dict[str, Any]) -> dict[str, Any]InboundApiClaim a custom domain (createDomain: POST /v2/domains).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_inbound.py:25createDomain(body: Json): Promise<Json>InboundApiClaim a custom domain (createDomain: POST /v2/domains).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-inbound.ts:24func (c *Client) CreateDomain(ctx context.Context, body any) (map[string]any, error)CreateDomain claim a custom domain (createDomain: POST /v2/domains).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_inbound.go:44def create_domain(body:, request_timeout: nil)Claim a custom domain (createDomain: POST /v2/domains).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/inbound.rb:24public Map<String, Object> createDomain(Object body)ApiInboundClaim a custom domain (createDomain: POST /v2/domains).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiInbound.java:27create_interpreter_context()
Section titled “create_interpreter_context()”def create_interpreter_context(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]ToolsApiStart a stateful interpreter context (createInterpreterContext: POST /v2/sandboxes/{sandbox_id}/interpreter/contexts).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_tools.py:41createInterpreterContext(sandboxId: string, body: Json): Promise<Json>ToolsApiStart a stateful interpreter context (createInterpreterContext: POST /v2/sandboxes/{sandbox_id}/interpreter/contexts).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-tools.ts:44func (c *Client) CreateInterpreterContext(ctx context.Context, sandboxID string, body any) (map[string]any, error)CreateInterpreterContext start a stateful interpreter context (createInterpreterContext: POST /v2/sandboxes/{sandbox_id}/interpreter/contexts).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_tools.go:85Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
create_rollout()
Section titled “create_rollout()”def create_rollout(self, sandbox_id: str, body: dict[str, Any], *, idempotency_key: str | None=None) -> dict[str, Any]RolloutsApiFan a running sandbox out into N scored branches (createRollout: POST /v2/sandboxes/{sandbox_id}/rollouts).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
|
idempotency_key |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_rollouts.py:13createRollout(sandboxId: string, body: Json, options: { idempotencyKey?: string } = {}): Promise<Json>RolloutsApiFan a running sandbox out into N scored branches (createRollout: POST /v2/sandboxes/{sandbox_id}/rollouts).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
|
options |
{ idempotencyKey?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-rollouts.ts:9func (c *Client) CreateRollout(ctx context.Context, sandboxID string, body any, idempotencyKey string) (map[string]any, error)CreateRollout fan a running sandbox out into N scored branches (createRollout: POST /v2/sandboxes/{sandbox_id}/rollouts).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
|
idempotencyKey |
string |
Returns (map[string]any, error)
sdk/go/api_rollouts.go:12def create_rollout(sandbox_id, body:, idempotency_key: nil, request_timeout: nil)Fan a running sandbox out into N scored branches (createRollout: POST /v2/sandboxes/{sandbox_id}/rollouts).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
idempotency_key |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/rollouts.rb:8public Map<String, Object> createRollout(String sandboxId, Object body, String idempotencyKey)ApiRolloutsFan a running sandbox out into N scored branches (createRollout: POST /v2/sandboxes/{sandbox_id}/rollouts).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
|
idempotencyKey |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiRollouts.java:12create_sandbox()
Section titled “create_sandbox()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) CreateSandbox(ctx context.Context, options CreateSandboxOptions) (*Sandbox, error)CreateSandbox starts a new sandbox.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
options |
CreateSandboxOptions |
Returns (*Sandbox, error)
sdk/go/sandbox.go:313Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
create_sandbox_alert_rule()
Section titled “create_sandbox_alert_rule()”def create_sandbox_alert_rule(self, body: dict[str, Any]) -> dict[str, Any]ObservabilityApiCreate a sandbox alert rule (createSandboxAlertRule: POST /v2/sandbox-alert-rules).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:49createSandboxAlertRule(body: Json): Promise<Json>ObservabilityApiCreate a sandbox alert rule (createSandboxAlertRule: POST /v2/sandbox-alert-rules).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:54func (c *Client) CreateSandboxAlertRule(ctx context.Context, body any) (map[string]any, error)CreateSandboxAlertRule create a sandbox alert rule (createSandboxAlertRule: POST /v2/sandbox-alert-rules).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_observability.go:111def create_sandbox_alert_rule(body:, request_timeout: nil)Create a sandbox alert rule (createSandboxAlertRule: POST /v2/sandbox-alert-rules).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:55public Map<String, Object> createSandboxAlertRule(Object body)ApiObservabilityCreate a sandbox alert rule (createSandboxAlertRule: POST /v2/sandbox-alert-rules).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:57create_sandbox_backup()
Section titled “create_sandbox_backup()”def create_sandbox_backup(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]VolumeFilesApiBack up a sandbox directory to a bucket (createSandboxBackup: POST /v2/sandboxes/{sandbox_id}/backups).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_volume_files.py:33createSandboxBackup(sandboxId: string, body: Json): Promise<Json>VolumeFilesApiBack up a sandbox directory to a bucket (createSandboxBackup: POST /v2/sandboxes/{sandbox_id}/backups).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-volume-files.ts:34func (c *Client) CreateSandboxBackup(ctx context.Context, sandboxID string, body any) (map[string]any, error)CreateSandboxBackup back up a sandbox directory to a bucket (createSandboxBackup: POST /v2/sandboxes/{sandbox_id}/backups).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_volume_files.go:93def create_sandbox_backup(sandbox_id, body:, request_timeout: nil)Back up a sandbox directory to a bucket (createSandboxBackup: POST /v2/sandboxes/{sandbox_id}/backups).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/volume_files.rb:37public Map<String, Object> createSandboxBackup(String sandboxId, Object body)ApiVolumeFilesBack up a sandbox directory to a bucket (createSandboxBackup: POST /v2/sandboxes/{sandbox_id}/backups).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiVolumeFiles.java:37create_sandbox_file_url()
Section titled “create_sandbox_file_url()”def create_sandbox_file_url(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]SandboxesApiCreate a signed upload or download URL (createSandboxFileUrl: POST /v2/sandboxes/{sandbox_id}/file-urls).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:25Not in the TypeScript SDK’s SandboxClient.
func (c *Client) CreateSandboxFileUrl(ctx context.Context, sandboxID string, body any) (map[string]any, error)CreateSandboxFileUrl create a signed upload or download URL (createSandboxFileUrl: POST /v2/sandboxes/{sandbox_id}/file-urls).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:27Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
create_sandbox_identity_token()
Section titled “create_sandbox_identity_token()”def create_sandbox_identity_token(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]IdentityApiIssue a sandbox OIDC identity token (createSandboxIdentityToken: POST /v2/sandboxes/{sandbox_id}/identity-token).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_identity.py:29createSandboxIdentityToken(sandboxId: string, body: Json): Promise<Json>IdentityApiIssue a sandbox OIDC identity token (createSandboxIdentityToken: POST /v2/sandboxes/{sandbox_id}/identity-token).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-identity.ts:29func (c *Client) CreateSandboxIdentityToken(ctx context.Context, sandboxID string, body any) (map[string]any, error)CreateSandboxIdentityToken issue a sandbox OIDC identity token (createSandboxIdentityToken: POST /v2/sandboxes/{sandbox_id}/identity-token).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_identity.go:31def create_sandbox_identity_token(sandbox_id, body:, request_timeout: nil)Issue a sandbox OIDC identity token (createSandboxIdentityToken: POST /v2/sandboxes/{sandbox_id}/identity-token).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/identity.rb:28public Map<String, Object> createSandboxIdentityToken(String sandboxId, Object body)ApiIdentityIssue a sandbox OIDC identity token (createSandboxIdentityToken: POST /v2/sandboxes/{sandbox_id}/identity-token).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiIdentity.java:32create_sandbox_traffic_session()
Section titled “create_sandbox_traffic_session()”def create_sandbox_traffic_session(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]SandboxAccessApiMint a one-time browser entry URL for a secure sandbox (createSandboxTrafficSession: POST /v2/sandboxes/{sandbox_id}/traffic-session).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_sandbox_access.py:21createSandboxTrafficSession(sandboxId: string, body: Json): Promise<Json>SandboxAccessApiMint a one-time browser entry URL for a secure sandbox (createSandboxTrafficSession: POST /v2/sandboxes/{sandbox_id}/traffic-session).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-sandbox-access.ts:19func (c *Client) CreateSandboxTrafficSession(ctx context.Context, sandboxID string, body any) (map[string]any, error)CreateSandboxTrafficSession mint a one-time browser entry URL for a secure sandbox (createSandboxTrafficSession: POST /v2/sandboxes/{sandbox_id}/traffic-session).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_sandbox_access.go:21def create_sandbox_traffic_session(sandbox_id, body:, request_timeout: nil)Mint a one-time browser entry URL for a secure sandbox (createSandboxTrafficSession: POST /v2/sandboxes/{sandbox_id}/traffic-session).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandbox_access.rb:18public Map<String, Object> createSandboxTrafficSession(String sandboxId, Object body)ApiSandboxAccessMint a one-time browser entry URL for a secure sandbox (createSandboxTrafficSession: POST /v2/sandboxes/{sandbox_id}/traffic-session).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxAccess.java:22create_sandbox_traffic_token()
Section titled “create_sandbox_traffic_token()”def create_sandbox_traffic_token(self, sandbox_id: str) -> dict[str, Any]SandboxesApiMint a traffic token for secure public URLs (createSandboxTrafficToken: POST /v2/sandboxes/{sandbox_id}/traffic-token).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:21createSandboxTrafficToken(sandboxId: string): Promise<Json>SandboxesApiMint a traffic token for secure public URLs (createSandboxTrafficToken: POST /v2/sandboxes/{sandbox_id}/traffic-token).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
Returns Promise<Json>
sdk/typescript/src/api-sandboxes.ts:19func (c *Client) CreateSandboxTrafficToken(ctx context.Context, sandboxID string) (map[string]any, error)CreateSandboxTrafficToken mint a traffic token for secure public URLs (createSandboxTrafficToken: POST /v2/sandboxes/{sandbox_id}/traffic-token).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:22def create_sandbox_traffic_token(sandbox_id, request_timeout: nil)Mint a traffic token for secure public URLs (createSandboxTrafficToken: POST /v2/sandboxes/{sandbox_id}/traffic-token).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandboxes.rb:13public Map<String, Object> createSandboxTrafficToken(String sandboxId)ApiSandboxesMint a traffic token for secure public URLs (createSandboxTrafficToken: POST /v2/sandboxes/{sandbox_id}/traffic-token).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxes.java:17create_snapshot()
Section titled “create_snapshot()”def create_snapshot(self, sandbox_id: str, *, body: dict[str, Any] | None=None, idempotency_key: str | None=None) -> dict[str, Any]PersistenceApiSnapshot a running sandbox (createSnapshot: POST /v2/sandboxes/{sandbox_id}/snapshots).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] | None |
None |
idempotency_key |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_persistence.py:13createSnapshot(sandboxId: string, options: { body?: Json; idempotencyKey?: string } = {}): Promise<Json>PersistenceApiSnapshot a running sandbox (createSnapshot: POST /v2/sandboxes/{sandbox_id}/snapshots).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
options |
{ body?: Json; idempotencyKey?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-persistence.ts:9func (c *Client) CreateSnapshot(ctx context.Context, sandboxID string, body any, idempotencyKey string) (map[string]any, error)CreateSnapshot snapshot a running sandbox (createSnapshot: POST /v2/sandboxes/{sandbox_id}/snapshots).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
|
idempotencyKey |
string |
Returns (map[string]any, error)
sdk/go/api_persistence.go:12Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
create_team()
Section titled “create_team()”def create_team(self, body: dict[str, Any]) -> dict[str, Any]AccountApiCreate a team (createTeam: POST /v2/teams).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_account.py:45createTeam(body: Json): Promise<Json>AccountApiCreate a team (createTeam: POST /v2/teams).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:49func (c *Client) CreateTeam(ctx context.Context, body any) (map[string]any, error)CreateTeam create a team (createTeam: POST /v2/teams).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_account.go:69def create_team(body:, request_timeout: nil)Create a team (createTeam: POST /v2/teams).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:44public Map<String, Object> createTeam(Object body)ApiAccountCreate a team (createTeam: POST /v2/teams).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:47create_team_invite()
Section titled “create_team_invite()”def create_team_invite(self, team_id: str, body: dict[str, Any]) -> dict[str, Any]AccountApiInvite a person by email (createTeamInvite: POST /v2/teams/{team_id}/invites).
| Parameter | Type | Default |
|---|---|---|
team_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_account.py:77createTeamInvite(teamId: string, body: Json): Promise<Json>AccountApiInvite a person by email (createTeamInvite: POST /v2/teams/{team_id}/invites).
| Parameter | Type | Default |
|---|---|---|
teamId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:89func (c *Client) CreateTeamInvite(ctx context.Context, teamID string, body any) (map[string]any, error)CreateTeamInvite invite a person by email (createTeamInvite: POST /v2/teams/{team_id}/invites).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
teamID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_account.go:126def create_team_invite(team_id, body:, request_timeout: nil)Invite a person by email (createTeamInvite: POST /v2/teams/{team_id}/invites).
| Parameter | Type | Default |
|---|---|---|
team_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:85public Map<String, Object> createTeamInvite(String teamId, Object body)ApiAccountInvite a person by email (createTeamInvite: POST /v2/teams/{team_id}/invites).
| Parameter | Type | Default |
|---|---|---|
teamId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:87create_template()
Section titled “create_template()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) CreateTemplate(ctx context.Context, body any, idempotencyKey string) (map[string]any, error)CreateTemplate create a template (createTemplate: POST /v2/templates).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
|
idempotencyKey |
string |
Returns (map[string]any, error)
sdk/go/api_templates.go:38Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
create_template_grant()
Section titled “create_template_grant()”def create_template_grant(self, template_id: str, body: dict[str, Any]) -> dict[str, Any]TemplatesApiOffer one of the team’s templates to another team (admin) (createTemplateGrant: POST /v2/templates/{template_id}/grants).
| Parameter | Type | Default |
|---|---|---|
template_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_templates.py:41createTemplateGrant(templateId: string, body: Json): Promise<Json>TemplatesApiOffer one of the team’s templates to another team (admin) (createTemplateGrant: POST /v2/templates/{template_id}/grants).
| Parameter | Type | Default |
|---|---|---|
templateId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:54func (c *Client) CreateTemplateGrant(ctx context.Context, templateID string, body any) (map[string]any, error)CreateTemplateGrant offer one of the team’s templates to another team (admin) (createTemplateGrant: POST /v2/templates/{template_id}/grants).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
templateID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_templates.go:128def create_template_grant(template_id, body:, request_timeout: nil)Offer one of the team’s templates to another team (admin) (createTemplateGrant: POST /v2/templates/{template_id}/grants).
| Parameter | Type | Default |
|---|---|---|
template_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/templates.rb:44public Map<String, Object> createTemplateGrant(String templateId, Object body)ApiTemplatesOffer one of the team’s templates to another team (admin) (createTemplateGrant: POST /v2/templates/{template_id}/grants).
| Parameter | Type | Default |
|---|---|---|
templateId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTemplates.java:47create_tool_grant()
Section titled “create_tool_grant()”def create_tool_grant(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]ToolsApiGrant an agent key brokered guest operations on a sandbox, with a call budget (createToolGrant: POST /v2/sandboxes/{sandbox_id}/tool-grants).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_tools.py:25createToolGrant(sandboxId: string, body: Json): Promise<Json>ToolsApiGrant an agent key brokered guest operations on a sandbox, with a call budget (createToolGrant: POST /v2/sandboxes/{sandbox_id}/tool-grants).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-tools.ts:24func (c *Client) CreateToolGrant(ctx context.Context, sandboxID string, body any) (map[string]any, error)CreateToolGrant grant an agent key brokered guest operations on a sandbox, with a call budget (createToolGrant: POST /v2/sandboxes/{sandbox_id}/tool-grants).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_tools.go:65def create_tool_grant(sandbox_id, body:, request_timeout: nil)Grant an agent key brokered guest operations on a sandbox, with a call budget (createToolGrant: POST /v2/sandboxes/{sandbox_id}/tool-grants).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/tools.rb:25public Map<String, Object> createToolGrant(String sandboxId, Object body)ApiToolsGrant an agent key brokered guest operations on a sandbox, with a call budget (createToolGrant: POST /v2/sandboxes/{sandbox_id}/tool-grants).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTools.java:27create_volume()
Section titled “create_volume()”def create_volume(self, body: dict[str, Any], *, idempotency_key: str | None=None) -> dict[str, Any]PersistenceApiCreate a persistent volume (createVolume: POST /v2/volumes).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
|
idempotency_key |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_persistence.py:41createVolume(body: Json, options: { idempotencyKey?: string } = {}): Promise<Json>PersistenceApiCreate a persistent volume (createVolume: POST /v2/volumes).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
|
options |
{ idempotencyKey?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-persistence.ts:44func (c *Client) CreateVolume(ctx context.Context, body any, idempotencyKey string) (map[string]any, error)CreateVolume create a persistent volume (createVolume: POST /v2/volumes).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
|
idempotencyKey |
string |
Returns (map[string]any, error)
sdk/go/api_persistence.go:85Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
create_webhook()
Section titled “create_webhook()”def create_webhook(self, body: dict[str, Any]) -> dict[str, Any]ObservabilityApiCreate a webhook (createWebhook: POST /v2/webhooks).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:21createWebhook(body: Json): Promise<Json>ObservabilityApiCreate a webhook (createWebhook: POST /v2/webhooks).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:19func (c *Client) CreateWebhook(ctx context.Context, body any) (map[string]any, error)CreateWebhook create a webhook (createWebhook: POST /v2/webhooks).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_observability.go:59def create_webhook(body:, request_timeout: nil)Create a webhook (createWebhook: POST /v2/webhooks).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:19public Map<String, Object> createWebhook(Object body)ApiObservabilityCreate a webhook (createWebhook: POST /v2/webhooks).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:22delete_backup()
Section titled “delete_backup()”def delete_backup(self, body: dict[str, Any]) -> dict[str, Any]VolumeFilesApiDelete a backup object from a bucket (deleteBackup: POST /v2/backups/delete).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_volume_files.py:45deleteBackup(body: Json): Promise<Json>VolumeFilesApiDelete a backup object from a bucket (deleteBackup: POST /v2/backups/delete).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-volume-files.ts:49func (c *Client) DeleteBackup(ctx context.Context, objectName string, at BackupLocation) errorDeleteBackup deletes one backup object (its object name) from the team’s bucket, without a sandbox. An object that is already gone is not an error.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
objectName |
string |
|
at |
BackupLocation |
Returns error
sdk/go/volume.go:385def delete_backup(body:, request_timeout: nil)Delete a backup object from a bucket (deleteBackup: POST /v2/backups/delete).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/volume_files.rb:52public Map<String, Object> deleteBackup(Object body)ApiVolumeFilesDelete a backup object from a bucket (deleteBackup: POST /v2/backups/delete).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiVolumeFiles.java:52delete_build()
Section titled “delete_build()”def delete_build(self, build_id: str) -> dict[str, Any]TemplatesApiDelete a build (deleteBuild: DELETE /v2/builds/{build_id}).
| Parameter | Type | Default |
|---|---|---|
build_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_templates.py:33deleteBuild(buildId: string): Promise<Json>TemplatesApiDelete a build (deleteBuild: DELETE /v2/builds/{build_id}).
| Parameter | Type | Default |
|---|---|---|
buildId |
string |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:44func (c *Client) DeleteBuild(ctx context.Context, buildID string) (map[string]any, error)DeleteBuild delete a build (deleteBuild: DELETE /v2/builds/{build_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
buildID |
string |
Returns (map[string]any, error)
sdk/go/api_templates.go:100def delete_build(build_id, request_timeout: nil)Delete a build (deleteBuild: DELETE /v2/builds/{build_id}).
| Parameter | Type | Default |
|---|---|---|
build_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/templates.rb:34public Map<String, Object> deleteBuild(String buildId)ApiTemplatesDelete a build (deleteBuild: DELETE /v2/builds/{build_id}).
| Parameter | Type | Default |
|---|---|---|
buildId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTemplates.java:37delete_domain()
Section titled “delete_domain()”def delete_domain(self, domain: str) -> dict[str, Any]InboundApiRelease a custom domain (deleteDomain: DELETE /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
domain |
str |
Returns dict[str, Any]
sdk/python/svm/api_inbound.py:37deleteDomain(domain: string): Promise<Json>InboundApiRelease a custom domain (deleteDomain: DELETE /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
domain |
string |
Returns Promise<Json>
sdk/typescript/src/api-inbound.ts:39func (c *Client) DeleteDomain(ctx context.Context, domain string) (map[string]any, error)DeleteDomain release a custom domain (deleteDomain: DELETE /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
domain |
string |
Returns (map[string]any, error)
sdk/go/api_inbound.go:59def delete_domain(domain, request_timeout: nil)Release a custom domain (deleteDomain: DELETE /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
domain |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/inbound.rb:39public Map<String, Object> deleteDomain(String domain)ApiInboundRelease a custom domain (deleteDomain: DELETE /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
domain |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiInbound.java:42delete_interpreter_context()
Section titled “delete_interpreter_context()”def delete_interpreter_context(self, sandbox_id: str, context_id: str) -> dict[str, Any]ToolsApiStop a context; its state is gone (deleteInterpreterContext: DELETE /v2/sandboxes/{sandbox_id}/interpreter/contexts/{context_id}).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
context_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_tools.py:45deleteInterpreterContext(sandboxId: string, contextId: string): Promise<Json>ToolsApiStop a context; its state is gone (deleteInterpreterContext: DELETE /v2/sandboxes/{sandbox_id}/interpreter/contexts/{context_id}).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
contextId |
string |
Returns Promise<Json>
sdk/typescript/src/api-tools.ts:49func (c *Client) DeleteInterpreterContext(ctx context.Context, sandboxID string, contextID string) (map[string]any, error)DeleteInterpreterContext stop a context; its state is gone (deleteInterpreterContext: DELETE /v2/sandboxes/{sandbox_id}/interpreter/contexts/{context_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
contextID |
string |
Returns (map[string]any, error)
sdk/go/api_tools.go:90Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
delete_me()
Section titled “delete_me()”def delete_me(self) -> dict[str, Any]AccountApiDelete the account and its personal data (deleteMe: DELETE /v2/me).
Returns dict[str, Any]
sdk/python/svm/api_account.py:21deleteMe(): Promise<Json>AccountApiDelete the account and its personal data (deleteMe: DELETE /v2/me).
Returns Promise<Json>
sdk/typescript/src/api-account.ts:19func (c *Client) DeleteMe(ctx context.Context) (map[string]any, error)DeleteMe delete the account and its personal data (deleteMe: DELETE /v2/me).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_account.go:22def delete_me(request_timeout: nil)Delete the account and its personal data (deleteMe: DELETE /v2/me).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:18public Map<String, Object> deleteMe()ApiAccountDelete the account and its personal data (deleteMe: DELETE /v2/me).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:22delete_otel_export()
Section titled “delete_otel_export()”def delete_otel_export(self) -> dict[str, Any]OtelApiStop the team OpenTelemetry export (deleteOtelExport: DELETE /v2/otel-export).
Returns dict[str, Any]
sdk/python/svm/api_otel.py:21deleteOtelExport(): Promise<Json>OtelApiStop the team OpenTelemetry export (deleteOtelExport: DELETE /v2/otel-export).
Returns Promise<Json>
sdk/typescript/src/api-otel.ts:19func (c *Client) DeleteOtelExport(ctx context.Context) (map[string]any, error)DeleteOtelExport stop the team OpenTelemetry export (deleteOtelExport: DELETE /v2/otel-export).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_otel.go:21def delete_otel_export(request_timeout: nil)Stop the team OpenTelemetry export (deleteOtelExport: DELETE /v2/otel-export).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/otel.rb:18public Map<String, Object> deleteOtelExport()ApiOtelStop the team OpenTelemetry export (deleteOtelExport: DELETE /v2/otel-export).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiOtel.java:22delete_sandbox_alert_rule()
Section titled “delete_sandbox_alert_rule()”def delete_sandbox_alert_rule(self, rule_id: str) -> dict[str, Any]ObservabilityApiDelete a sandbox alert rule (deleteSandboxAlertRule: DELETE /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
rule_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:61deleteSandboxAlertRule(ruleId: string): Promise<Json>ObservabilityApiDelete a sandbox alert rule (deleteSandboxAlertRule: DELETE /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
ruleId |
string |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:69func (c *Client) DeleteSandboxAlertRule(ctx context.Context, ruleID string) (map[string]any, error)DeleteSandboxAlertRule delete a sandbox alert rule (deleteSandboxAlertRule: DELETE /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
ruleID |
string |
Returns (map[string]any, error)
sdk/go/api_observability.go:126def delete_sandbox_alert_rule(rule_id, request_timeout: nil)Delete a sandbox alert rule (deleteSandboxAlertRule: DELETE /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
rule_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:70public Map<String, Object> deleteSandboxAlertRule(String ruleId)ApiObservabilityDelete a sandbox alert rule (deleteSandboxAlertRule: DELETE /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
ruleId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:72delete_sandbox_otel_export()
Section titled “delete_sandbox_otel_export()”def delete_sandbox_otel_export(self, sandbox_id: str) -> dict[str, Any]OtelApiRemove a sandbox’s own export (deleteSandboxOtelExport: DELETE /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_otel.py:33deleteSandboxOtelExport(sandboxId: string): Promise<Json>OtelApiRemove a sandbox’s own export (deleteSandboxOtelExport: DELETE /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
Returns Promise<Json>
sdk/typescript/src/api-otel.ts:34func (c *Client) DeleteSandboxOtelExport(ctx context.Context, sandboxID string) (map[string]any, error)DeleteSandboxOtelExport remove a sandbox’s own export (deleteSandboxOtelExport: DELETE /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
Returns (map[string]any, error)
sdk/go/api_otel.go:36def delete_sandbox_otel_export(sandbox_id, request_timeout: nil)Remove a sandbox’s own export (deleteSandboxOtelExport: DELETE /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/otel.rb:33public Map<String, Object> deleteSandboxOtelExport(String sandboxId)ApiOtelRemove a sandbox’s own export (deleteSandboxOtelExport: DELETE /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiOtel.java:37delete_secret()
Section titled “delete_secret()”def delete_secret(self, name: str) -> dict[str, Any]AccountApiDelete a secret (deleteSecret: DELETE /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
str |
Returns dict[str, Any]
sdk/python/svm/api_account.py:121deleteSecret(name: string): Promise<Json>AccountApiDelete a secret (deleteSecret: DELETE /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
string |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:144func (c *Client) DeleteSecret(ctx context.Context, name string) (map[string]any, error)DeleteSecret delete a secret (deleteSecret: DELETE /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
name |
string |
Returns (map[string]any, error)
sdk/go/api_account.go:223def delete_secret(name, request_timeout: nil)Delete a secret (deleteSecret: DELETE /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:142public Map<String, Object> deleteSecret(String name)ApiAccountDelete a secret (deleteSecret: DELETE /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:142delete_snapshot()
Section titled “delete_snapshot()”def delete_snapshot(self, snapshot_id: str) -> dict[str, Any]PersistenceApiDelete a snapshot (deleteSnapshot: DELETE /v2/snapshots/{snapshot_id}).
| Parameter | Type | Default |
|---|---|---|
snapshot_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_persistence.py:29deleteSnapshot(snapshotId: string): Promise<Json>PersistenceApiDelete a snapshot (deleteSnapshot: DELETE /v2/snapshots/{snapshot_id}).
| Parameter | Type | Default |
|---|---|---|
snapshotId |
string |
Returns Promise<Json>
sdk/typescript/src/api-persistence.ts:29func (c *Client) DeleteSnapshot(ctx context.Context, snapshotID string) (map[string]any, error)DeleteSnapshot delete a snapshot (deleteSnapshot: DELETE /v2/snapshots/{snapshot_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
snapshotID |
string |
Returns (map[string]any, error)
sdk/go/api_persistence.go:53Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
delete_team()
Section titled “delete_team()”def delete_team(self, team_id: str) -> dict[str, Any]AccountApiDelete a team (deleteTeam: DELETE /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_account.py:57deleteTeam(teamId: string): Promise<Json>AccountApiDelete a team (deleteTeam: DELETE /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
string |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:64func (c *Client) DeleteTeam(ctx context.Context, teamID string) (map[string]any, error)DeleteTeam delete a team (deleteTeam: DELETE /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
teamID |
string |
Returns (map[string]any, error)
sdk/go/api_account.go:84def delete_team(team_id, request_timeout: nil)Delete a team (deleteTeam: DELETE /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:59public Map<String, Object> deleteTeam(String teamId)ApiAccountDelete a team (deleteTeam: DELETE /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:62delete_template()
Section titled “delete_template()”Not in the Python SDK’s SandboxClient.
deleteTemplate(templateId: string): Promise<Json>TemplatesApiDelete a template (deleteTemplate: DELETE /v2/templates/{template_id}).
| Parameter | Type | Default |
|---|---|---|
templateId |
string |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:24func (c *Client) DeleteTemplate(ctx context.Context, templateID string) (map[string]any, error)DeleteTemplate delete a template (deleteTemplate: DELETE /v2/templates/{template_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
templateID |
string |
Returns (map[string]any, error)
sdk/go/api_templates.go:53Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
delete_template_grant()
Section titled “delete_template_grant()”def delete_template_grant(self, grant_id: str) -> dict[str, Any]TemplatesApiRevoke an offer (owner) or decline or leave a grant (recipient) (deleteTemplateGrant: DELETE /v2/template-grants/{grant_id}).
| Parameter | Type | Default |
|---|---|---|
grant_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_templates.py:49deleteTemplateGrant(grantId: string): Promise<Json>TemplatesApiRevoke an offer (owner) or decline or leave a grant (recipient) (deleteTemplateGrant: DELETE /v2/template-grants/{grant_id}).
| Parameter | Type | Default |
|---|---|---|
grantId |
string |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:64func (c *Client) DeleteTemplateGrant(ctx context.Context, grantID string) (map[string]any, error)DeleteTemplateGrant revoke an offer (owner) or decline or leave a grant (recipient) (deleteTemplateGrant: DELETE /v2/template-grants/{grant_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
grantID |
string |
Returns (map[string]any, error)
sdk/go/api_templates.go:159def delete_template_grant(grant_id, request_timeout: nil)Revoke an offer (owner) or decline or leave a grant (recipient) (deleteTemplateGrant: DELETE /v2/template-grants/{grant_id}).
| Parameter | Type | Default |
|---|---|---|
grant_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/templates.rb:55public Map<String, Object> deleteTemplateGrant(String grantId)ApiTemplatesRevoke an offer (owner) or decline or leave a grant (recipient) (deleteTemplateGrant: DELETE /v2/template-grants/{grant_id}).
| Parameter | Type | Default |
|---|---|---|
grantId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTemplates.java:57delete_volume()
Section titled “delete_volume()”def delete_volume(self, volume_id: str) -> dict[str, Any]PersistenceApiDelete a volume (deleteVolume: DELETE /v2/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
volume_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_persistence.py:49deleteVolume(volumeId: string): Promise<Json>PersistenceApiDelete a volume (deleteVolume: DELETE /v2/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
volumeId |
string |
Returns Promise<Json>
sdk/typescript/src/api-persistence.ts:54func (c *Client) DeleteVolume(ctx context.Context, volumeID string) (map[string]any, error)DeleteVolume delete a volume (deleteVolume: DELETE /v2/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
volumeID |
string |
Returns (map[string]any, error)
sdk/go/api_persistence.go:95Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
delete_webhook()
Section titled “delete_webhook()”def delete_webhook(self, webhook_id: str) -> dict[str, Any]ObservabilityApiDelete a webhook (deleteWebhook: DELETE /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
webhook_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:33deleteWebhook(webhookId: string): Promise<Json>ObservabilityApiDelete a webhook (deleteWebhook: DELETE /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
webhookId |
string |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:34func (c *Client) DeleteWebhook(ctx context.Context, webhookID string) (map[string]any, error)DeleteWebhook delete a webhook (deleteWebhook: DELETE /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
webhookID |
string |
Returns (map[string]any, error)
sdk/go/api_observability.go:74def delete_webhook(webhook_id, request_timeout: nil)Delete a webhook (deleteWebhook: DELETE /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
webhook_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:34public Map<String, Object> deleteWebhook(String webhookId)ApiObservabilityDelete a webhook (deleteWebhook: DELETE /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
webhookId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:37detach_volume()
Section titled “detach_volume()”def detach_volume(self, sandbox_id: str, volume_id: str) -> dict[str, Any]SandboxesApiDetach a volume from a sandbox (detachVolume: DELETE /v2/sandboxes/{sandbox_id}/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
volume_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:57detachVolume(sandboxId: string, volumeId: string): Promise<Json>SandboxesApiDetach a volume from a sandbox (detachVolume: DELETE /v2/sandboxes/{sandbox_id}/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
volumeId |
string |
Returns Promise<Json>
sdk/typescript/src/api-sandboxes.ts:59func (c *Client) DetachVolume(ctx context.Context, sandboxID string, volumeID string) (map[string]any, error)DetachVolume detach a volume from a sandbox (detachVolume: DELETE /v2/sandboxes/{sandbox_id}/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
volumeID |
string |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:163def detach_volume(sandbox_id, volume_id, request_timeout: nil)Detach a volume from a sandbox (detachVolume: DELETE /v2/sandboxes/{sandbox_id}/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
volume_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandboxes.rb:57public Map<String, Object> detachVolume(String sandboxId, String volumeId)ApiSandboxesDetach a volume from a sandbox (detachVolume: DELETE /v2/sandboxes/{sandbox_id}/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
volumeId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxes.java:57Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) Do(ctx context.Context, method, path string, query url.Values, body any) (json.RawMessage, error)Do sends any API call and returns the answer as the server wrote it (nil for an empty one). It is the call behind the svm command line and is retried as every other call is. Prefer the typed methods in application code.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
method |
string |
|
path |
string |
|
query |
url.Values |
|
body |
any |
Returns (json.RawMessage, error)
sdk/go/request_raw.go:11Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
do_bytes()
Section titled “do_bytes()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) DoBytes(ctx context.Context, method, path string, query url.Values, data []byte) ([]byte, error)DoBytes is a request whose body (data, sent as application/octet-stream when not nil) or answer is bytes rather than JSON, such as a volume file’s content. It is retried as Do is: the safe methods only.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
method |
string |
|
path |
string |
|
query |
url.Values |
|
data |
[]byte |
Returns ([]byte, error)
sdk/go/request_raw.go:24Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
download_data_export()
Section titled “download_data_export()”def download_data_export(self, export_id: str, dest: 'str | os.PathLike[str] | BinaryIO') -> intStreamApiSave a finished data export (downloadDataExport: GET /v2/me/export/{export_id}/download) and return its size. To a path the bytes go to <path>.part, renamed when complete, and a broken connection starts the download again. A caller’s stream cannot be rewound by the SDK, so once bytes have reached it a broken connection ends the call instead of appending a second attempt to them.
| Parameter | Type | Default |
|---|---|---|
export_id |
str |
|
dest |
'str | os.PathLike[str] | BinaryIO' |
Returns int
sdk/python/svm/event_stream.py:89async downloadDataExport(exportId: string, dest: string | ByteSinkLike): Promise<number>StreamApiSave a finished data export (downloadDataExport: GET /v2/me/export/{export_id}/download) and return its size. To a path the bytes go to <path>.part, renamed when complete; a broken connection starts the download again.
| Parameter | Type | Default |
|---|---|---|
exportId |
string |
|
dest |
string | ByteSinkLike |
Returns Promise<number>
sdk/typescript/src/stream.ts:128func (c *Client) DownloadDataExport(ctx context.Context, exportID string, w io.Writer) (int64, error)DownloadDataExport writes a finished data export (downloadDataExport: GET /v2/me/export/{export_id}/download) to w and returns its size. A broken connection starts the download again, so w should be able to take it from the start (use DownloadDataExportFile).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
exportID |
string |
|
w |
io.Writer |
Returns (int64, error)
sdk/go/rest_stream.go:184def download_data_export(export_id, io)Streams a finished personal-data export (a ZIP) into io; returns the byte count.
| Parameter | Type | Default |
|---|---|---|
export_id |
||
io |
sdk/ruby/lib/svm/streams.rb:73Not in the Java SDK’s Api.
download_data_export_file()
Section titled “download_data_export_file()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) DownloadDataExportFile(ctx context.Context, exportID, path string) (int64, error)DownloadDataExportFile saves a data export to path through “<path>.part”, renamed when complete; a broken connection starts the download again.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
exportID |
string |
|
path |
string |
Returns (int64, error)
sdk/go/rest_stream.go:202def download_data_export_file(export_id, path)Downloads through “<path>.part”, renamed when complete; a break starts over, under the client’s retry policy.
| Parameter | Type | Default |
|---|---|---|
export_id |
||
path |
sdk/ruby/lib/svm/streams.rb:86Not in the Java SDK’s Api.
download_sandbox_file()
Section titled “download_sandbox_file()”def download_sandbox_file(self, sandbox_id: str, *, path: str, token: str) -> bytesSandboxesApiDownload through a signed URL (downloadSandboxFile: GET /v2/sandboxes/{sandbox_id}/transfers): the file’s bytes, not JSON.
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
path |
str |
|
token |
str |
Returns bytes
sdk/python/svm/api_sandboxes.py:29downloadSandboxFile(sandboxId: string, options: { path: string; token: string }): Promise<Uint8Array>SandboxesApiDownload through a signed URL (downloadSandboxFile: GET /v2/sandboxes/{sandbox_id}/transfers): the file’s bytes, not JSON.
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
options |
{ path: string; token: string } |
Returns Promise<Uint8Array>
sdk/typescript/src/api-sandboxes.ts:24func (c *Client) DownloadSandboxFile(ctx context.Context, sandboxID string, query DownloadSandboxFileQuery) ([]byte, error)DownloadSandboxFile download through a signed URL (downloadSandboxFile: GET /v2/sandboxes/{sandbox_id}/transfers): the file’s bytes, not JSON.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
query |
DownloadSandboxFileQuery |
Returns ([]byte, error)
sdk/go/api_sandboxes.go:49def download_sandbox_file(sandbox_id, path: nil, token: nil, request_timeout: nil)Download through a signed URL (downloadSandboxFile: GET /v2/sandboxes/{sandbox_id}/transfers).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
path |
nil |
|
token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandboxes.rb:18public byte[] downloadSandboxFile(String sandboxId, Map<String, ?> query)ApiSandboxesDownload through a signed URL (downloadSandboxFile: GET /v2/sandboxes/{sandbox_id}/transfers): the file’s bytes, not JSON.
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
query |
Map<String, ?> |
Returns byte[]
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxes.java:22execute_interpreter_cell()
Section titled “execute_interpreter_cell()”def execute_interpreter_cell(self, sandbox_id: str, context_id: str, body: dict[str, Any]) -> dict[str, Any]ToolsApiRun one cell in a context (executeInterpreterCell: POST /v2/sandboxes/{sandbox_id}/interpreter/contexts/{context_id}/execute).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
context_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_tools.py:53executeInterpreterCell(sandboxId: string, contextId: string, body: Json): Promise<Json>ToolsApiRun one cell in a context (executeInterpreterCell: POST /v2/sandboxes/{sandbox_id}/interpreter/contexts/{context_id}/execute).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
contextId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-tools.ts:59func (c *Client) ExecuteInterpreterCell(ctx context.Context, sandboxID string, contextID string, body any) (map[string]any, error)ExecuteInterpreterCell run one cell in a context (executeInterpreterCell: POST /v2/sandboxes/{sandbox_id}/interpreter/contexts/{context_id}/execute).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
contextID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_tools.go:100Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
fork_sandbox()
Section titled “fork_sandbox()”def fork_sandbox(self, sandbox_id: str, *, body: dict[str, Any] | None=None, idempotency_key: str | None=None) -> dict[str, Any]PersistenceApiFork a live sandbox into one or N children (forkSandbox: POST /v2/sandboxes/{sandbox_id}/fork).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] | None |
None |
idempotency_key |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_persistence.py:17forkSandbox(sandboxId: string, options: { body?: Json; idempotencyKey?: string } = {}): Promise<Json>PersistenceApiFork a live sandbox into one or N children (forkSandbox: POST /v2/sandboxes/{sandbox_id}/fork).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
options |
{ body?: Json; idempotencyKey?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-persistence.ts:14func (c *Client) ForkSandbox(ctx context.Context, sandboxID string, body any, idempotencyKey string) (map[string]any, error)ForkSandbox fork a live sandbox into one or N children (forkSandbox: POST /v2/sandboxes/{sandbox_id}/fork).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
|
idempotencyKey |
string |
Returns (map[string]any, error)
sdk/go/api_persistence.go:17Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
fork_snapshot()
Section titled “fork_snapshot()”def fork_snapshot(self, snapshot_id: str, *, body: dict[str, Any] | None=None) -> dict[str, Any]PersistenceApiCreate one or N sandboxes from a snapshot (forkSnapshot: POST /v2/snapshots/{snapshot_id}/fork).
| Parameter | Type | Default |
|---|---|---|
snapshot_id |
str |
|
body |
dict[str, Any] | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_persistence.py:33forkSnapshot(snapshotId: string, options: { body?: Json } = {}): Promise<Json>PersistenceApiCreate one or N sandboxes from a snapshot (forkSnapshot: POST /v2/snapshots/{snapshot_id}/fork).
| Parameter | Type | Default |
|---|---|---|
snapshotId |
string |
|
options |
{ body?: Json } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-persistence.ts:34func (c *Client) ForkSnapshot(ctx context.Context, snapshotID string, body any) (map[string]any, error)ForkSnapshot create one or N sandboxes from a snapshot (forkSnapshot: POST /v2/snapshots/{snapshot_id}/fork).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
snapshotID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_persistence.go:58Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
get_billing_rates()
Section titled “get_billing_rates()”def get_billing_rates(self) -> dict[str, Any]ObservabilityApiGet the rates the meter charges (getBillingRates: GET /v2/billing/rates).
Returns dict[str, Any]
sdk/python/svm/api_observability.py:73getBillingRates(): Promise<Json>ObservabilityApiGet the rates the meter charges (getBillingRates: GET /v2/billing/rates).
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:84func (c *Client) GetBillingRates(ctx context.Context) (map[string]any, error)GetBillingRates get the rates the meter charges (getBillingRates: GET /v2/billing/rates).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_observability.go:162def get_billing_rates(request_timeout: nil)Get the rates the meter charges (getBillingRates: GET /v2/billing/rates).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:86public Map<String, Object> getBillingRates()ApiObservabilityGet the rates the meter charges (getBillingRates: GET /v2/billing/rates).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:87get_build()
Section titled “get_build()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) GetBuild(ctx context.Context, buildID string) (map[string]any, error)GetBuild get a build (getBuild: GET /v2/builds/{build_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
buildID |
string |
Returns (map[string]any, error)
sdk/go/api_templates.go:95Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
get_build_logs()
Section titled “get_build_logs()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) GetBuildLogs(ctx context.Context, buildID string, query GetBuildLogsQuery) (map[string]any, error)GetBuildLogs stream build logs by cursor (getBuildLogs: GET /v2/builds/{build_id}/logs).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
buildID |
string |
|
query |
GetBuildLogsQuery |
Returns (map[string]any, error)
sdk/go/api_templates.go:118Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
get_build_network()
Section titled “get_build_network()”def get_build_network(self) -> dict[str, Any]BuildNetworkApiWhat network the template builders give install steps (getBuildNetwork: GET /v2/builds/network).
Returns dict[str, Any]
sdk/python/svm/api_build_network.py:13getBuildNetwork(): Promise<Json>BuildNetworkApiWhat network the template builders give install steps (getBuildNetwork: GET /v2/builds/network).
Returns Promise<Json>
sdk/typescript/src/api-build-network.ts:9func (c *Client) GetBuildNetwork(ctx context.Context) (map[string]any, error)GetBuildNetwork what network the template builders give install steps (getBuildNetwork: GET /v2/builds/network).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_build_network.go:10def get_build_network(request_timeout: nil)What network the template builders give install steps (getBuildNetwork: GET /v2/builds/network).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/build_network.rb:8public Map<String, Object> getBuildNetwork()ApiBuildNetworkWhat network the template builders give install steps (getBuildNetwork: GET /v2/builds/network).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiBuildNetwork.java:12get_credit()
Section titled “get_credit()”def get_credit(self) -> dict[str, Any]BillingUsageApiGet the team’s prepaid credit (getCredit: GET /v2/billing/credit).
Returns dict[str, Any]
sdk/python/svm/api_billing_usage.py:21getCredit(): Promise<Json>BillingUsageApiGet the team’s prepaid credit (getCredit: GET /v2/billing/credit).
Returns Promise<Json>
sdk/typescript/src/api-billing-usage.ts:19func (c *Client) GetCredit(ctx context.Context) (map[string]any, error)GetCredit get the team’s prepaid credit (getCredit: GET /v2/billing/credit).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_billing_usage.go:20def get_credit(request_timeout: nil)Get the team’s prepaid credit (getCredit: GET /v2/billing/credit).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/billing_usage.rb:18public Map<String, Object> getCredit()ApiBillingUsageGet the team’s prepaid credit (getCredit: GET /v2/billing/credit).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiBillingUsage.java:22get_data_export()
Section titled “get_data_export()”def get_data_export(self, export_id: str) -> dict[str, Any]AccountApiGet an export job (getDataExport: GET /v2/me/export/{export_id}).
| Parameter | Type | Default |
|---|---|---|
export_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_account.py:33getDataExport(exportId: string): Promise<Json>AccountApiGet an export job (getDataExport: GET /v2/me/export/{export_id}).
| Parameter | Type | Default |
|---|---|---|
exportId |
string |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:34func (c *Client) GetDataExport(ctx context.Context, exportID string) (map[string]any, error)GetDataExport get an export job (getDataExport: GET /v2/me/export/{export_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
exportID |
string |
Returns (map[string]any, error)
sdk/go/api_account.go:37def get_data_export(export_id, request_timeout: nil)Get an export job (getDataExport: GET /v2/me/export/{export_id}).
| Parameter | Type | Default |
|---|---|---|
export_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:33public Map<String, Object> getDataExport(String exportId)ApiAccountGet an export job (getDataExport: GET /v2/me/export/{export_id}).
| Parameter | Type | Default |
|---|---|---|
exportId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:37get_domain()
Section titled “get_domain()”def get_domain(self, domain: str) -> dict[str, Any]InboundApiRead a custom domain (getDomain: GET /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
domain |
str |
Returns dict[str, Any]
sdk/python/svm/api_inbound.py:29getDomain(domain: string): Promise<Json>InboundApiRead a custom domain (getDomain: GET /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
domain |
string |
Returns Promise<Json>
sdk/typescript/src/api-inbound.ts:29func (c *Client) GetDomain(ctx context.Context, domain string) (map[string]any, error)GetDomain read a custom domain (getDomain: GET /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
domain |
string |
Returns (map[string]any, error)
sdk/go/api_inbound.go:49def get_domain(domain, request_timeout: nil)Read a custom domain (getDomain: GET /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
domain |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/inbound.rb:29public Map<String, Object> getDomain(String domain)ApiInboundRead a custom domain (getDomain: GET /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
domain |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiInbound.java:32get_limits()
Section titled “get_limits()”def get_limits(self) -> dict[str, Any]AccountApiGet plan limits and current use (getLimits: GET /v2/limits).
Returns dict[str, Any]
sdk/python/svm/api_account.py:37getLimits(): Promise<Json>AccountApiGet plan limits and current use (getLimits: GET /v2/limits).
Returns Promise<Json>
sdk/typescript/src/api-account.ts:39func (c *Client) GetLimits(ctx context.Context) (map[string]any, error)GetLimits get plan limits and current use (getLimits: GET /v2/limits).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_account.go:42Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
get_mcp_catalog()
Section titled “get_mcp_catalog()”def get_mcp_catalog(self) -> dict[str, Any]SandboxAccessApiList the MCP server catalog (getMcpCatalog: GET /v2/mcp/catalog).
Returns dict[str, Any]
sdk/python/svm/api_sandbox_access.py:25getMcpCatalog(): Promise<Json>SandboxAccessApiList the MCP server catalog (getMcpCatalog: GET /v2/mcp/catalog).
Returns Promise<Json>
sdk/typescript/src/api-sandbox-access.ts:24func (c *Client) GetMcpCatalog(ctx context.Context) (map[string]any, error)GetMcpCatalog list the MCP server catalog (getMcpCatalog: GET /v2/mcp/catalog).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_sandbox_access.go:26def get_mcp_catalog(request_timeout: nil)List the MCP server catalog (getMcpCatalog: GET /v2/mcp/catalog).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandbox_access.rb:23public Map<String, Object> getMcpCatalog()ApiSandboxAccessList the MCP server catalog (getMcpCatalog: GET /v2/mcp/catalog).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxAccess.java:27get_me()
Section titled “get_me()”def get_me(self) -> dict[str, Any]AccountApiGet the signed-in user (getMe: GET /v2/me).
Returns dict[str, Any]
sdk/python/svm/api_account.py:13getMe(): Promise<Json>AccountApiGet the signed-in user (getMe: GET /v2/me).
Returns Promise<Json>
sdk/typescript/src/api-account.ts:9func (c *Client) GetMe(ctx context.Context) (map[string]any, error)GetMe get the signed-in user (getMe: GET /v2/me).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_account.go:12def get_me(request_timeout: nil)Get the signed-in user (getMe: GET /v2/me).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:8public Map<String, Object> getMe()ApiAccountGet the signed-in user (getMe: GET /v2/me).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:12get_my_access()
Section titled “get_my_access()”def get_my_access(self) -> dict[str, Any]AccountApiWho the caller is, its active team and its roles there (getMyAccess: GET /v2/me/access).
Returns dict[str, Any]
sdk/python/svm/api_account.py:25getMyAccess(): Promise<Json>AccountApiWho the caller is, its active team and its roles there (getMyAccess: GET /v2/me/access).
Returns Promise<Json>
sdk/typescript/src/api-account.ts:24func (c *Client) GetMyAccess(ctx context.Context) (map[string]any, error)GetMyAccess who the caller is, its active team and its roles there (getMyAccess: GET /v2/me/access).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_account.go:27def get_my_access(request_timeout: nil)Who the caller is, its active team and its roles there (getMyAccess: GET /v2/me/access).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:23public Map<String, Object> getMyAccess()ApiAccountWho the caller is, its active team and its roles there (getMyAccess: GET /v2/me/access).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:27get_notification_preferences()
Section titled “get_notification_preferences()”def get_notification_preferences(self) -> dict[str, Any]ObservabilityApiGet usage and account notification preferences (getNotificationPreferences: GET /v2/notifications).
Returns dict[str, Any]
sdk/python/svm/api_observability.py:101getNotificationPreferences(): Promise<Json>ObservabilityApiGet usage and account notification preferences (getNotificationPreferences: GET /v2/notifications).
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:119func (c *Client) GetNotificationPreferences(ctx context.Context) (map[string]any, error)GetNotificationPreferences get usage and account notification preferences (getNotificationPreferences: GET /v2/notifications).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_observability.go:235def get_notification_preferences(request_timeout: nil)Get usage and account notification preferences (getNotificationPreferences: GET /v2/notifications).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:123public Map<String, Object> getNotificationPreferences()ApiObservabilityGet usage and account notification preferences (getNotificationPreferences: GET /v2/notifications).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:122get_oidc_configuration()
Section titled “get_oidc_configuration()”def get_oidc_configuration(self) -> dict[str, Any]IdentityApiOIDC discovery for sandbox identity tokens (getOidcConfiguration: GET /v2/oidc/.well-known/openid-configuration).
Returns dict[str, Any]
sdk/python/svm/api_identity.py:33getOidcConfiguration(): Promise<Json>IdentityApiOIDC discovery for sandbox identity tokens (getOidcConfiguration: GET /v2/oidc/.well-known/openid-configuration).
Returns Promise<Json>
sdk/typescript/src/api-identity.ts:34func (c *Client) GetOidcConfiguration(ctx context.Context) (map[string]any, error)GetOidcConfiguration oIDC discovery for sandbox identity tokens (getOidcConfiguration: GET /v2/oidc/.well-known/openid-configuration).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_identity.go:36def get_oidc_configuration(request_timeout: nil)OIDC discovery for sandbox identity tokens (getOidcConfiguration: GET /v2/oidc/.well-known/openid-configuration).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/identity.rb:33public Map<String, Object> getOidcConfiguration()ApiIdentityOIDC discovery for sandbox identity tokens (getOidcConfiguration: GET /v2/oidc/.well-known/openid-configuration).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiIdentity.java:37get_oidc_jwks()
Section titled “get_oidc_jwks()”def get_oidc_jwks(self) -> dict[str, Any]IdentityApiThe keys that sign sandbox identity tokens (getOidcJwks: GET /v2/oidc/jwks).
Returns dict[str, Any]
sdk/python/svm/api_identity.py:37getOidcJwks(): Promise<Json>IdentityApiThe keys that sign sandbox identity tokens (getOidcJwks: GET /v2/oidc/jwks).
Returns Promise<Json>
sdk/typescript/src/api-identity.ts:39func (c *Client) GetOidcJwks(ctx context.Context) (map[string]any, error)GetOidcJwks the keys that sign sandbox identity tokens (getOidcJwks: GET /v2/oidc/jwks).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_identity.go:41def get_oidc_jwks(request_timeout: nil)The keys that sign sandbox identity tokens (getOidcJwks: GET /v2/oidc/jwks).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/identity.rb:38public Map<String, Object> getOidcJwks()ApiIdentityThe keys that sign sandbox identity tokens (getOidcJwks: GET /v2/oidc/jwks).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiIdentity.java:42get_operator_billing_rates()
Section titled “get_operator_billing_rates()”def get_operator_billing_rates(self) -> dict[str, Any]OperatorApiGet the rates the meter charges (operator view) (getOperatorBillingRates: GET /v2/operator/billing/rates).
Returns dict[str, Any]
sdk/python/svm/api_operator.py:13getOperatorBillingRates(): Promise<Json>OperatorApiGet the rates the meter charges (operator view) (getOperatorBillingRates: GET /v2/operator/billing/rates).
Returns Promise<Json>
sdk/typescript/src/api-operator.ts:9func (c *Client) GetOperatorBillingRates(ctx context.Context) (map[string]any, error)GetOperatorBillingRates get the rates the meter charges (operator view) (getOperatorBillingRates: GET /v2/operator/billing/rates).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_operator.go:10def get_operator_billing_rates(request_timeout: nil)Get the rates the meter charges (operator view) (getOperatorBillingRates: GET /v2/operator/billing/rates).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/operator.rb:8public Map<String, Object> getOperatorBillingRates()ApiOperatorGet the rates the meter charges (operator view) (getOperatorBillingRates: GET /v2/operator/billing/rates).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiOperator.java:12get_operator_metrics()
Section titled “get_operator_metrics()”def get_operator_metrics(self) -> strOperatorApiFleet telemetry of this API process as Prometheus text (operator role) (getOperatorMetrics: GET /v2/operator/metrics): the text as the API sends it.
Returns str
sdk/python/svm/api_operator.py:21async getOperatorMetrics(): Promise<string>OperatorApiFleet telemetry of this API process as Prometheus text (operator role) (getOperatorMetrics: GET /v2/operator/metrics): the text as the API sends it.
Returns Promise<string>
sdk/typescript/src/api-operator.ts:19func (c *Client) GetOperatorMetrics(ctx context.Context) (string, error)GetOperatorMetrics fleet telemetry of this API process as Prometheus text (operator role) (getOperatorMetrics: GET /v2/operator/metrics): the text as the API sends it.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (string, error)
sdk/go/api_operator.go:20def get_operator_metrics(request_timeout: nil)Fleet telemetry of this API process as Prometheus text (operator role) (getOperatorMetrics: GET /v2/operator/metrics).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/operator.rb:18public Map<String, Object> getOperatorMetrics()ApiOperatorFleet telemetry of this API process as Prometheus text (operator role) (getOperatorMetrics: GET /v2/operator/metrics).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiOperator.java:22get_otel_export()
Section titled “get_otel_export()”def get_otel_export(self) -> dict[str, Any]OtelApiRead the team OpenTelemetry export (getOtelExport: GET /v2/otel-export).
Returns dict[str, Any]
sdk/python/svm/api_otel.py:13getOtelExport(): Promise<Json>OtelApiRead the team OpenTelemetry export (getOtelExport: GET /v2/otel-export).
Returns Promise<Json>
sdk/typescript/src/api-otel.ts:9func (c *Client) GetOtelExport(ctx context.Context) (map[string]any, error)GetOtelExport read the team OpenTelemetry export (getOtelExport: GET /v2/otel-export).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_otel.go:11def get_otel_export(request_timeout: nil)Read the team OpenTelemetry export (getOtelExport: GET /v2/otel-export).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/otel.rb:8public Map<String, Object> getOtelExport()ApiOtelRead the team OpenTelemetry export (getOtelExport: GET /v2/otel-export).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiOtel.java:12get_plan()
Section titled “get_plan()”def get_plan(self) -> dict[str, Any]ObservabilityApiGet the team plan, credit and spend limit (getPlan: GET /v2/billing/plan).
Returns dict[str, Any]
sdk/python/svm/api_observability.py:69getPlan(): Promise<Json>ObservabilityApiGet the team plan, credit and spend limit (getPlan: GET /v2/billing/plan).
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:79func (c *Client) GetPlan(ctx context.Context) (map[string]any, error)GetPlan get the team plan, credit and spend limit (getPlan: GET /v2/billing/plan).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_observability.go:157def get_plan(request_timeout: nil)Get the team plan, credit and spend limit (getPlan: GET /v2/billing/plan).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:81public Map<String, Object> getPlan()ApiObservabilityGet the team plan, credit and spend limit (getPlan: GET /v2/billing/plan).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:82get_platform_act_as()
Section titled “get_platform_act_as()”def get_platform_act_as(self) -> dict[str, Any]PlatformApiRead this session’s act-as, if any (getPlatformActAs: GET /v2/platform/act-as).
Returns dict[str, Any]
sdk/python/svm/api_platform.py:33getPlatformActAs(): Promise<Json>PlatformApiRead this session’s act-as, if any (getPlatformActAs: GET /v2/platform/act-as).
Returns Promise<Json>
sdk/typescript/src/api-platform.ts:34func (c *Client) GetPlatformActAs(ctx context.Context) (map[string]any, error)GetPlatformActAs read this session’s act-as, if any (getPlatformActAs: GET /v2/platform/act-as).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_platform.go:104def get_platform_act_as(request_timeout: nil)Read this session’s act-as, if any (getPlatformActAs: GET /v2/platform/act-as).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/platform.rb:36public Map<String, Object> getPlatformActAs()ApiPlatformRead this session’s act-as, if any (getPlatformActAs: GET /v2/platform/act-as).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiPlatform.java:37get_platform_summary()
Section titled “get_platform_summary()”def get_platform_summary(self) -> dict[str, Any]PlatformApiCount teams, people, running sandboxes and moderated teams (getPlatformSummary: GET /v2/platform/summary).
Returns dict[str, Any]
sdk/python/svm/api_platform.py:13getPlatformSummary(): Promise<Json>PlatformApiCount teams, people, running sandboxes and moderated teams (getPlatformSummary: GET /v2/platform/summary).
Returns Promise<Json>
sdk/typescript/src/api-platform.ts:9func (c *Client) GetPlatformSummary(ctx context.Context) (map[string]any, error)GetPlatformSummary count teams, people, running sandboxes and moderated teams (getPlatformSummary: GET /v2/platform/summary).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_platform.go:12def get_platform_summary(request_timeout: nil)Count teams, people, running sandboxes and moderated teams (getPlatformSummary: GET /v2/platform/summary).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/platform.rb:8public Map<String, Object> getPlatformSummary()ApiPlatformCount teams, people, running sandboxes and moderated teams (getPlatformSummary: GET /v2/platform/summary).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiPlatform.java:12get_platform_team()
Section titled “get_platform_team()”def get_platform_team(self, team_id: str) -> dict[str, Any]PlatformApiGet any team with its members and open invitations (getPlatformTeam: GET /v2/platform/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_platform.py:21getPlatformTeam(teamId: string): Promise<Json>PlatformApiGet any team with its members and open invitations (getPlatformTeam: GET /v2/platform/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
string |
Returns Promise<Json>
sdk/typescript/src/api-platform.ts:19func (c *Client) GetPlatformTeam(ctx context.Context, teamID string) (map[string]any, error)GetPlatformTeam get any team with its members and open invitations (getPlatformTeam: GET /v2/platform/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
teamID |
string |
Returns (map[string]any, error)
sdk/go/api_platform.go:43def get_platform_team(team_id, request_timeout: nil)Get any team with its members and open invitations (getPlatformTeam: GET /v2/platform/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/platform.rb:19public Map<String, Object> getPlatformTeam(String teamId)ApiPlatformGet any team with its members and open invitations (getPlatformTeam: GET /v2/platform/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiPlatform.java:22get_rollout()
Section titled “get_rollout()”def get_rollout(self, rollout_id: str) -> dict[str, Any]RolloutsApiGet a rollout with every branch’s exit code, output and reward (getRollout: GET /v2/rollouts/{rollout_id}).
| Parameter | Type | Default |
|---|---|---|
rollout_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_rollouts.py:21getRollout(rolloutId: string): Promise<Json>RolloutsApiGet a rollout with every branch’s exit code, output and reward (getRollout: GET /v2/rollouts/{rollout_id}).
| Parameter | Type | Default |
|---|---|---|
rolloutId |
string |
Returns Promise<Json>
sdk/typescript/src/api-rollouts.ts:19func (c *Client) GetRollout(ctx context.Context, rolloutID string) (map[string]any, error)GetRollout get a rollout with every branch’s exit code, output and reward (getRollout: GET /v2/rollouts/{rollout_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
rolloutID |
string |
Returns (map[string]any, error)
sdk/go/api_rollouts.go:43def get_rollout(rollout_id, request_timeout: nil)Get a rollout with every branch’s exit code, output and reward (getRollout: GET /v2/rollouts/{rollout_id}).
| Parameter | Type | Default |
|---|---|---|
rollout_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/rollouts.rb:19public Map<String, Object> getRollout(String rolloutId)ApiRolloutsGet a rollout with every branch’s exit code, output and reward (getRollout: GET /v2/rollouts/{rollout_id}).
| Parameter | Type | Default |
|---|---|---|
rolloutId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiRollouts.java:22get_sandbox()
Section titled “get_sandbox()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) GetSandbox(ctx context.Context, id string) (*Sandbox, error)GetSandbox returns a handle on a sandbox with its current record, without data-plane access (ConnectSandbox gives that).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
id |
string |
Returns (*Sandbox, error)
sdk/go/sandbox.go:366Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
get_sandbox_alert_rule()
Section titled “get_sandbox_alert_rule()”def get_sandbox_alert_rule(self, rule_id: str) -> dict[str, Any]ObservabilityApiGet a sandbox alert rule (getSandboxAlertRule: GET /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
rule_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:53getSandboxAlertRule(ruleId: string): Promise<Json>ObservabilityApiGet a sandbox alert rule (getSandboxAlertRule: GET /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
ruleId |
string |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:59func (c *Client) GetSandboxAlertRule(ctx context.Context, ruleID string) (map[string]any, error)GetSandboxAlertRule get a sandbox alert rule (getSandboxAlertRule: GET /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
ruleID |
string |
Returns (map[string]any, error)
sdk/go/api_observability.go:116def get_sandbox_alert_rule(rule_id, request_timeout: nil)Get a sandbox alert rule (getSandboxAlertRule: GET /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
rule_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:60public Map<String, Object> getSandboxAlertRule(String ruleId)ApiObservabilityGet a sandbox alert rule (getSandboxAlertRule: GET /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
ruleId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:62get_sandbox_by_name()
Section titled “get_sandbox_by_name()”def get_sandbox_by_name(self, name: str) -> dict[str, Any]SandboxesApiGet the team’s live sandbox by name (getSandboxByName: GET /v2/sandbox-names/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
str |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:65getSandboxByName(name: string): Promise<Json>SandboxesApiGet the team’s live sandbox by name (getSandboxByName: GET /v2/sandbox-names/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
string |
Returns Promise<Json>
sdk/typescript/src/api-sandboxes.ts:69func (c *Client) GetSandboxByName(ctx context.Context, name string) (map[string]any, error)GetSandboxByName get the team’s live sandbox by name (getSandboxByName: GET /v2/sandbox-names/{name}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
name |
string |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:202def get_sandbox_by_name(name, request_timeout: nil)Get the team’s live sandbox by name (getSandboxByName: GET /v2/sandbox-names/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandboxes.rb:68public Map<String, Object> getSandboxByName(String name)ApiSandboxesGet the team’s live sandbox by name (getSandboxByName: GET /v2/sandbox-names/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxes.java:67get_sandbox_egress()
Section titled “get_sandbox_egress()”def get_sandbox_egress(self, sandbox_id: str) -> dict[str, Any]EgressApiRead the sandbox layer-7 egress rules (getSandboxEgress: GET /v2/sandboxes/{sandbox_id}/egress).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_egress.py:13getSandboxEgress(sandboxId: string): Promise<Json>EgressApiRead the sandbox layer-7 egress rules (getSandboxEgress: GET /v2/sandboxes/{sandbox_id}/egress).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
Returns Promise<Json>
sdk/typescript/src/api-egress.ts:9func (c *Client) GetSandboxEgress(ctx context.Context, sandboxID string) (map[string]any, error)GetSandboxEgress read the sandbox layer-7 egress rules (getSandboxEgress: GET /v2/sandboxes/{sandbox_id}/egress).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
Returns (map[string]any, error)
sdk/go/api_egress.go:11Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
get_sandbox_egress_proxy()
Section titled “get_sandbox_egress_proxy()”def get_sandbox_egress_proxy(self, sandbox_id: str) -> dict[str, Any]IdentityApiRead the sandbox’s customer egress proxy (getSandboxEgressProxy: GET /v2/sandboxes/{sandbox_id}/egress/proxy).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_identity.py:13getSandboxEgressProxy(sandboxId: string): Promise<Json>IdentityApiRead the sandbox’s customer egress proxy (getSandboxEgressProxy: GET /v2/sandboxes/{sandbox_id}/egress/proxy).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
Returns Promise<Json>
sdk/typescript/src/api-identity.ts:9func (c *Client) GetSandboxEgressProxy(ctx context.Context, sandboxID string) (map[string]any, error)GetSandboxEgressProxy read the sandbox’s customer egress proxy (getSandboxEgressProxy: GET /v2/sandboxes/{sandbox_id}/egress/proxy).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
Returns (map[string]any, error)
sdk/go/api_identity.go:11def get_sandbox_egress_proxy(sandbox_id, request_timeout: nil)Read the sandbox’s customer egress proxy (getSandboxEgressProxy: GET /v2/sandboxes/{sandbox_id}/egress/proxy).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/identity.rb:8public Map<String, Object> getSandboxEgressProxy(String sandboxId)ApiIdentityRead the sandbox’s customer egress proxy (getSandboxEgressProxy: GET /v2/sandboxes/{sandbox_id}/egress/proxy).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiIdentity.java:12get_sandbox_file_capabilities()
Section titled “get_sandbox_file_capabilities()”def get_sandbox_file_capabilities(self, sandbox_id: str) -> dict[str, Any]SandboxesApiHow this sandbox’s guest writes files (getSandboxFileCapabilities: GET /v2/sandboxes/{sandbox_id}/file-capabilities).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:37getSandboxFileCapabilities(sandboxId: string): Promise<Json>SandboxesApiHow this sandbox’s guest writes files (getSandboxFileCapabilities: GET /v2/sandboxes/{sandbox_id}/file-capabilities).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
Returns Promise<Json>
sdk/typescript/src/api-sandboxes.ts:34func (c *Client) GetSandboxFileCapabilities(ctx context.Context, sandboxID string) (map[string]any, error)GetSandboxFileCapabilities how this sandbox’s guest writes files (getSandboxFileCapabilities: GET /v2/sandboxes/{sandbox_id}/file-capabilities).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:92def get_sandbox_file_capabilities(sandbox_id, request_timeout: nil)How this sandbox’s guest writes files (getSandboxFileCapabilities: GET /v2/sandboxes/{sandbox_id}/file-capabilities).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandboxes.rb:30public Map<String, Object> getSandboxFileCapabilities(String sandboxId)ApiSandboxesHow this sandbox’s guest writes files (getSandboxFileCapabilities: GET /v2/sandboxes/{sandbox_id}/file-capabilities).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxes.java:32get_sandbox_inbound()
Section titled “get_sandbox_inbound()”def get_sandbox_inbound(self, sandbox_id: str) -> dict[str, Any]InboundApiRead the sandbox inbound allowlist (getSandboxInbound: GET /v2/sandboxes/{sandbox_id}/inbound).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_inbound.py:13getSandboxInbound(sandboxId: string): Promise<Json>InboundApiRead the sandbox inbound allowlist (getSandboxInbound: GET /v2/sandboxes/{sandbox_id}/inbound).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
Returns Promise<Json>
sdk/typescript/src/api-inbound.ts:9func (c *Client) GetSandboxInbound(ctx context.Context, sandboxID string) (map[string]any, error)GetSandboxInbound read the sandbox inbound allowlist (getSandboxInbound: GET /v2/sandboxes/{sandbox_id}/inbound).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
Returns (map[string]any, error)
sdk/go/api_inbound.go:12def get_sandbox_inbound(sandbox_id, request_timeout: nil)Read the sandbox inbound allowlist (getSandboxInbound: GET /v2/sandboxes/{sandbox_id}/inbound).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/inbound.rb:8public Map<String, Object> getSandboxInbound(String sandboxId)ApiInboundRead the sandbox inbound allowlist (getSandboxInbound: GET /v2/sandboxes/{sandbox_id}/inbound).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiInbound.java:12get_sandbox_logs()
Section titled “get_sandbox_logs()”def get_sandbox_logs(self, sandbox_id: str, *, source: str | None=None, page_size: int | None=None, page_token: str | None=None, start: str | None=None, end: str | None=None) -> dict[str, Any]SandboxesApiGet guest logs (getSandboxLogs: GET /v2/sandboxes/{sandbox_id}/logs).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
source |
str | None |
None |
page_size |
int | None |
None |
page_token |
str | None |
None |
start |
str | None |
None |
end |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:45getSandboxLogs(sandboxId: string, options: { source?: string; pageSize?: number; pageToken?: string; start?: string; end?: string } = {}): Promise<Json>SandboxesApiGet guest logs (getSandboxLogs: GET /v2/sandboxes/{sandbox_id}/logs).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
options |
{ source?: string; pageSize?: number; pageToken?: string; start?: string; end?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-sandboxes.ts:44func (c *Client) GetSandboxLogs(ctx context.Context, sandboxID string, query GetSandboxLogsQuery) (map[string]any, error)GetSandboxLogs get guest logs (getSandboxLogs: GET /v2/sandboxes/{sandbox_id}/logs).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
query |
GetSandboxLogsQuery |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:148def get_sandbox_logs(sandbox_id, source: nil, page_size: nil, page_token: nil, start: nil, end_: nil, request_timeout: nil)Get guest logs (getSandboxLogs: GET /v2/sandboxes/{sandbox_id}/logs).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
source |
nil |
|
page_size |
nil |
|
page_token |
nil |
|
start |
nil |
|
end_ |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandboxes.rb:41public Map<String, Object> getSandboxLogs(String sandboxId, Map<String, ?> query)ApiSandboxesGet guest logs (getSandboxLogs: GET /v2/sandboxes/{sandbox_id}/logs).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxes.java:42get_sandbox_mcp_gateway()
Section titled “get_sandbox_mcp_gateway()”def get_sandbox_mcp_gateway(self, sandbox_id: str) -> dict[str, Any]SandboxesApiGet the sandbox MCP gateway URL (getSandboxMcpGateway: GET /v2/sandboxes/{sandbox_id}/mcp).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:49getSandboxMcpGateway(sandboxId: string): Promise<Json>SandboxesApiGet the sandbox MCP gateway URL (getSandboxMcpGateway: GET /v2/sandboxes/{sandbox_id}/mcp).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
Returns Promise<Json>
sdk/typescript/src/api-sandboxes.ts:49func (c *Client) GetSandboxMcpGateway(ctx context.Context, sandboxID string) (map[string]any, error)GetSandboxMcpGateway get the sandbox MCP gateway URL (getSandboxMcpGateway: GET /v2/sandboxes/{sandbox_id}/mcp).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:153def get_sandbox_mcp_gateway(sandbox_id, request_timeout: nil)Get the sandbox MCP gateway URL (getSandboxMcpGateway: GET /v2/sandboxes/{sandbox_id}/mcp).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandboxes.rb:47public Map<String, Object> getSandboxMcpGateway(String sandboxId)ApiSandboxesGet the sandbox MCP gateway URL (getSandboxMcpGateway: GET /v2/sandboxes/{sandbox_id}/mcp).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxes.java:47get_sandbox_mcp_servers()
Section titled “get_sandbox_mcp_servers()”def get_sandbox_mcp_servers(self, sandbox_id: str) -> dict[str, Any]SandboxAccessApiList the MCP servers configured in a sandbox (getSandboxMcpServers: GET /v2/sandboxes/{sandbox_id}/mcp/servers).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_sandbox_access.py:13getSandboxMcpServers(sandboxId: string): Promise<Json>SandboxAccessApiList the MCP servers configured in a sandbox (getSandboxMcpServers: GET /v2/sandboxes/{sandbox_id}/mcp/servers).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
Returns Promise<Json>
sdk/typescript/src/api-sandbox-access.ts:9func (c *Client) GetSandboxMcpServers(ctx context.Context, sandboxID string) (map[string]any, error)GetSandboxMcpServers list the MCP servers configured in a sandbox (getSandboxMcpServers: GET /v2/sandboxes/{sandbox_id}/mcp/servers).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
Returns (map[string]any, error)
sdk/go/api_sandbox_access.go:11def get_sandbox_mcp_servers(sandbox_id, request_timeout: nil)List the MCP servers configured in a sandbox (getSandboxMcpServers: GET /v2/sandboxes/{sandbox_id}/mcp/servers).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandbox_access.rb:8public Map<String, Object> getSandboxMcpServers(String sandboxId)ApiSandboxAccessList the MCP servers configured in a sandbox (getSandboxMcpServers: GET /v2/sandboxes/{sandbox_id}/mcp/servers).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxAccess.java:12get_sandbox_metrics()
Section titled “get_sandbox_metrics()”def get_sandbox_metrics(self, sandbox_id: str, *, start: str | None=None, end: str | None=None) -> dict[str, Any]SandboxesApiGet live and historical metrics (getSandboxMetrics: GET /v2/sandboxes/{sandbox_id}/metrics).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
start |
str | None |
None |
end |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:41getSandboxMetrics(sandboxId: string, options: { start?: string; end?: string } = {}): Promise<Json>SandboxesApiGet live and historical metrics (getSandboxMetrics: GET /v2/sandboxes/{sandbox_id}/metrics).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
options |
{ start?: string; end?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-sandboxes.ts:39func (c *Client) GetSandboxMetrics(ctx context.Context, sandboxID string, query GetSandboxMetricsQuery) (map[string]any, error)GetSandboxMetrics get live and historical metrics (getSandboxMetrics: GET /v2/sandboxes/{sandbox_id}/metrics).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
query |
GetSandboxMetricsQuery |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:114def get_sandbox_metrics(sandbox_id, start: nil, end_: nil, request_timeout: nil)Get live and historical metrics (getSandboxMetrics: GET /v2/sandboxes/{sandbox_id}/metrics).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
start |
nil |
|
end_ |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandboxes.rb:35public Map<String, Object> getSandboxMetrics(String sandboxId, Map<String, ?> query)ApiSandboxesGet live and historical metrics (getSandboxMetrics: GET /v2/sandboxes/{sandbox_id}/metrics).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxes.java:37get_sandbox_otel_export()
Section titled “get_sandbox_otel_export()”def get_sandbox_otel_export(self, sandbox_id: str) -> dict[str, Any]OtelApiRead the export in force for a sandbox (getSandboxOtelExport: GET /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_otel.py:25getSandboxOtelExport(sandboxId: string): Promise<Json>OtelApiRead the export in force for a sandbox (getSandboxOtelExport: GET /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
Returns Promise<Json>
sdk/typescript/src/api-otel.ts:24func (c *Client) GetSandboxOtelExport(ctx context.Context, sandboxID string) (map[string]any, error)GetSandboxOtelExport read the export in force for a sandbox (getSandboxOtelExport: GET /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
Returns (map[string]any, error)
sdk/go/api_otel.go:26def get_sandbox_otel_export(sandbox_id, request_timeout: nil)Read the export in force for a sandbox (getSandboxOtelExport: GET /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/otel.rb:23public Map<String, Object> getSandboxOtelExport(String sandboxId)ApiOtelRead the export in force for a sandbox (getSandboxOtelExport: GET /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiOtel.java:27get_sandbox_private_network()
Section titled “get_sandbox_private_network()”def get_sandbox_private_network(self, sandbox_id: str) -> dict[str, Any]PrivateNetworkApiRead the sandbox’s place on its team’s private network (getSandboxPrivateNetwork: GET /v2/sandboxes/{sandbox_id}/private-network).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_private_network.py:13getSandboxPrivateNetwork(sandboxId: string): Promise<Json>PrivateNetworkApiRead the sandbox’s place on its team’s private network (getSandboxPrivateNetwork: GET /v2/sandboxes/{sandbox_id}/private-network).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
Returns Promise<Json>
sdk/typescript/src/api-private-network.ts:9func (c *Client) GetSandboxPrivateNetwork(ctx context.Context, sandboxID string) (map[string]any, error)GetSandboxPrivateNetwork read the sandbox’s place on its team’s private network (getSandboxPrivateNetwork: GET /v2/sandboxes/{sandbox_id}/private-network).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
Returns (map[string]any, error)
sdk/go/api_private_network.go:11def get_sandbox_private_network(sandbox_id, request_timeout: nil)Read the sandbox’s place on its team’s private network (getSandboxPrivateNetwork: GET /v2/sandboxes/{sandbox_id}/private-network).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/private_network.rb:8public Map<String, Object> getSandboxPrivateNetwork(String sandboxId)ApiPrivateNetworkRead the sandbox’s place on its team’s private network (getSandboxPrivateNetwork: GET /v2/sandboxes/{sandbox_id}/private-network).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiPrivateNetwork.java:12get_secret()
Section titled “get_secret()”def get_secret(self, name: str) -> dict[str, Any]AccountApiGet one secret’s metadata (getSecret: GET /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
str |
Returns dict[str, Any]
sdk/python/svm/api_account.py:113getSecret(name: string): Promise<Json>AccountApiGet one secret’s metadata (getSecret: GET /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
string |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:134func (c *Client) GetSecret(ctx context.Context, name string) (map[string]any, error)GetSecret get one secret’s metadata (getSecret: GET /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
name |
string |
Returns (map[string]any, error)
sdk/go/api_account.go:213def get_secret(name, request_timeout: nil)Get one secret’s metadata (getSecret: GET /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:132public Map<String, Object> getSecret(String name)ApiAccountGet one secret’s metadata (getSecret: GET /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:132get_snapshot()
Section titled “get_snapshot()”def get_snapshot(self, snapshot_id: str) -> dict[str, Any]PersistenceApiGet a snapshot (getSnapshot: GET /v2/snapshots/{snapshot_id}).
| Parameter | Type | Default |
|---|---|---|
snapshot_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_persistence.py:25getSnapshot(snapshotId: string): Promise<Json>PersistenceApiGet a snapshot (getSnapshot: GET /v2/snapshots/{snapshot_id}).
| Parameter | Type | Default |
|---|---|---|
snapshotId |
string |
Returns Promise<Json>
sdk/typescript/src/api-persistence.ts:24func (c *Client) GetSnapshot(ctx context.Context, snapshotID string) (map[string]any, error)GetSnapshot get a snapshot (getSnapshot: GET /v2/snapshots/{snapshot_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
snapshotID |
string |
Returns (map[string]any, error)
sdk/go/api_persistence.go:48Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
get_team()
Section titled “get_team()”def get_team(self, team_id: str) -> dict[str, Any]AccountApiGet a team (getTeam: GET /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_account.py:49getTeam(teamId: string): Promise<Json>AccountApiGet a team (getTeam: GET /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
string |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:54func (c *Client) GetTeam(ctx context.Context, teamID string) (map[string]any, error)GetTeam get a team (getTeam: GET /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
teamID |
string |
Returns (map[string]any, error)
sdk/go/api_account.go:74def get_team(team_id, request_timeout: nil)Get a team (getTeam: GET /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:49public Map<String, Object> getTeam(String teamId)ApiAccountGet a team (getTeam: GET /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:52get_team_egress_proxy()
Section titled “get_team_egress_proxy()”def get_team_egress_proxy(self) -> dict[str, Any]IdentityApiRead the team’s default customer egress proxy (getTeamEgressProxy: GET /v2/egress-proxy).
Returns dict[str, Any]
sdk/python/svm/api_identity.py:21getTeamEgressProxy(): Promise<Json>IdentityApiRead the team’s default customer egress proxy (getTeamEgressProxy: GET /v2/egress-proxy).
Returns Promise<Json>
sdk/typescript/src/api-identity.ts:19func (c *Client) GetTeamEgressProxy(ctx context.Context) (map[string]any, error)GetTeamEgressProxy read the team’s default customer egress proxy (getTeamEgressProxy: GET /v2/egress-proxy).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_identity.go:21def get_team_egress_proxy(request_timeout: nil)Read the team’s default customer egress proxy (getTeamEgressProxy: GET /v2/egress-proxy).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/identity.rb:18public Map<String, Object> getTeamEgressProxy()ApiIdentityRead the team’s default customer egress proxy (getTeamEgressProxy: GET /v2/egress-proxy).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiIdentity.java:22get_template()
Section titled “get_template()”def get_template(self, template_id: str) -> dict[str, Any]TemplatesApiGet a template (getTemplate: GET /v2/templates/{template_id}).
| Parameter | Type | Default |
|---|---|---|
template_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_templates.py:13getTemplate(templateId: string): Promise<Json>TemplatesApiGet a template (getTemplate: GET /v2/templates/{template_id}).
| Parameter | Type | Default |
|---|---|---|
templateId |
string |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:14func (c *Client) GetTemplate(ctx context.Context, templateID string) (map[string]any, error)GetTemplate get a template (getTemplate: GET /v2/templates/{template_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
templateID |
string |
Returns (map[string]any, error)
sdk/go/api_templates.go:43def get_template(template_id, request_timeout: nil)Get a template (getTemplate: GET /v2/templates/{template_id}).
| Parameter | Type | Default |
|---|---|---|
template_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/templates.rb:8public Map<String, Object> getTemplate(String templateId)ApiTemplatesGet a template (getTemplate: GET /v2/templates/{template_id}).
| Parameter | Type | Default |
|---|---|---|
templateId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTemplates.java:12get_usage()
Section titled “get_usage()”def get_usage(self, *, start: str | None=None, end: str | None=None, group_by: str | None=None) -> dict[str, Any]ObservabilityApiGet metered usage from the one-minute ledger windows that begin at or after start and before end (getUsage: GET /v2/usage).
| Parameter | Type | Default |
|---|---|---|
start |
str | None |
None |
end |
str | None |
None |
group_by |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:65getUsage(options: { start?: string; end?: string; groupBy?: string } = {}): Promise<Json>ObservabilityApiGet metered usage from the one-minute ledger windows that begin at or after start and before end (getUsage: GET /v2/usage).
| Parameter | Type | Default |
|---|---|---|
options |
{ start?: string; end?: string; groupBy?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:74func (c *Client) GetUsage(ctx context.Context, query GetUsageQuery) (map[string]any, error)GetUsage get metered usage from the one-minute ledger windows that begin at or after start and before end (getUsage: GET /v2/usage).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
GetUsageQuery |
Returns (map[string]any, error)
sdk/go/api_observability.go:152def get_usage(start: nil, end_: nil, group_by: nil, request_timeout: nil)Get metered usage from the one-minute ledger windows that begin at or after start and before end (getUsage: GET /v2/usage).
| Parameter | Type | Default |
|---|---|---|
start |
nil |
|
end_ |
nil |
|
group_by |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:75public Map<String, Object> getUsage(Map<String, ?> query)ApiObservabilityGet metered usage from the one-minute ledger windows that begin at or after start and before end (getUsage: GET /v2/usage).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:77get_usage_mandate()
Section titled “get_usage_mandate()”def get_usage_mandate(self) -> dict[str, Any]BillingUsageApiGet the team’s authorisation for usage payments (getUsageMandate: GET /v2/billing/usage-mandate).
Returns dict[str, Any]
sdk/python/svm/api_billing_usage.py:13getUsageMandate(): Promise<Json>BillingUsageApiGet the team’s authorisation for usage payments (getUsageMandate: GET /v2/billing/usage-mandate).
Returns Promise<Json>
sdk/typescript/src/api-billing-usage.ts:9func (c *Client) GetUsageMandate(ctx context.Context) (map[string]any, error)GetUsageMandate get the team’s authorisation for usage payments (getUsageMandate: GET /v2/billing/usage-mandate).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_billing_usage.go:10def get_usage_mandate(request_timeout: nil)Get the team’s authorisation for usage payments (getUsageMandate: GET /v2/billing/usage-mandate).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/billing_usage.rb:8public Map<String, Object> getUsageMandate()ApiBillingUsageGet the team’s authorisation for usage payments (getUsageMandate: GET /v2/billing/usage-mandate).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiBillingUsage.java:12get_volume()
Section titled “get_volume()”def get_volume(self, volume_id: str) -> dict[str, Any]PersistenceApiGet a volume (getVolume: GET /v2/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
volume_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_persistence.py:45getVolume(volumeId: string): Promise<Json>PersistenceApiGet a volume (getVolume: GET /v2/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
volumeId |
string |
Returns Promise<Json>
sdk/typescript/src/api-persistence.ts:49func (c *Client) GetVolume(ctx context.Context, volumeID string) (map[string]any, error)GetVolume get a volume (getVolume: GET /v2/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
volumeID |
string |
Returns (map[string]any, error)
sdk/go/api_persistence.go:90def get_volume(volume_id, request_timeout: nil)Get a volume (getVolume: GET /v2/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
volume_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/persistence.rb:8public Map<String, Object> getVolume(String volumeId)ApiPersistenceGet a volume (getVolume: GET /v2/volumes/{volume_id}).
| Parameter | Type | Default |
|---|---|---|
volumeId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiPersistence.java:12get_webhook()
Section titled “get_webhook()”def get_webhook(self, webhook_id: str) -> dict[str, Any]ObservabilityApiGet a webhook (getWebhook: GET /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
webhook_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:25getWebhook(webhookId: string): Promise<Json>ObservabilityApiGet a webhook (getWebhook: GET /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
webhookId |
string |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:24func (c *Client) GetWebhook(ctx context.Context, webhookID string) (map[string]any, error)GetWebhook get a webhook (getWebhook: GET /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
webhookID |
string |
Returns (map[string]any, error)
sdk/go/api_observability.go:64def get_webhook(webhook_id, request_timeout: nil)Get a webhook (getWebhook: GET /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
webhook_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:24public Map<String, Object> getWebhook(String webhookId)ApiObservabilityGet a webhook (getWebhook: GET /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
webhookId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:27initialize()
Section titled “initialize()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
Not in the Go SDK’s Client.
def initialize(domain: nil, api_key: nil, bearer_token: nil, timeout: 10, max_attempts: nil, allow_insecure_http: false, retry_policy: nil, env: ENV, proxy: nil, headers: nil, logger: nil, http_version: nil)Credentials come from the arguments, then SVM_DOMAIN / SVM_API_KEY / SVM_ACCESS_TOKEN, then the config file (SVM::Config).
proxy (<tt>http://[user:password@]host:port</tt>) sends every REST call and the sandbox data-plane channel through that HTTP proxy, in place of any proxy the environment names. headers are added to every REST call and data-plane call; they cannot replace the authentication headers. http_version is “1.1” or “2” for the REST calls and the SDK’s streams and downloads (“2” is real HTTP/2, ALPN over TLS or h2c on http://, never a fallback to HTTP/1.1, and needs the optional +http-2+ gem: without it, and with proxy, it is an ArgumentError at construction, as is any other value; leaving it out is “1.1”; the data plane stays HTTP/1.1 gRPC-Web). logger (a ::Logger) gets one debug line per HTTP attempt: method, path, status and duration, never a header, query value, body or credential.
| Parameter | Type | Default |
|---|---|---|
domain |
nil |
|
api_key |
nil |
|
bearer_token |
nil |
|
timeout |
10 |
|
max_attempts |
nil |
|
allow_insecure_http |
false |
|
retry_policy |
nil |
|
env |
ENV |
|
proxy |
nil |
|
headers |
nil |
|
logger |
nil |
|
http_version |
nil |
Raises ArgumentError, SandboxError
sdk/ruby/lib/svm/client.rb:23Not in the Java SDK’s Api.
list_api_keys()
Section titled “list_api_keys()”def list_api_keys(self, *, page_size: int | None=None, page_token: str | None=None, q: str | None=None, status: str | None=None) -> dict[str, Any]AccountApiList API keys (listApiKeys: GET /v2/api-keys).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
q |
str | None |
None |
status |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_account.py:93listApiKeys(options: { pageSize?: number; pageToken?: string; q?: string; status?: string } = {}): Promise<Json>AccountApiList API keys (listApiKeys: GET /v2/api-keys).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string; q?: string; status?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:109func (c *Client) ListApiKeys(ctx context.Context, query ListApiKeysQuery) (map[string]any, error)ListApiKeys list API keys (listApiKeys: GET /v2/api-keys).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListApiKeysQuery |
Returns (map[string]any, error)
sdk/go/api_account.go:171def list_api_keys(page_size: nil, page_token: nil, q: nil, status: nil, request_timeout: nil)List API keys (listApiKeys: GET /v2/api-keys).
| Parameter | Type | Default |
|---|---|---|
page_size |
nil |
|
page_token |
nil |
|
q |
nil |
|
status |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:105public Map<String, Object> listApiKeys(Map<String, ?> query)ApiAccountList API keys (listApiKeys: GET /v2/api-keys).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:107list_audit_log()
Section titled “list_audit_log()”def list_audit_log(self, *, page_size: int | None=None, page_token: str | None=None, start: str | None=None, end: str | None=None) -> dict[str, Any]AccountApiList the team audit log (listAuditLog: GET /v2/audit-log).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
start |
str | None |
None |
end |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_account.py:125listAuditLog(options: { pageSize?: number; pageToken?: string; start?: string; end?: string } = {}): Promise<Json>AccountApiList the team audit log (listAuditLog: GET /v2/audit-log).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string; start?: string; end?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:149func (c *Client) ListAuditLog(ctx context.Context, query ListAuditLogQuery) (map[string]any, error)ListAuditLog list the team audit log (listAuditLog: GET /v2/audit-log).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListAuditLogQuery |
Returns (map[string]any, error)
sdk/go/api_account.go:253def list_audit_log(page_size: nil, page_token: nil, start: nil, end_: nil, request_timeout: nil)List the team audit log (listAuditLog: GET /v2/audit-log).
| Parameter | Type | Default |
|---|---|---|
page_size |
nil |
|
page_token |
nil |
|
start |
nil |
|
end_ |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:147public Map<String, Object> listAuditLog(Map<String, ?> query)ApiAccountList the team audit log (listAuditLog: GET /v2/audit-log).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:147list_backups()
Section titled “list_backups()”def list_backups(self, body: dict[str, Any]) -> dict[str, Any]VolumeFilesApiList the backup objects in a bucket (listBackups: POST /v2/backups/list).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_volume_files.py:41listBackups(body: Json): Promise<Json>VolumeFilesApiList the backup objects in a bucket (listBackups: POST /v2/backups/list).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-volume-files.ts:44func (c *Client) ListBackups(ctx context.Context, opts BackupListOptions) (BackupPage, error)ListBackups returns one page of the backup objects in the team’s bucket. It needs no sandbox: the one a backup was taken from may be gone. opts.Prefix is the one the backups were created with and names a folder, not the start of a name: “nightly” lists “nightly/…” and is the same as “nightly/”, while “night” lists nothing of it.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
opts |
BackupListOptions |
Returns (BackupPage, error)
sdk/go/volume.go:364def list_backups(body:, request_timeout: nil)List the backup objects in a bucket (listBackups: POST /v2/backups/list).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/volume_files.rb:47public Map<String, Object> listBackups(Object body)ApiVolumeFilesList the backup objects in a bucket (listBackups: POST /v2/backups/list).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiVolumeFiles.java:47list_domains()
Section titled “list_domains()”def list_domains(self, *, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]InboundApiList the team’s custom domains (listDomains: GET /v2/domains).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_inbound.py:21listDomains(options: { pageSize?: number; pageToken?: string } = {}): Promise<Json>InboundApiList the team’s custom domains (listDomains: GET /v2/domains).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-inbound.ts:19func (c *Client) ListDomains(ctx context.Context, query ListDomainsQuery) (map[string]any, error)ListDomains list the team’s custom domains (listDomains: GET /v2/domains).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListDomainsQuery |
Returns (map[string]any, error)
sdk/go/api_inbound.go:39def list_domains(page_size: nil, page_token: nil, request_timeout: nil)List the team’s custom domains (listDomains: GET /v2/domains).
| Parameter | Type | Default |
|---|---|---|
page_size |
nil |
|
page_token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/inbound.rb:18public Map<String, Object> listDomains(Map<String, ?> query)ApiInboundList the team’s custom domains (listDomains: GET /v2/domains).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiInbound.java:22list_events()
Section titled “list_events()”def list_events(self, *, page_size: int | None=None, page_token: str | None=None, sandbox_id: str | None=None, type: str | None=None, order: str | None=None, start: str | None=None, end: str | None=None) -> dict[str, Any]ObservabilityApiList lifecycle events (listEvents: GET /v2/events).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
sandbox_id |
str | None |
None |
type |
str | None |
None |
order |
str | None |
None |
start |
str | None |
None |
end |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:13listEvents(options: { pageSize?: number; pageToken?: string; sandboxId?: string; type?: string; order?: string; start?: string; end?: string } = {}): Promise<Json>ObservabilityApiList lifecycle events (listEvents: GET /v2/events).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string; sandboxId?: string; type?: string; order?: string; start?: string; end?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:9func (c *Client) ListEvents(ctx context.Context, query ListEventsQuery) (map[string]any, error)ListEvents list lifecycle events (listEvents: GET /v2/events).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListEventsQuery |
Returns (map[string]any, error)
sdk/go/api_observability.go:49def list_events(page_size: nil, page_token: nil, sandbox_id: nil, type: nil, order: nil, start: nil, end_: nil, request_timeout: nil)List lifecycle events (listEvents: GET /v2/events).
| Parameter | Type | Default |
|---|---|---|
page_size |
nil |
|
page_token |
nil |
|
sandbox_id |
nil |
|
type |
nil |
|
order |
nil |
|
start |
nil |
|
end_ |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:8public Map<String, Object> listEvents(Map<String, ?> query)ApiObservabilityList lifecycle events (listEvents: GET /v2/events).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:12list_interpreter_contexts()
Section titled “list_interpreter_contexts()”def list_interpreter_contexts(self, sandbox_id: str) -> dict[str, Any]ToolsApiList the sandbox’s running interpreter contexts (listInterpreterContexts: GET /v2/sandboxes/{sandbox_id}/interpreter/contexts).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_tools.py:37listInterpreterContexts(sandboxId: string): Promise<Json>ToolsApiList the sandbox’s running interpreter contexts (listInterpreterContexts: GET /v2/sandboxes/{sandbox_id}/interpreter/contexts).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
Returns Promise<Json>
sdk/typescript/src/api-tools.ts:39func (c *Client) ListInterpreterContexts(ctx context.Context, sandboxID string) (map[string]any, error)ListInterpreterContexts list the sandbox’s running interpreter contexts (listInterpreterContexts: GET /v2/sandboxes/{sandbox_id}/interpreter/contexts).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
Returns (map[string]any, error)
sdk/go/api_tools.go:80Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
list_invoices()
Section titled “list_invoices()”def list_invoices(self, *, page_size: int | None=None, page_token: str | None=None, status: str | None=None) -> dict[str, Any]ObservabilityApiList invoices (listInvoices: GET /v2/billing/invoices).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
status |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:89listInvoices(options: { pageSize?: number; pageToken?: string; status?: string } = {}): Promise<Json>ObservabilityApiList invoices (listInvoices: GET /v2/billing/invoices).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string; status?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:104func (c *Client) ListInvoices(ctx context.Context, query ListInvoicesQuery) (map[string]any, error)ListInvoices list invoices (listInvoices: GET /v2/billing/invoices).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListInvoicesQuery |
Returns (map[string]any, error)
sdk/go/api_observability.go:203def list_invoices(page_size: nil, page_token: nil, status: nil, request_timeout: nil)List invoices (listInvoices: GET /v2/billing/invoices).
| Parameter | Type | Default |
|---|---|---|
page_size |
nil |
|
page_token |
nil |
|
status |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:106public Map<String, Object> listInvoices(Map<String, ?> query)ApiObservabilityList invoices (listInvoices: GET /v2/billing/invoices).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:107list_my_invites()
Section titled “list_my_invites()”def list_my_invites(self) -> dict[str, Any]AccountApiPending invitations addressed to the signed-in user (listMyInvites: GET /v2/me/invites).
Returns dict[str, Any]
sdk/python/svm/api_account.py:85listMyInvites(): Promise<Json>AccountApiPending invitations addressed to the signed-in user (listMyInvites: GET /v2/me/invites).
Returns Promise<Json>
sdk/typescript/src/api-account.ts:99func (c *Client) ListMyInvites(ctx context.Context) (map[string]any, error)ListMyInvites pending invitations addressed to the signed-in user (listMyInvites: GET /v2/me/invites).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_account.go:136def list_my_invites(request_timeout: nil)Pending invitations addressed to the signed-in user (listMyInvites: GET /v2/me/invites).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:95public Map<String, Object> listMyInvites()ApiAccountPending invitations addressed to the signed-in user (listMyInvites: GET /v2/me/invites).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:97list_platform_access_log()
Section titled “list_platform_access_log()”def list_platform_access_log(self, *, team_id: str | None=None, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]PlatformApiList every start and stop of acting in a team, newest first (listPlatformAccessLog: GET /v2/platform/access-log).
| Parameter | Type | Default |
|---|---|---|
team_id |
str | None |
None |
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_platform.py:29listPlatformAccessLog(options: { teamId?: string; pageSize?: number; pageToken?: string } = {}): Promise<Json>PlatformApiList every start and stop of acting in a team, newest first (listPlatformAccessLog: GET /v2/platform/access-log).
| Parameter | Type | Default |
|---|---|---|
options |
{ teamId?: string; pageSize?: number; pageToken?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-platform.ts:29func (c *Client) ListPlatformAccessLog(ctx context.Context, query ListPlatformAccessLogQuery) (map[string]any, error)ListPlatformAccessLog list every start and stop of acting in a team, newest first (listPlatformAccessLog: GET /v2/platform/access-log).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListPlatformAccessLogQuery |
Returns (map[string]any, error)
sdk/go/api_platform.go:99def list_platform_access_log(team_id: nil, page_size: nil, page_token: nil, request_timeout: nil)List every start and stop of acting in a team, newest first (listPlatformAccessLog: GET /v2/platform/access-log).
| Parameter | Type | Default |
|---|---|---|
team_id |
nil |
|
page_size |
nil |
|
page_token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/platform.rb:30public Map<String, Object> listPlatformAccessLog(Map<String, ?> query)ApiPlatformList every start and stop of acting in a team, newest first (listPlatformAccessLog: GET /v2/platform/access-log).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiPlatform.java:32list_platform_team_activity()
Section titled “list_platform_team_activity()”def list_platform_team_activity(self, team_id: str, *, page_size: int | None=None, page_token: str | None=None, start: str | None=None, end: str | None=None) -> dict[str, Any]PlatformApiRead any team’s audit log (listPlatformTeamActivity: GET /v2/platform/teams/{team_id}/activity).
| Parameter | Type | Default |
|---|---|---|
team_id |
str |
|
page_size |
int | None |
None |
page_token |
str | None |
None |
start |
str | None |
None |
end |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_platform.py:25listPlatformTeamActivity(teamId: string, options: { pageSize?: number; pageToken?: string; start?: string; end?: string } = {}): Promise<Json>PlatformApiRead any team’s audit log (listPlatformTeamActivity: GET /v2/platform/teams/{team_id}/activity).
| Parameter | Type | Default |
|---|---|---|
teamId |
string |
|
options |
{ pageSize?: number; pageToken?: string; start?: string; end?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-platform.ts:24func (c *Client) ListPlatformTeamActivity(ctx context.Context, teamID string, query ListPlatformTeamActivityQuery) (map[string]any, error)ListPlatformTeamActivity read any team’s audit log (listPlatformTeamActivity: GET /v2/platform/teams/{team_id}/activity).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
teamID |
string |
|
query |
ListPlatformTeamActivityQuery |
Returns (map[string]any, error)
sdk/go/api_platform.go:73def list_platform_team_activity(team_id, page_size: nil, page_token: nil, start: nil, end_: nil, request_timeout: nil)Read any team’s audit log (listPlatformTeamActivity: GET /v2/platform/teams/{team_id}/activity).
| Parameter | Type | Default |
|---|---|---|
team_id |
||
page_size |
nil |
|
page_token |
nil |
|
start |
nil |
|
end_ |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/platform.rb:24public Map<String, Object> listPlatformTeamActivity(String teamId, Map<String, ?> query)ApiPlatformRead any team’s audit log (listPlatformTeamActivity: GET /v2/platform/teams/{team_id}/activity).
| Parameter | Type | Default |
|---|---|---|
teamId |
String |
|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiPlatform.java:27list_platform_teams()
Section titled “list_platform_teams()”def list_platform_teams(self, *, query: str | None=None, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]PlatformApiList every team on the platform, newest first (listPlatformTeams: GET /v2/platform/teams).
| Parameter | Type | Default |
|---|---|---|
query |
str | None |
None |
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_platform.py:17listPlatformTeams(options: { query?: string; pageSize?: number; pageToken?: string } = {}): Promise<Json>PlatformApiList every team on the platform, newest first (listPlatformTeams: GET /v2/platform/teams).
| Parameter | Type | Default |
|---|---|---|
options |
{ query?: string; pageSize?: number; pageToken?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-platform.ts:14func (c *Client) ListPlatformTeams(ctx context.Context, query ListPlatformTeamsQuery) (map[string]any, error)ListPlatformTeams list every team on the platform, newest first (listPlatformTeams: GET /v2/platform/teams).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListPlatformTeamsQuery |
Returns (map[string]any, error)
sdk/go/api_platform.go:38def list_platform_teams(query: nil, page_size: nil, page_token: nil, request_timeout: nil)List every team on the platform, newest first (listPlatformTeams: GET /v2/platform/teams).
| Parameter | Type | Default |
|---|---|---|
query |
nil |
|
page_size |
nil |
|
page_token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/platform.rb:13public Map<String, Object> listPlatformTeams(Map<String, ?> query)ApiPlatformList every team on the platform, newest first (listPlatformTeams: GET /v2/platform/teams).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiPlatform.java:17list_rollouts()
Section titled “list_rollouts()”def list_rollouts(self, *, page_size: int | None=None, page_token: str | None=None, sandbox_id: str | None=None) -> dict[str, Any]RolloutsApiList rollouts, newest first (listRollouts: GET /v2/rollouts).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
sandbox_id |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_rollouts.py:17listRollouts(options: { pageSize?: number; pageToken?: string; sandboxId?: string } = {}): Promise<Json>RolloutsApiList rollouts, newest first (listRollouts: GET /v2/rollouts).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string; sandboxId?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-rollouts.ts:14func (c *Client) ListRollouts(ctx context.Context, query ListRolloutsQuery) (map[string]any, error)ListRollouts list rollouts, newest first (listRollouts: GET /v2/rollouts).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListRolloutsQuery |
Returns (map[string]any, error)
sdk/go/api_rollouts.go:38def list_rollouts(page_size: nil, page_token: nil, sandbox_id: nil, request_timeout: nil)List rollouts, newest first (listRollouts: GET /v2/rollouts).
| Parameter | Type | Default |
|---|---|---|
page_size |
nil |
|
page_token |
nil |
|
sandbox_id |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/rollouts.rb:13public Map<String, Object> listRollouts(Map<String, ?> query)ApiRolloutsList rollouts, newest first (listRollouts: GET /v2/rollouts).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiRollouts.java:17list_sandbox_alert_rules()
Section titled “list_sandbox_alert_rules()”def list_sandbox_alert_rules(self) -> dict[str, Any]ObservabilityApiList the team’s sandbox alert rules (listSandboxAlertRules: GET /v2/sandbox-alert-rules).
Returns dict[str, Any]
sdk/python/svm/api_observability.py:45listSandboxAlertRules(): Promise<Json>ObservabilityApiList the team’s sandbox alert rules (listSandboxAlertRules: GET /v2/sandbox-alert-rules).
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:49func (c *Client) ListSandboxAlertRules(ctx context.Context) (map[string]any, error)ListSandboxAlertRules list the team’s sandbox alert rules (listSandboxAlertRules: GET /v2/sandbox-alert-rules).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_observability.go:106def list_sandbox_alert_rules(request_timeout: nil)List the team’s sandbox alert rules (listSandboxAlertRules: GET /v2/sandbox-alert-rules).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:50public Map<String, Object> listSandboxAlertRules()ApiObservabilityList the team’s sandbox alert rules (listSandboxAlertRules: GET /v2/sandbox-alert-rules).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:52list_sandbox_effects()
Section titled “list_sandbox_effects()”def list_sandbox_effects(self, sandbox_id: str, *, page_size: int | None=None, page_token: str | None=None, run_id: str | None=None) -> dict[str, Any]ToolsApiList external effects recorded for a sandbox (listSandboxEffects: GET /v2/sandboxes/{sandbox_id}/effects).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
page_size |
int | None |
None |
page_token |
str | None |
None |
run_id |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_tools.py:13listSandboxEffects(sandboxId: string, options: { pageSize?: number; pageToken?: string; runId?: string } = {}): Promise<Json>ToolsApiList external effects recorded for a sandbox (listSandboxEffects: GET /v2/sandboxes/{sandbox_id}/effects).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
options |
{ pageSize?: number; pageToken?: string; runId?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-tools.ts:9func (c *Client) ListSandboxEffects(ctx context.Context, sandboxID string, query ListSandboxEffectsQuery) (map[string]any, error)ListSandboxEffects list external effects recorded for a sandbox (listSandboxEffects: GET /v2/sandboxes/{sandbox_id}/effects).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
query |
ListSandboxEffectsQuery |
Returns (map[string]any, error)
sdk/go/api_tools.go:33def list_sandbox_effects(sandbox_id, page_size: nil, page_token: nil, run_id: nil, request_timeout: nil)List external effects recorded for a sandbox (listSandboxEffects: GET /v2/sandboxes/{sandbox_id}/effects).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
page_size |
nil |
|
page_token |
nil |
|
run_id |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/tools.rb:8public Map<String, Object> listSandboxEffects(String sandboxId, Map<String, ?> query)ApiToolsList external effects recorded for a sandbox (listSandboxEffects: GET /v2/sandboxes/{sandbox_id}/effects).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTools.java:12list_sandbox_history()
Section titled “list_sandbox_history()”def list_sandbox_history(self, *, page_size: int | None=None, page_token: str | None=None, start: str | None=None, end: str | None=None, template: str | None=None) -> dict[str, Any]SandboxesApiList ended sandboxes (listSandboxHistory: GET /v2/sandbox-history).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
start |
str | None |
None |
end |
str | None |
None |
template |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:61listSandboxHistory(options: { pageSize?: number; pageToken?: string; start?: string; end?: string; template?: string } = {}): Promise<Json>SandboxesApiList ended sandboxes (listSandboxHistory: GET /v2/sandbox-history).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string; start?: string; end?: string; template?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-sandboxes.ts:64func (c *Client) ListSandboxHistory(ctx context.Context, query ListSandboxHistoryQuery) (map[string]any, error)ListSandboxHistory list ended sandboxes (listSandboxHistory: GET /v2/sandbox-history).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListSandboxHistoryQuery |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:197def list_sandbox_history(page_size: nil, page_token: nil, start: nil, end_: nil, template: nil, request_timeout: nil)List ended sandboxes (listSandboxHistory: GET /v2/sandbox-history).
| Parameter | Type | Default |
|---|---|---|
page_size |
nil |
|
page_token |
nil |
|
start |
nil |
|
end_ |
nil |
|
template |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandboxes.rb:62public Map<String, Object> listSandboxHistory(Map<String, ?> query)ApiSandboxesList ended sandboxes (listSandboxHistory: GET /v2/sandbox-history).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxes.java:62list_sandboxes()
Section titled “list_sandboxes()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) ListSandboxes(ctx context.Context, options ListSandboxOptions) (SandboxPage, error)ListSandboxes retrieves one page. List responses never include access tokens.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
options |
ListSandboxOptions |
Returns (SandboxPage, error)
sdk/go/sandbox.go:402Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
list_secrets()
Section titled “list_secrets()”def list_secrets(self, *, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]AccountApiList secret names (listSecrets: GET /v2/secrets).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_account.py:109listSecrets(options: { pageSize?: number; pageToken?: string } = {}): Promise<Json>AccountApiList secret names (listSecrets: GET /v2/secrets).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:129func (c *Client) ListSecrets(ctx context.Context, query ListSecretsQuery) (map[string]any, error)ListSecrets list secret names (listSecrets: GET /v2/secrets).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListSecretsQuery |
Returns (map[string]any, error)
sdk/go/api_account.go:208def list_secrets(page_size: nil, page_token: nil, request_timeout: nil)List secret names (listSecrets: GET /v2/secrets).
| Parameter | Type | Default |
|---|---|---|
page_size |
nil |
|
page_token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:126public Map<String, Object> listSecrets(Map<String, ?> query)ApiAccountList secret names (listSecrets: GET /v2/secrets).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:127list_shared_templates()
Section titled “list_shared_templates()”def list_shared_templates(self, *, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]TemplatesApiList templates other teams shared with this team and it accepted (listSharedTemplates: GET /v2/shared-templates).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_templates.py:57listSharedTemplates(options: { pageSize?: number; pageToken?: string } = {}): Promise<Json>TemplatesApiList templates other teams shared with this team and it accepted (listSharedTemplates: GET /v2/shared-templates).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:74func (c *Client) ListSharedTemplates(ctx context.Context, query ListSharedTemplatesQuery) (map[string]any, error)ListSharedTemplates list templates other teams shared with this team and it accepted (listSharedTemplates: GET /v2/shared-templates).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListSharedTemplatesQuery |
Returns (map[string]any, error)
sdk/go/api_templates.go:186def list_shared_templates(page_size: nil, page_token: nil, request_timeout: nil)List templates other teams shared with this team and it accepted (listSharedTemplates: GET /v2/shared-templates).
| Parameter | Type | Default |
|---|---|---|
page_size |
nil |
|
page_token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/templates.rb:65public Map<String, Object> listSharedTemplates(Map<String, ?> query)ApiTemplatesList templates other teams shared with this team and it accepted (listSharedTemplates: GET /v2/shared-templates).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTemplates.java:67list_snapshots()
Section titled “list_snapshots()”def list_snapshots(self, *, page_size: int | None=None, page_token: str | None=None, source_sandbox_id: str | None=None) -> dict[str, Any]PersistenceApiList snapshots (listSnapshots: GET /v2/snapshots).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
source_sandbox_id |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_persistence.py:21listSnapshots(options: { pageSize?: number; pageToken?: string; sourceSandboxId?: string } = {}): Promise<Json>PersistenceApiList snapshots (listSnapshots: GET /v2/snapshots).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string; sourceSandboxId?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-persistence.ts:19func (c *Client) ListSnapshots(ctx context.Context, query ListSnapshotsQuery) (map[string]any, error)ListSnapshots list snapshots (listSnapshots: GET /v2/snapshots).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListSnapshotsQuery |
Returns (map[string]any, error)
sdk/go/api_persistence.go:43Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
list_team_invites()
Section titled “list_team_invites()”def list_team_invites(self, team_id: str) -> dict[str, Any]AccountApiList pending invites (listTeamInvites: GET /v2/teams/{team_id}/invites).
| Parameter | Type | Default |
|---|---|---|
team_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_account.py:73listTeamInvites(teamId: string): Promise<Json>AccountApiList pending invites (listTeamInvites: GET /v2/teams/{team_id}/invites).
| Parameter | Type | Default |
|---|---|---|
teamId |
string |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:84func (c *Client) ListTeamInvites(ctx context.Context, teamID string) (map[string]any, error)ListTeamInvites list pending invites (listTeamInvites: GET /v2/teams/{team_id}/invites).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
teamID |
string |
Returns (map[string]any, error)
sdk/go/api_account.go:121def list_team_invites(team_id, request_timeout: nil)List pending invites (listTeamInvites: GET /v2/teams/{team_id}/invites).
| Parameter | Type | Default |
|---|---|---|
team_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:80public Map<String, Object> listTeamInvites(String teamId)ApiAccountList pending invites (listTeamInvites: GET /v2/teams/{team_id}/invites).
| Parameter | Type | Default |
|---|---|---|
teamId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:82list_team_members()
Section titled “list_team_members()”def list_team_members(self, team_id: str, *, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]AccountApiList members (listTeamMembers: GET /v2/teams/{team_id}/members).
| Parameter | Type | Default |
|---|---|---|
team_id |
str |
|
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_account.py:61listTeamMembers(teamId: string, options: { pageSize?: number; pageToken?: string } = {}): Promise<Json>AccountApiList members (listTeamMembers: GET /v2/teams/{team_id}/members).
| Parameter | Type | Default |
|---|---|---|
teamId |
string |
|
options |
{ pageSize?: number; pageToken?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:69func (c *Client) ListTeamMembers(ctx context.Context, teamID string, query ListTeamMembersQuery) (map[string]any, error)ListTeamMembers list members (listTeamMembers: GET /v2/teams/{team_id}/members).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
teamID |
string |
|
query |
ListTeamMembersQuery |
Returns (map[string]any, error)
sdk/go/api_account.go:106def list_team_members(team_id, page_size: nil, page_token: nil, request_timeout: nil)List members (listTeamMembers: GET /v2/teams/{team_id}/members).
| Parameter | Type | Default |
|---|---|---|
team_id |
||
page_size |
nil |
|
page_token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:64public Map<String, Object> listTeamMembers(String teamId, Map<String, ?> query)ApiAccountList members (listTeamMembers: GET /v2/teams/{team_id}/members).
| Parameter | Type | Default |
|---|---|---|
teamId |
String |
|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:67list_teams()
Section titled “list_teams()”def list_teams(self, *, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]AccountApiList the caller’s teams (listTeams: GET /v2/teams).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_account.py:41listTeams(options: { pageSize?: number; pageToken?: string } = {}): Promise<Json>AccountApiList the caller’s teams (listTeams: GET /v2/teams).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:44func (c *Client) ListTeams(ctx context.Context, query ListTeamsQuery) (map[string]any, error)ListTeams list the caller’s teams (listTeams: GET /v2/teams).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListTeamsQuery |
Returns (map[string]any, error)
sdk/go/api_account.go:64def list_teams(page_size: nil, page_token: nil, request_timeout: nil)List the caller’s teams (listTeams: GET /v2/teams).
| Parameter | Type | Default |
|---|---|---|
page_size |
nil |
|
page_token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:38public Map<String, Object> listTeams(Map<String, ?> query)ApiAccountList the caller’s teams (listTeams: GET /v2/teams).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:42list_template_builds()
Section titled “list_template_builds()”def list_template_builds(self, template_id: str, *, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]TemplatesApiList builds of a template (listTemplateBuilds: GET /v2/templates/{template_id}/builds).
| Parameter | Type | Default |
|---|---|---|
template_id |
str |
|
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_templates.py:29listTemplateBuilds(templateId: string, options: { pageSize?: number; pageToken?: string } = {}): Promise<Json>TemplatesApiList builds of a template (listTemplateBuilds: GET /v2/templates/{template_id}/builds).
| Parameter | Type | Default |
|---|---|---|
templateId |
string |
|
options |
{ pageSize?: number; pageToken?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:39func (c *Client) ListTemplateBuilds(ctx context.Context, templateID string, query ListTemplateBuildsQuery) (map[string]any, error)ListTemplateBuilds list builds of a template (listTemplateBuilds: GET /v2/templates/{template_id}/builds).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
templateID |
string |
|
query |
ListTemplateBuildsQuery |
Returns (map[string]any, error)
sdk/go/api_templates.go:85def list_template_builds(template_id, page_size: nil, page_token: nil, request_timeout: nil)List builds of a template (listTemplateBuilds: GET /v2/templates/{template_id}/builds).
| Parameter | Type | Default |
|---|---|---|
template_id |
||
page_size |
nil |
|
page_token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/templates.rb:28public Map<String, Object> listTemplateBuilds(String templateId, Map<String, ?> query)ApiTemplatesList builds of a template (listTemplateBuilds: GET /v2/templates/{template_id}/builds).
| Parameter | Type | Default |
|---|---|---|
templateId |
String |
|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTemplates.java:32list_template_grants()
Section titled “list_template_grants()”def list_template_grants(self, *, direction: str, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]TemplatesApiList template grants the team offered or received (admin) (listTemplateGrants: GET /v2/template-grants).
| Parameter | Type | Default |
|---|---|---|
direction |
str |
|
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_templates.py:45listTemplateGrants(options: { direction: string; pageSize?: number; pageToken?: string }): Promise<Json>TemplatesApiList template grants the team offered or received (admin) (listTemplateGrants: GET /v2/template-grants).
| Parameter | Type | Default |
|---|---|---|
options |
{ direction: string; pageSize?: number; pageToken?: string } |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:59func (c *Client) ListTemplateGrants(ctx context.Context, query ListTemplateGrantsQuery) (map[string]any, error)ListTemplateGrants list template grants the team offered or received (admin) (listTemplateGrants: GET /v2/template-grants).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListTemplateGrantsQuery |
Returns (map[string]any, error)
sdk/go/api_templates.go:154def list_template_grants(direction: nil, page_size: nil, page_token: nil, request_timeout: nil)List template grants the team offered or received (admin) (listTemplateGrants: GET /v2/template-grants).
| Parameter | Type | Default |
|---|---|---|
direction |
nil |
|
page_size |
nil |
|
page_token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/templates.rb:49public Map<String, Object> listTemplateGrants(Map<String, ?> query)ApiTemplatesList template grants the team offered or received (admin) (listTemplateGrants: GET /v2/template-grants).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTemplates.java:52list_templates()
Section titled “list_templates()”Not in the Python SDK’s SandboxClient.
listTemplates(options: { pageSize?: number; pageToken?: string; visibility?: string } = {}): Promise<Json>TemplatesApiList templates (listTemplates: GET /v2/templates).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string; visibility?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:9func (c *Client) ListTemplates(ctx context.Context, query ListTemplatesQuery) (map[string]any, error)ListTemplates list templates (listTemplates: GET /v2/templates).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListTemplatesQuery |
Returns (map[string]any, error)
sdk/go/api_templates.go:33Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
list_tool_grants()
Section titled “list_tool_grants()”def list_tool_grants(self, sandbox_id: str, *, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]ToolsApiList the tool grants of a sandbox (listToolGrants: GET /v2/sandboxes/{sandbox_id}/tool-grants).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_tools.py:21listToolGrants(sandboxId: string, options: { pageSize?: number; pageToken?: string } = {}): Promise<Json>ToolsApiList the tool grants of a sandbox (listToolGrants: GET /v2/sandboxes/{sandbox_id}/tool-grants).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
options |
{ pageSize?: number; pageToken?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-tools.ts:19func (c *Client) ListToolGrants(ctx context.Context, sandboxID string, query ListToolGrantsQuery) (map[string]any, error)ListToolGrants list the tool grants of a sandbox (listToolGrants: GET /v2/sandboxes/{sandbox_id}/tool-grants).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
query |
ListToolGrantsQuery |
Returns (map[string]any, error)
sdk/go/api_tools.go:60def list_tool_grants(sandbox_id, page_size: nil, page_token: nil, request_timeout: nil)List the tool grants of a sandbox (listToolGrants: GET /v2/sandboxes/{sandbox_id}/tool-grants).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
page_size |
nil |
|
page_token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/tools.rb:19public Map<String, Object> listToolGrants(String sandboxId, Map<String, ?> query)ApiToolsList the tool grants of a sandbox (listToolGrants: GET /v2/sandboxes/{sandbox_id}/tool-grants).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTools.java:22list_usage_charges()
Section titled “list_usage_charges()”def list_usage_charges(self, *, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]ObservabilityApiList metered usage charged on top of the plan (listUsageCharges: GET /v2/billing/usage-charges).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:97listUsageCharges(options: { pageSize?: number; pageToken?: string } = {}): Promise<Json>ObservabilityApiList metered usage charged on top of the plan (listUsageCharges: GET /v2/billing/usage-charges).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:114func (c *Client) ListUsageCharges(ctx context.Context, query ListUsageChargesQuery) (map[string]any, error)ListUsageCharges list metered usage charged on top of the plan (listUsageCharges: GET /v2/billing/usage-charges).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListUsageChargesQuery |
Returns (map[string]any, error)
sdk/go/api_observability.go:230def list_usage_charges(page_size: nil, page_token: nil, request_timeout: nil)List metered usage charged on top of the plan (listUsageCharges: GET /v2/billing/usage-charges).
| Parameter | Type | Default |
|---|---|---|
page_size |
nil |
|
page_token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:117public Map<String, Object> listUsageCharges(Map<String, ?> query)ApiObservabilityList metered usage charged on top of the plan (listUsageCharges: GET /v2/billing/usage-charges).
| Parameter | Type | Default |
|---|---|---|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:117list_volume_directory()
Section titled “list_volume_directory()”def list_volume_directory(self, volume_id: str, *, path: str) -> dict[str, Any]VolumeFilesApiList a directory on a volume (listVolumeDirectory: GET /v2/volumes/{volume_id}/files/directory).
| Parameter | Type | Default |
|---|---|---|
volume_id |
str |
|
path |
str |
Returns dict[str, Any]
sdk/python/svm/api_volume_files.py:25listVolumeDirectory(volumeId: string, options: { path: string }): Promise<Json>VolumeFilesApiList a directory on a volume (listVolumeDirectory: GET /v2/volumes/{volume_id}/files/directory).
| Parameter | Type | Default |
|---|---|---|
volumeId |
string |
|
options |
{ path: string } |
Returns Promise<Json>
sdk/typescript/src/api-volume-files.ts:24func (c *Client) ListVolumeDirectory(ctx context.Context, volumeID string, query ListVolumeDirectoryQuery) (map[string]any, error)ListVolumeDirectory list a directory on a volume (listVolumeDirectory: GET /v2/volumes/{volume_id}/files/directory).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
volumeID |
string |
|
query |
ListVolumeDirectoryQuery |
Returns (map[string]any, error)
sdk/go/api_volume_files.go:83def list_volume_directory(volume_id, path: nil, request_timeout: nil)List a directory on a volume (listVolumeDirectory: GET /v2/volumes/{volume_id}/files/directory).
| Parameter | Type | Default |
|---|---|---|
volume_id |
||
path |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/volume_files.rb:26public Map<String, Object> listVolumeDirectory(String volumeId, Map<String, ?> query)ApiVolumeFilesList a directory on a volume (listVolumeDirectory: GET /v2/volumes/{volume_id}/files/directory).
| Parameter | Type | Default |
|---|---|---|
volumeId |
String |
|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiVolumeFiles.java:27list_volumes()
Section titled “list_volumes()”def list_volumes(self, *, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]PersistenceApiList volumes (listVolumes: GET /v2/volumes).
| Parameter | Type | Default |
|---|---|---|
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_persistence.py:37listVolumes(options: { pageSize?: number; pageToken?: string } = {}): Promise<Json>PersistenceApiList volumes (listVolumes: GET /v2/volumes).
| Parameter | Type | Default |
|---|---|---|
options |
{ pageSize?: number; pageToken?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-persistence.ts:39func (c *Client) ListVolumes(ctx context.Context, query ListVolumesQuery) (map[string]any, error)ListVolumes list volumes (listVolumes: GET /v2/volumes).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
query |
ListVolumesQuery |
Returns (map[string]any, error)
sdk/go/api_persistence.go:80Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
list_webhook_deliveries()
Section titled “list_webhook_deliveries()”def list_webhook_deliveries(self, webhook_id: str, *, page_size: int | None=None, page_token: str | None=None) -> dict[str, Any]ObservabilityApiList delivery attempts (listWebhookDeliveries: GET /v2/webhooks/{webhook_id}/deliveries).
| Parameter | Type | Default |
|---|---|---|
webhook_id |
str |
|
page_size |
int | None |
None |
page_token |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:41listWebhookDeliveries(webhookId: string, options: { pageSize?: number; pageToken?: string } = {}): Promise<Json>ObservabilityApiList delivery attempts (listWebhookDeliveries: GET /v2/webhooks/{webhook_id}/deliveries).
| Parameter | Type | Default |
|---|---|---|
webhookId |
string |
|
options |
{ pageSize?: number; pageToken?: string } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:44func (c *Client) ListWebhookDeliveries(ctx context.Context, webhookID string, query ListWebhookDeliveriesQuery) (map[string]any, error)ListWebhookDeliveries list delivery attempts (listWebhookDeliveries: GET /v2/webhooks/{webhook_id}/deliveries).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
webhookID |
string |
|
query |
ListWebhookDeliveriesQuery |
Returns (map[string]any, error)
sdk/go/api_observability.go:101def list_webhook_deliveries(webhook_id, page_size: nil, page_token: nil, request_timeout: nil)List delivery attempts (listWebhookDeliveries: GET /v2/webhooks/{webhook_id}/deliveries).
| Parameter | Type | Default |
|---|---|---|
webhook_id |
||
page_size |
nil |
|
page_token |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:44public Map<String, Object> listWebhookDeliveries(String webhookId, Map<String, ?> query)ApiObservabilityList delivery attempts (listWebhookDeliveries: GET /v2/webhooks/{webhook_id}/deliveries).
| Parameter | Type | Default |
|---|---|---|
webhookId |
String |
|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:47list_webhooks()
Section titled “list_webhooks()”def list_webhooks(self) -> dict[str, Any]ObservabilityApiList webhooks (listWebhooks: GET /v2/webhooks).
Returns dict[str, Any]
sdk/python/svm/api_observability.py:17listWebhooks(): Promise<Json>ObservabilityApiList webhooks (listWebhooks: GET /v2/webhooks).
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:14func (c *Client) ListWebhooks(ctx context.Context) (map[string]any, error)ListWebhooks list webhooks (listWebhooks: GET /v2/webhooks).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_observability.go:54def list_webhooks(request_timeout: nil)List webhooks (listWebhooks: GET /v2/webhooks).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:14public Map<String, Object> listWebhooks()ApiObservabilityList webhooks (listWebhooks: GET /v2/webhooks).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:17logout()
Section titled “logout()”Not in the Python SDK’s SandboxClient.
logout(options: { body?: Json } = {}): Promise<Json>AuthApiSign out (logout: POST /v2/auth/session/logout).
| Parameter | Type | Default |
|---|---|---|
options |
{ body?: Json } |
{} |
Returns Promise<Json>
sdk/typescript/src/api-auth.ts:24func (c *Client) Logout(ctx context.Context, body any) (map[string]any, error)Logout sign out (logout: POST /v2/auth/session/logout).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_auth.go:25def logout(body: nil, request_timeout: nil)Sign out (logout: POST /v2/auth/session/logout).
| Parameter | Type | Default |
|---|---|---|
body |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/auth.rb:23public Map<String, Object> logout(Object body)ApiAuthSign out (logout: POST /v2/auth/session/logout).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAuth.java:27make_volume_directory()
Section titled “make_volume_directory()”def make_volume_directory(self, volume_id: str, body: dict[str, Any]) -> dict[str, Any]VolumeFilesApiMake a directory on a volume (makeVolumeDirectory: POST /v2/volumes/{volume_id}/files/directory).
| Parameter | Type | Default |
|---|---|---|
volume_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_volume_files.py:29makeVolumeDirectory(volumeId: string, body: Json): Promise<Json>VolumeFilesApiMake a directory on a volume (makeVolumeDirectory: POST /v2/volumes/{volume_id}/files/directory).
| Parameter | Type | Default |
|---|---|---|
volumeId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-volume-files.ts:29func (c *Client) MakeVolumeDirectory(ctx context.Context, volumeID string, body any) (map[string]any, error)MakeVolumeDirectory make a directory on a volume (makeVolumeDirectory: POST /v2/volumes/{volume_id}/files/directory).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
volumeID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_volume_files.go:88def make_volume_directory(volume_id, body:, request_timeout: nil)Make a directory on a volume (makeVolumeDirectory: POST /v2/volumes/{volume_id}/files/directory).
| Parameter | Type | Default |
|---|---|---|
volume_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/volume_files.rb:32public Map<String, Object> makeVolumeDirectory(String volumeId, Object body)ApiVolumeFilesMake a directory on a volume (makeVolumeDirectory: POST /v2/volumes/{volume_id}/files/directory).
| Parameter | Type | Default |
|---|---|---|
volumeId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiVolumeFiles.java:32new_template()
Section titled “new_template()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) NewTemplate(name string, options TemplateOptions) (*Template, error)NewTemplate starts a template named name.
| Parameter | Type | Default |
|---|---|---|
name |
string |
|
options |
TemplateOptions |
Returns (*Template, error)
sdk/go/template.go:51Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
poll_device_auth()
Section titled “poll_device_auth()”Not in the Python SDK’s SandboxClient.
pollDeviceAuth(body: Json): Promise<Json>AuthApiPoll a device authorization (pollDeviceAuth: POST /v2/auth/device/poll).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-auth.ts:14func (c *Client) PollDeviceAuth(ctx context.Context, body any) (map[string]any, error)PollDeviceAuth poll a device authorization (pollDeviceAuth: POST /v2/auth/device/poll).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_auth.go:15def poll_device_auth(body:, request_timeout: nil)Poll a device authorization (pollDeviceAuth: POST /v2/auth/device/poll).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/auth.rb:13public Map<String, Object> pollDeviceAuth(Object body)ApiAuthPoll a device authorization (pollDeviceAuth: POST /v2/auth/device/poll).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAuth.java:17put_secret()
Section titled “put_secret()”def put_secret(self, name: str, body: dict[str, Any]) -> dict[str, Any]AccountApiCreate or replace a secret (putSecret: PUT /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_account.py:117putSecret(name: string, body: Json): Promise<Json>AccountApiCreate or replace a secret (putSecret: PUT /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:139func (c *Client) PutSecret(ctx context.Context, name string, body any) (map[string]any, error)PutSecret create or replace a secret (putSecret: PUT /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
name |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_account.go:218def put_secret(name, body:, request_timeout: nil)Create or replace a secret (putSecret: PUT /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:137public Map<String, Object> putSecret(String name, Object body)ApiAccountCreate or replace a secret (putSecret: PUT /v2/secrets/{name}).
| Parameter | Type | Default |
|---|---|---|
name |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:137reconcile_effect()
Section titled “reconcile_effect()”def reconcile_effect(self, sandbox_id: str, effect_id: str, body: dict[str, Any]) -> dict[str, Any]ToolsApiRecord whether an ambiguous effect was sent (reconcileEffect: POST /v2/sandboxes/{sandbox_id}/effects/{effect_id}/reconcile).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
effect_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_tools.py:17reconcileEffect(sandboxId: string, effectId: string, body: Json): Promise<Json>ToolsApiRecord whether an ambiguous effect was sent (reconcileEffect: POST /v2/sandboxes/{sandbox_id}/effects/{effect_id}/reconcile).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
effectId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-tools.ts:14func (c *Client) ReconcileEffect(ctx context.Context, sandboxID string, effectID string, body any) (map[string]any, error)ReconcileEffect record whether an ambiguous effect was sent (reconcileEffect: POST /v2/sandboxes/{sandbox_id}/effects/{effect_id}/reconcile).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
effectID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_tools.go:38def reconcile_effect(sandbox_id, effect_id, body:, request_timeout: nil)Record whether an ambiguous effect was sent (reconcileEffect: POST /v2/sandboxes/{sandbox_id}/effects/{effect_id}/reconcile).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
effect_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/tools.rb:14public Map<String, Object> reconcileEffect(String sandboxId, String effectId, Object body)ApiToolsRecord whether an ambiguous effect was sent (reconcileEffect: POST /v2/sandboxes/{sandbox_id}/effects/{effect_id}/reconcile).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
effectId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTools.java:17record_sandbox_tool_call()
Section titled “record_sandbox_tool_call()”def record_sandbox_tool_call(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]OtelApiReport an agent tool call as a GenAI execute_tool span (recordSandboxToolCall: POST /v2/sandboxes/{sandbox_id}/otel-export/tool-calls).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_otel.py:37recordSandboxToolCall(sandboxId: string, body: Json): Promise<Json>OtelApiReport an agent tool call as a GenAI execute_tool span (recordSandboxToolCall: POST /v2/sandboxes/{sandbox_id}/otel-export/tool-calls).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-otel.ts:39func (c *Client) RecordSandboxToolCall(ctx context.Context, sandboxID string, body any) (map[string]any, error)RecordSandboxToolCall report an agent tool call as a GenAI execute_tool span (recordSandboxToolCall: POST /v2/sandboxes/{sandbox_id}/otel-export/tool-calls).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_otel.go:41def record_sandbox_tool_call(sandbox_id, body:, request_timeout: nil)Report an agent tool call as a GenAI execute_tool span (recordSandboxToolCall: POST /v2/sandboxes/{sandbox_id}/otel-export/tool-calls).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/otel.rb:38public Map<String, Object> recordSandboxToolCall(String sandboxId, Object body)ApiOtelReport an agent tool call as a GenAI execute_tool span (recordSandboxToolCall: POST /v2/sandboxes/{sandbox_id}/otel-export/tool-calls).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiOtel.java:42remove_team_member()
Section titled “remove_team_member()”def remove_team_member(self, team_id: str, user_id: str) -> dict[str, Any]AccountApiRemove a member (removeTeamMember: DELETE /v2/teams/{team_id}/members/{user_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
str |
|
user_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_account.py:69removeTeamMember(teamId: string, userId: string): Promise<Json>AccountApiRemove a member (removeTeamMember: DELETE /v2/teams/{team_id}/members/{user_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
string |
|
userId |
string |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:79func (c *Client) RemoveTeamMember(ctx context.Context, teamID string, userID string) (map[string]any, error)RemoveTeamMember remove a member (removeTeamMember: DELETE /v2/teams/{team_id}/members/{user_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
teamID |
string |
|
userID |
string |
Returns (map[string]any, error)
sdk/go/api_account.go:116def remove_team_member(team_id, user_id, request_timeout: nil)Remove a member (removeTeamMember: DELETE /v2/teams/{team_id}/members/{user_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
||
user_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:75public Map<String, Object> removeTeamMember(String teamId, String userId)ApiAccountRemove a member (removeTeamMember: DELETE /v2/teams/{team_id}/members/{user_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
String |
|
userId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:77remove_template_tag()
Section titled “remove_template_tag()”def remove_template_tag(self, template_id: str, tag: str) -> dict[str, Any]TemplatesApiRemove a tag (removeTemplateTag: DELETE /v2/templates/{template_id}/tags/{tag}).
| Parameter | Type | Default |
|---|---|---|
template_id |
str |
|
tag |
str |
Returns dict[str, Any]
sdk/python/svm/api_templates.py:25removeTemplateTag(templateId: string, tag: string): Promise<Json>TemplatesApiRemove a tag (removeTemplateTag: DELETE /v2/templates/{template_id}/tags/{tag}).
| Parameter | Type | Default |
|---|---|---|
templateId |
string |
|
tag |
string |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:34func (c *Client) RemoveTemplateTag(ctx context.Context, templateID string, tag string) (map[string]any, error)RemoveTemplateTag remove a tag (removeTemplateTag: DELETE /v2/templates/{template_id}/tags/{tag}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
templateID |
string |
|
tag |
string |
Returns (map[string]any, error)
sdk/go/api_templates.go:63def remove_template_tag(template_id, tag, request_timeout: nil)Remove a tag (removeTemplateTag: DELETE /v2/templates/{template_id}/tags/{tag}).
| Parameter | Type | Default |
|---|---|---|
template_id |
||
tag |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/templates.rb:23public Map<String, Object> removeTemplateTag(String templateId, String tag)ApiTemplatesRemove a tag (removeTemplateTag: DELETE /v2/templates/{template_id}/tags/{tag}).
| Parameter | Type | Default |
|---|---|---|
templateId |
String |
|
tag |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTemplates.java:27remove_volume_file()
Section titled “remove_volume_file()”def remove_volume_file(self, volume_id: str, *, path: str, recursive: bool | None=None) -> dict[str, Any]VolumeFilesApiRemove a file or directory on a volume (removeVolumeFile: DELETE /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
volume_id |
str |
|
path |
str |
|
recursive |
bool | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_volume_files.py:21removeVolumeFile(volumeId: string, options: { path: string; recursive?: boolean }): Promise<Json>VolumeFilesApiRemove a file or directory on a volume (removeVolumeFile: DELETE /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
volumeId |
string |
|
options |
{ path: string; recursive?: boolean } |
Returns Promise<Json>
sdk/typescript/src/api-volume-files.ts:19func (c *Client) RemoveVolumeFile(ctx context.Context, volumeID string, query RemoveVolumeFileQuery) (map[string]any, error)RemoveVolumeFile remove a file or directory on a volume (removeVolumeFile: DELETE /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
volumeID |
string |
|
query |
RemoveVolumeFileQuery |
Returns (map[string]any, error)
sdk/go/api_volume_files.go:65def remove_volume_file(volume_id, path: nil, recursive: nil, request_timeout: nil)Remove a file or directory on a volume (removeVolumeFile: DELETE /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
volume_id |
||
path |
nil |
|
recursive |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/volume_files.rb:20public Map<String, Object> removeVolumeFile(String volumeId, Map<String, ?> query)ApiVolumeFilesRemove a file or directory on a volume (removeVolumeFile: DELETE /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
volumeId |
String |
|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiVolumeFiles.java:22request()
Section titled “request()”def request(self, method: str, path: str, *, query: list[tuple[str, str]] | None=None, body: dict[str, Any] | None=None, idempotency_key: str | None=None, request_timeout: float | None=None, headers: dict[str, str] | None=None) -> dict[str, Any]| Parameter | Type | Default |
|---|---|---|
method |
str |
|
path |
str |
|
query |
list[tuple[str, str]] | None |
None |
body |
dict[str, Any] | None |
None |
idempotency_key |
str | None |
None |
request_timeout |
float | None |
None |
headers |
dict[str, str] | None |
None |
Returns dict[str, Any]
sdk/python/svm/sandbox.py:118async request<T = Record<string, unknown>>(method: string, path: string, options: { query?: Array<[string, string]>; body?: Record<string, unknown>; idempotencyKey?: string; requestTimeoutMs?: number; headers?: Record<string, string> } = {}): Promise<T>An authenticated JSON call to any API route, for routes the typed methods do not cover. A POST without idempotencyKey gets a fresh key, so it is retried as safely as a GET; other unsafe methods are not retried. Resolves to the parsed JSON body ({} when empty) and rejects with the typed ApiError for an error answer.
| Parameter | Type | Default |
|---|---|---|
method |
string |
|
path |
string |
|
options |
{ query?: Array<[string, string]>; body?: Record<string, unknown>; idempotencyKey?: string; requestTimeoutMs?: number; headers?: Record<string, string> } |
{} |
Returns Promise<T>
Raises ApiError
sdk/typescript/src/client.ts:215Not in the Go SDK’s Client.
def request(method, path, body: nil, query: nil, idempotency_key: nil, request_timeout: nil, raw_body: nil, content_type: nil, raw_response: false, headers: nil)Any HTTP call; returns the parsed JSON body ({} when empty). request_timeout overrides the client’s timeout for this call. headers are added to this call only (for example <tt>{ “If-None-Match” => “*” }</tt>); they win over the client’s headers but never replace the SDK’s Accept, credentials, Content-Type or Idempotency-Key.
| Parameter | Type | Default |
|---|---|---|
method |
||
path |
||
body |
nil |
|
query |
nil |
|
idempotency_key |
nil |
|
request_timeout |
nil |
|
raw_body |
nil |
|
content_type |
nil |
|
raw_response |
false |
|
headers |
nil |
sdk/ruby/lib/svm/client.rb:53Not in the Java SDK’s Api.
request_bytes()
Section titled “request_bytes()”def request_bytes(self, method: str, path: str, *, query: list[tuple[str, str]] | None=None, data: bytes | None=None, request_timeout: float | None=None) -> bytesA request whose body (sent with data) or answer is bytes rather than JSON, such as a volume file’s content. It is retried as request is: the safe methods only.
| Parameter | Type | Default |
|---|---|---|
method |
str |
|
path |
str |
|
query |
list[tuple[str, str]] | None |
None |
data |
bytes | None |
None |
request_timeout |
float | None |
None |
Returns bytes
sdk/python/svm/sandbox.py:158async requestBytes(method: string, path: string, options: { query?: Array<[string, string]>; data?: Uint8Array; requestTimeoutMs?: number } = {}): Promise<Uint8Array>A request whose body (data) or answer is bytes rather than JSON, such as a volume file’s content. It is retried as request is: the safe methods only.
| Parameter | Type | Default |
|---|---|---|
method |
string |
|
path |
string |
|
options |
{ query?: Array<[string, string]>; data?: Uint8Array; requestTimeoutMs?: number } |
{} |
Returns Promise<Uint8Array>
sdk/typescript/src/client.ts:252Not in the Go SDK’s Client.
def request_bytes(method, path, data: nil, query: nil, content_type: nil, idempotency_key: nil, request_timeout: nil)A call whose request or answer is bytes, not JSON: data (a String) is sent as the body with content_type, and the answer’s body comes back as a binary String. Retries as #request does.
| Parameter | Type | Default |
|---|---|---|
method |
||
path |
||
data |
nil |
|
query |
nil |
|
content_type |
nil |
|
idempotency_key |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/client.rb:80Not in the Java SDK’s Api.
request_data_export()
Section titled “request_data_export()”def request_data_export(self) -> dict[str, Any]AccountApiRequest an export of personal data (requestDataExport: POST /v2/me/export).
Returns dict[str, Any]
sdk/python/svm/api_account.py:29requestDataExport(): Promise<Json>AccountApiRequest an export of personal data (requestDataExport: POST /v2/me/export).
Returns Promise<Json>
sdk/typescript/src/api-account.ts:29func (c *Client) RequestDataExport(ctx context.Context) (map[string]any, error)RequestDataExport request an export of personal data (requestDataExport: POST /v2/me/export).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_account.go:32def request_data_export(request_timeout: nil)Request an export of personal data (requestDataExport: POST /v2/me/export).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:28public Map<String, Object> requestDataExport()ApiAccountRequest an export of personal data (requestDataExport: POST /v2/me/export).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:32request_email_change()
Section titled “request_email_change()”def request_email_change(self, body: dict[str, Any]) -> dict[str, Any]AccountEmailApiStart a verified email change (requestEmailChange: POST /v2/me/email-change).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_account_email.py:13requestEmailChange(body: Json): Promise<Json>AccountEmailApiStart a verified email change (requestEmailChange: POST /v2/me/email-change).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-account-email.ts:9func (c *Client) RequestEmailChange(ctx context.Context, body any) (map[string]any, error)RequestEmailChange start a verified email change (requestEmailChange: POST /v2/me/email-change).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_account_email.go:10def request_email_change(body:, request_timeout: nil)Start a verified email change (requestEmailChange: POST /v2/me/email-change).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account_email.rb:8public Map<String, Object> requestEmailChange(Object body)ApiAccountEmailStart a verified email change (requestEmailChange: POST /v2/me/email-change).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccountEmail.java:12restart_interpreter_context()
Section titled “restart_interpreter_context()”def restart_interpreter_context(self, sandbox_id: str, context_id: str) -> dict[str, Any]ToolsApiReplace a context with a fresh one (restartInterpreterContext: POST /v2/sandboxes/{sandbox_id}/interpreter/contexts/{context_id}/restart).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
context_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_tools.py:49restartInterpreterContext(sandboxId: string, contextId: string): Promise<Json>ToolsApiReplace a context with a fresh one (restartInterpreterContext: POST /v2/sandboxes/{sandbox_id}/interpreter/contexts/{context_id}/restart).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
contextId |
string |
Returns Promise<Json>
sdk/typescript/src/api-tools.ts:54func (c *Client) RestartInterpreterContext(ctx context.Context, sandboxID string, contextID string) (map[string]any, error)RestartInterpreterContext replace a context with a fresh one (restartInterpreterContext: POST /v2/sandboxes/{sandbox_id}/interpreter/contexts/{context_id}/restart).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
contextID |
string |
Returns (map[string]any, error)
sdk/go/api_tools.go:95Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
restore_sandbox_backup()
Section titled “restore_sandbox_backup()”def restore_sandbox_backup(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]VolumeFilesApiRestore a bucket backup into a sandbox directory (restoreSandboxBackup: POST /v2/sandboxes/{sandbox_id}/backups/restore).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_volume_files.py:37restoreSandboxBackup(sandboxId: string, body: Json): Promise<Json>VolumeFilesApiRestore a bucket backup into a sandbox directory (restoreSandboxBackup: POST /v2/sandboxes/{sandbox_id}/backups/restore).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-volume-files.ts:39func (c *Client) RestoreSandboxBackup(ctx context.Context, sandboxID string, body any) (map[string]any, error)RestoreSandboxBackup restore a bucket backup into a sandbox directory (restoreSandboxBackup: POST /v2/sandboxes/{sandbox_id}/backups/restore).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_volume_files.go:98def restore_sandbox_backup(sandbox_id, body:, request_timeout: nil)Restore a bucket backup into a sandbox directory (restoreSandboxBackup: POST /v2/sandboxes/{sandbox_id}/backups/restore).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/volume_files.rb:42public Map<String, Object> restoreSandboxBackup(String sandboxId, Object body)ApiVolumeFilesRestore a bucket backup into a sandbox directory (restoreSandboxBackup: POST /v2/sandboxes/{sandbox_id}/backups/restore).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiVolumeFiles.java:42revoke_api_key()
Section titled “revoke_api_key()”def revoke_api_key(self, api_key_id: str) -> dict[str, Any]AccountApiRevoke an API key (revokeApiKey: DELETE /v2/api-keys/{api_key_id}).
| Parameter | Type | Default |
|---|---|---|
api_key_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_account.py:105revokeApiKey(apiKeyId: string): Promise<Json>AccountApiRevoke an API key (revokeApiKey: DELETE /v2/api-keys/{api_key_id}).
| Parameter | Type | Default |
|---|---|---|
apiKeyId |
string |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:124func (c *Client) RevokeApiKey(ctx context.Context, apiKeyID string) (map[string]any, error)RevokeApiKey revoke an API key (revokeApiKey: DELETE /v2/api-keys/{api_key_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
apiKeyID |
string |
Returns (map[string]any, error)
sdk/go/api_account.go:186def revoke_api_key(api_key_id, request_timeout: nil)Revoke an API key (revokeApiKey: DELETE /v2/api-keys/{api_key_id}).
| Parameter | Type | Default |
|---|---|---|
api_key_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:121public Map<String, Object> revokeApiKey(String apiKeyId)ApiAccountRevoke an API key (revokeApiKey: DELETE /v2/api-keys/{api_key_id}).
| Parameter | Type | Default |
|---|---|---|
apiKeyId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:122revoke_team_invite()
Section titled “revoke_team_invite()”def revoke_team_invite(self, team_id: str, invite_id: str) -> dict[str, Any]AccountApiRevoke an invite (revokeTeamInvite: DELETE /v2/teams/{team_id}/invites/{invite_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
str |
|
invite_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_account.py:81revokeTeamInvite(teamId: string, inviteId: string): Promise<Json>AccountApiRevoke an invite (revokeTeamInvite: DELETE /v2/teams/{team_id}/invites/{invite_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
string |
|
inviteId |
string |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:94func (c *Client) RevokeTeamInvite(ctx context.Context, teamID string, inviteID string) (map[string]any, error)RevokeTeamInvite revoke an invite (revokeTeamInvite: DELETE /v2/teams/{team_id}/invites/{invite_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
teamID |
string |
|
inviteID |
string |
Returns (map[string]any, error)
sdk/go/api_account.go:131def revoke_team_invite(team_id, invite_id, request_timeout: nil)Revoke an invite (revokeTeamInvite: DELETE /v2/teams/{team_id}/invites/{invite_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
||
invite_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:90public Map<String, Object> revokeTeamInvite(String teamId, String inviteId)ApiAccountRevoke an invite (revokeTeamInvite: DELETE /v2/teams/{team_id}/invites/{invite_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
String |
|
inviteId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:92revoke_tool_grant()
Section titled “revoke_tool_grant()”def revoke_tool_grant(self, sandbox_id: str, grant_id: str) -> dict[str, Any]ToolsApiRevoke a tool grant (revokeToolGrant: DELETE /v2/sandboxes/{sandbox_id}/tool-grants/{grant_id}).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
grant_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_tools.py:29revokeToolGrant(sandboxId: string, grantId: string): Promise<Json>ToolsApiRevoke a tool grant (revokeToolGrant: DELETE /v2/sandboxes/{sandbox_id}/tool-grants/{grant_id}).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
grantId |
string |
Returns Promise<Json>
sdk/typescript/src/api-tools.ts:29func (c *Client) RevokeToolGrant(ctx context.Context, sandboxID string, grantID string) (map[string]any, error)RevokeToolGrant revoke a tool grant (revokeToolGrant: DELETE /v2/sandboxes/{sandbox_id}/tool-grants/{grant_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
grantID |
string |
Returns (map[string]any, error)
sdk/go/api_tools.go:70def revoke_tool_grant(sandbox_id, grant_id, request_timeout: nil)Revoke a tool grant (revokeToolGrant: DELETE /v2/sandboxes/{sandbox_id}/tool-grants/{grant_id}).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
grant_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/tools.rb:30public Map<String, Object> revokeToolGrant(String sandboxId, String grantId)ApiToolsRevoke a tool grant (revokeToolGrant: DELETE /v2/sandboxes/{sandbox_id}/tool-grants/{grant_id}).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
grantId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTools.java:32rollouts()
Section titled “rollouts()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) Rollouts() *RolloutsRollouts returns the rollout factory.
Returns *Rollouts
sdk/go/rollouts.go:173Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
rotate_webhook_secret()
Section titled “rotate_webhook_secret()”def rotate_webhook_secret(self, webhook_id: str) -> dict[str, Any]ObservabilityApiRotate the signing secret (rotateWebhookSecret: POST /v2/webhooks/{webhook_id}/rotate-secret).
| Parameter | Type | Default |
|---|---|---|
webhook_id |
str |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:37rotateWebhookSecret(webhookId: string): Promise<Json>ObservabilityApiRotate the signing secret (rotateWebhookSecret: POST /v2/webhooks/{webhook_id}/rotate-secret).
| Parameter | Type | Default |
|---|---|---|
webhookId |
string |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:39func (c *Client) RotateWebhookSecret(ctx context.Context, webhookID string) (map[string]any, error)RotateWebhookSecret rotate the signing secret (rotateWebhookSecret: POST /v2/webhooks/{webhook_id}/rotate-secret).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
webhookID |
string |
Returns (map[string]any, error)
sdk/go/api_observability.go:79def rotate_webhook_secret(webhook_id, request_timeout: nil)Rotate the signing secret (rotateWebhookSecret: POST /v2/webhooks/{webhook_id}/rotate-secret).
| Parameter | Type | Default |
|---|---|---|
webhook_id |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:39public Map<String, Object> rotateWebhookSecret(String webhookId)ApiObservabilityRotate the signing secret (rotateWebhookSecret: POST /v2/webhooks/{webhook_id}/rotate-secret).
| Parameter | Type | Default |
|---|---|---|
webhookId |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:42sandbox_by_name()
Section titled “sandbox_by_name()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) SandboxByName(ctx context.Context, name string) (*Sandbox, error)SandboxByName returns a handle on the team’s live sandbox that has name, without data-plane access (connect it to run commands). The generated GetSandboxByName is the same call returning the raw record.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
name |
string |
Returns (*Sandbox, error)
sdk/go/sandbox.go:380Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
sandboxes_from_snapshot()
Section titled “sandboxes_from_snapshot()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) SandboxesFromSnapshot(ctx context.Context, snapshotID string, count int, opts ...ForkOptions) ([]*Sandbox, error)SandboxesFromSnapshot starts count sandboxes from a snapshot, each connected and running. opts sets the new sandboxes’ metadata and lifetime (TimeoutSeconds; IdempotencyKey does not apply to this call).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
snapshotID |
string |
|
count |
int |
|
opts |
...ForkOptions |
optional |
Returns ([]*Sandbox, error)
sdk/go/sandbox_extras.go:306Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
secrets()
Section titled “secrets()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) Secrets() *SecretsSecrets returns the secret factory.
Returns *Secrets
sdk/go/secret.go:53Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
set_billing_rates()
Section titled “set_billing_rates()”def set_billing_rates(self, body: dict[str, Any]) -> dict[str, Any]OperatorApiSet the rates the meter charges every team (audited with a reason) (setBillingRates: PUT /v2/operator/billing/rates).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_operator.py:17setBillingRates(body: Json): Promise<Json>OperatorApiSet the rates the meter charges every team (audited with a reason) (setBillingRates: PUT /v2/operator/billing/rates).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-operator.ts:14func (c *Client) SetBillingRates(ctx context.Context, body any) (map[string]any, error)SetBillingRates set the rates the meter charges every team (audited with a reason) (setBillingRates: PUT /v2/operator/billing/rates).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_operator.go:15def set_billing_rates(body:, request_timeout: nil)Set the rates the meter charges every team (audited with a reason) (setBillingRates: PUT /v2/operator/billing/rates).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/operator.rb:13public Map<String, Object> setBillingRates(Object body)ApiOperatorSet the rates the meter charges every team (audited with a reason) (setBillingRates: PUT /v2/operator/billing/rates).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiOperator.java:17set_compute_billing()
Section titled “set_compute_billing()”def set_compute_billing(self, body: dict[str, Any]) -> dict[str, Any]ComputeBillingApiChoose how CPU is billed (setComputeBilling: PUT /v2/billing/compute-billing).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_compute_billing.py:13setComputeBilling(body: Json): Promise<Json>ComputeBillingApiChoose how CPU is billed (setComputeBilling: PUT /v2/billing/compute-billing).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-compute-billing.ts:9func (c *Client) SetComputeBilling(ctx context.Context, body any) (map[string]any, error)SetComputeBilling choose how CPU is billed (setComputeBilling: PUT /v2/billing/compute-billing).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_compute_billing.go:10def set_compute_billing(body:, request_timeout: nil)Choose how CPU is billed (setComputeBilling: PUT /v2/billing/compute-billing).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/compute_billing.rb:8public Map<String, Object> setComputeBilling(Object body)ApiComputeBillingChoose how CPU is billed (setComputeBilling: PUT /v2/billing/compute-billing).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiComputeBilling.java:12set_notification_preferences()
Section titled “set_notification_preferences()”def set_notification_preferences(self, body: dict[str, Any]) -> dict[str, Any]ObservabilityApiSet notification preferences (setNotificationPreferences: PUT /v2/notifications).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:105setNotificationPreferences(body: Json): Promise<Json>ObservabilityApiSet notification preferences (setNotificationPreferences: PUT /v2/notifications).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:124func (c *Client) SetNotificationPreferences(ctx context.Context, body any) (map[string]any, error)SetNotificationPreferences set notification preferences (setNotificationPreferences: PUT /v2/notifications).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_observability.go:240def set_notification_preferences(body:, request_timeout: nil)Set notification preferences (setNotificationPreferences: PUT /v2/notifications).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:128public Map<String, Object> setNotificationPreferences(Object body)ApiObservabilitySet notification preferences (setNotificationPreferences: PUT /v2/notifications).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:127set_otel_export()
Section titled “set_otel_export()”def set_otel_export(self, body: dict[str, Any]) -> dict[str, Any]OtelApiExport every sandbox’s spans to a collector (setOtelExport: PUT /v2/otel-export).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_otel.py:17setOtelExport(body: Json): Promise<Json>OtelApiExport every sandbox’s spans to a collector (setOtelExport: PUT /v2/otel-export).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-otel.ts:14func (c *Client) SetOtelExport(ctx context.Context, body any) (map[string]any, error)SetOtelExport export every sandbox’s spans to a collector (setOtelExport: PUT /v2/otel-export).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_otel.go:16def set_otel_export(body:, request_timeout: nil)Export every sandbox’s spans to a collector (setOtelExport: PUT /v2/otel-export).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/otel.rb:13public Map<String, Object> setOtelExport(Object body)ApiOtelExport every sandbox’s spans to a collector (setOtelExport: PUT /v2/otel-export).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiOtel.java:17set_sandbox_lifecycle()
Section titled “set_sandbox_lifecycle()”def set_sandbox_lifecycle(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]SandboxesApiReplace the sandbox’s lifecycle timers (setSandboxLifecycle: PUT /v2/sandboxes/{sandbox_id}/lifecycle).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:17setSandboxLifecycle(sandboxId: string, body: Json): Promise<Json>SandboxesApiReplace the sandbox’s lifecycle timers (setSandboxLifecycle: PUT /v2/sandboxes/{sandbox_id}/lifecycle).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-sandboxes.ts:14func (c *Client) SetSandboxLifecycle(ctx context.Context, sandboxID string, body any) (map[string]any, error)SetSandboxLifecycle replace the sandbox’s lifecycle timers (setSandboxLifecycle: PUT /v2/sandboxes/{sandbox_id}/lifecycle).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:17def set_sandbox_lifecycle(sandbox_id, body:, request_timeout: nil)Replace the sandbox’s lifecycle timers (setSandboxLifecycle: PUT /v2/sandboxes/{sandbox_id}/lifecycle).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandboxes.rb:8public Map<String, Object> setSandboxLifecycle(String sandboxId, Object body)ApiSandboxesReplace the sandbox’s lifecycle timers (setSandboxLifecycle: PUT /v2/sandboxes/{sandbox_id}/lifecycle).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxes.java:12set_sandbox_mcp_servers()
Section titled “set_sandbox_mcp_servers()”def set_sandbox_mcp_servers(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]SandboxAccessApiReplace the MCP servers configured in a sandbox (setSandboxMcpServers: PUT /v2/sandboxes/{sandbox_id}/mcp/servers).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_sandbox_access.py:17setSandboxMcpServers(sandboxId: string, body: Json): Promise<Json>SandboxAccessApiReplace the MCP servers configured in a sandbox (setSandboxMcpServers: PUT /v2/sandboxes/{sandbox_id}/mcp/servers).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-sandbox-access.ts:14func (c *Client) SetSandboxMcpServers(ctx context.Context, sandboxID string, body any) (map[string]any, error)SetSandboxMcpServers replace the MCP servers configured in a sandbox (setSandboxMcpServers: PUT /v2/sandboxes/{sandbox_id}/mcp/servers).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_sandbox_access.go:16def set_sandbox_mcp_servers(sandbox_id, body:, request_timeout: nil)Replace the MCP servers configured in a sandbox (setSandboxMcpServers: PUT /v2/sandboxes/{sandbox_id}/mcp/servers).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandbox_access.rb:13public Map<String, Object> setSandboxMcpServers(String sandboxId, Object body)ApiSandboxAccessReplace the MCP servers configured in a sandbox (setSandboxMcpServers: PUT /v2/sandboxes/{sandbox_id}/mcp/servers).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxAccess.java:17set_sandbox_otel_export()
Section titled “set_sandbox_otel_export()”def set_sandbox_otel_export(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]OtelApiExport one sandbox’s spans to its own collector (setSandboxOtelExport: PUT /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_otel.py:29setSandboxOtelExport(sandboxId: string, body: Json): Promise<Json>OtelApiExport one sandbox’s spans to its own collector (setSandboxOtelExport: PUT /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-otel.ts:29func (c *Client) SetSandboxOtelExport(ctx context.Context, sandboxID string, body any) (map[string]any, error)SetSandboxOtelExport export one sandbox’s spans to its own collector (setSandboxOtelExport: PUT /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_otel.go:31def set_sandbox_otel_export(sandbox_id, body:, request_timeout: nil)Export one sandbox’s spans to its own collector (setSandboxOtelExport: PUT /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/otel.rb:28public Map<String, Object> setSandboxOtelExport(String sandboxId, Object body)ApiOtelExport one sandbox’s spans to its own collector (setSandboxOtelExport: PUT /v2/sandboxes/{sandbox_id}/otel-export).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiOtel.java:32set_spend_limit()
Section titled “set_spend_limit()”def set_spend_limit(self, body: dict[str, Any]) -> dict[str, Any]ObservabilityApiSet the monthly spend limit (setSpendLimit: PUT /v2/billing/spend-limit).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:77setSpendLimit(body: Json): Promise<Json>ObservabilityApiSet the monthly spend limit (setSpendLimit: PUT /v2/billing/spend-limit).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:89func (c *Client) SetSpendLimit(ctx context.Context, body any) (map[string]any, error)SetSpendLimit set the monthly spend limit (setSpendLimit: PUT /v2/billing/spend-limit).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_observability.go:167def set_spend_limit(body:, request_timeout: nil)Set the monthly spend limit (setSpendLimit: PUT /v2/billing/spend-limit).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:91public Map<String, Object> setSpendLimit(Object body)ApiObservabilitySet the monthly spend limit (setSpendLimit: PUT /v2/billing/spend-limit).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:92start_device_auth()
Section titled “start_device_auth()”Not in the Python SDK’s SandboxClient.
startDeviceAuth(): Promise<Json>AuthApiStart a CLI sign-in (device authorization) (startDeviceAuth: POST /v2/auth/device/start).
Returns Promise<Json>
sdk/typescript/src/api-auth.ts:9func (c *Client) StartDeviceAuth(ctx context.Context) (map[string]any, error)StartDeviceAuth start a CLI sign-in (device authorization) (startDeviceAuth: POST /v2/auth/device/start).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_auth.go:10def start_device_auth(request_timeout: nil)Start a CLI sign-in (device authorization) (startDeviceAuth: POST /v2/auth/device/start).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/auth.rb:8public Map<String, Object> startDeviceAuth()ApiAuthStart a CLI sign-in (device authorization) (startDeviceAuth: POST /v2/auth/device/start).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAuth.java:12start_platform_act_as()
Section titled “start_platform_act_as()”def start_platform_act_as(self, body: dict[str, Any]) -> dict[str, Any]PlatformApiAct in a team as its owner for one hour (a reason is required) (startPlatformActAs: POST /v2/platform/act-as).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_platform.py:37startPlatformActAs(body: Json): Promise<Json>PlatformApiAct in a team as its owner for one hour (a reason is required) (startPlatformActAs: POST /v2/platform/act-as).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-platform.ts:39func (c *Client) StartPlatformActAs(ctx context.Context, body any) (map[string]any, error)StartPlatformActAs act in a team as its owner for one hour (a reason is required) (startPlatformActAs: POST /v2/platform/act-as).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_platform.go:109def start_platform_act_as(body:, request_timeout: nil)Act in a team as its owner for one hour (a reason is required) (startPlatformActAs: POST /v2/platform/act-as).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/platform.rb:41public Map<String, Object> startPlatformActAs(Object body)ApiPlatformAct in a team as its owner for one hour (a reason is required) (startPlatformActAs: POST /v2/platform/act-as).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiPlatform.java:42start_template_build()
Section titled “start_template_build()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) StartTemplateBuild(ctx context.Context, templateID string, body any, idempotencyKey string) (map[string]any, error)StartTemplateBuild start a template build (startTemplateBuild: POST /v2/templates/{template_id}/builds).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
templateID |
string |
|
body |
any |
|
idempotencyKey |
string |
Returns (map[string]any, error)
sdk/go/api_templates.go:90Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
start_topup()
Section titled “start_topup()”def start_topup(self, body: dict[str, Any]) -> dict[str, Any]BillingUsageApiStart buying credit (startTopup: POST /v2/billing/topups).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_billing_usage.py:25startTopup(body: Json): Promise<Json>BillingUsageApiStart buying credit (startTopup: POST /v2/billing/topups).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-billing-usage.ts:24func (c *Client) StartTopup(ctx context.Context, body any) (map[string]any, error)StartTopup start buying credit (startTopup: POST /v2/billing/topups).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_billing_usage.go:25def start_topup(body:, request_timeout: nil)Start buying credit (startTopup: POST /v2/billing/topups).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/billing_usage.rb:23public Map<String, Object> startTopup(Object body)ApiBillingUsageStart buying credit (startTopup: POST /v2/billing/topups).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiBillingUsage.java:27start_usage_mandate()
Section titled “start_usage_mandate()”def start_usage_mandate(self, body: dict[str, Any]) -> dict[str, Any]BillingUsageApiStart authorising usage payments (startUsageMandate: POST /v2/billing/usage-mandate).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_billing_usage.py:17startUsageMandate(body: Json): Promise<Json>BillingUsageApiStart authorising usage payments (startUsageMandate: POST /v2/billing/usage-mandate).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-billing-usage.ts:14func (c *Client) StartUsageMandate(ctx context.Context, body any) (map[string]any, error)StartUsageMandate start authorising usage payments (startUsageMandate: POST /v2/billing/usage-mandate).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_billing_usage.go:15def start_usage_mandate(body:, request_timeout: nil)Start authorising usage payments (startUsageMandate: POST /v2/billing/usage-mandate).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/billing_usage.rb:13public Map<String, Object> startUsageMandate(Object body)ApiBillingUsageStart authorising usage payments (startUsageMandate: POST /v2/billing/usage-mandate).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiBillingUsage.java:17stat_volume_file()
Section titled “stat_volume_file()”def stat_volume_file(self, volume_id: str, *, path: str) -> dict[str, Any]VolumeFilesApiDescribe one path on a volume (statVolumeFile: GET /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
volume_id |
str |
|
path |
str |
Returns dict[str, Any]
sdk/python/svm/api_volume_files.py:13statVolumeFile(volumeId: string, options: { path: string }): Promise<Json>VolumeFilesApiDescribe one path on a volume (statVolumeFile: GET /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
volumeId |
string |
|
options |
{ path: string } |
Returns Promise<Json>
sdk/typescript/src/api-volume-files.ts:9func (c *Client) StatVolumeFile(ctx context.Context, volumeID string, query StatVolumeFileQuery) (map[string]any, error)StatVolumeFile describe one path on a volume (statVolumeFile: GET /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
volumeID |
string |
|
query |
StatVolumeFileQuery |
Returns (map[string]any, error)
sdk/go/api_volume_files.go:25def stat_volume_file(volume_id, path: nil, request_timeout: nil)Describe one path on a volume (statVolumeFile: GET /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
volume_id |
||
path |
nil |
|
request_timeout |
nil |
sdk/ruby/lib/svm/api/volume_files.rb:8public Map<String, Object> statVolumeFile(String volumeId, Map<String, ?> query)ApiVolumeFilesDescribe one path on a volume (statVolumeFile: GET /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
volumeId |
String |
|
query |
Map<String, ?> |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiVolumeFiles.java:12stop_platform_act_as()
Section titled “stop_platform_act_as()”def stop_platform_act_as(self) -> dict[str, Any]PlatformApiReturn this session to its own team (stopPlatformActAs: DELETE /v2/platform/act-as).
Returns dict[str, Any]
sdk/python/svm/api_platform.py:41stopPlatformActAs(): Promise<Json>PlatformApiReturn this session to its own team (stopPlatformActAs: DELETE /v2/platform/act-as).
Returns Promise<Json>
sdk/typescript/src/api-platform.ts:44func (c *Client) StopPlatformActAs(ctx context.Context) (map[string]any, error)StopPlatformActAs return this session to its own team (stopPlatformActAs: DELETE /v2/platform/act-as).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
Returns (map[string]any, error)
sdk/go/api_platform.go:114def stop_platform_act_as(request_timeout: nil)Return this session to its own team (stopPlatformActAs: DELETE /v2/platform/act-as).
| Parameter | Type | Default |
|---|---|---|
request_timeout |
nil |
sdk/ruby/lib/svm/api/platform.rb:46public Map<String, Object> stopPlatformActAs()ApiPlatformReturn this session to its own team (stopPlatformActAs: DELETE /v2/platform/act-as).
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiPlatform.java:47stream_events()
Section titled “stream_events()”def stream_events(self, *, sandbox_id: str | None=None, type: str | None=None, last_event_id: str | None=None) -> Iterator[dict[str, Any]]StreamApiLifecycle events as they happen (streamEvents: GET /v2/events/stream), until the iterator is closed. A broken or ended connection is opened again from the last event seen (Last-Event-ID), so none is lost. A quiet stream is kept: the server’s heartbeats (every 15 s) count as traffic, a read waits up to EVENT_STREAM_READ_TIMEOUT (45 s) whatever the request timeout, and any byte received resets the failure count. It gives up with the error only after the retry policy’s attempts in a row that brought nothing.
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str | None |
None |
type |
str | None |
None |
last_event_id |
str | None |
None |
Returns Iterator[dict[str, Any]]
sdk/python/svm/event_stream.py:56async *streamEvents(options: { sandboxId?: string; type?: string; lastEventId?: string; signal?: AbortSignal } = {}): AsyncGenerator<Json>StreamApiLifecycle events as they happen (streamEvents: GET /v2/events/stream), until the generator is closed or signal aborts. A broken or ended connection is opened again from the last event seen (Last-Event-ID), so none is lost. A quiet stream is kept: the server’s heartbeats (every 15 s) count as traffic, a read waits up to 45 s for a byte whatever the request timeout, and any byte received resets the failure count. It gives up with the error only after the retry policy’s attempts in a row that brought nothing.
| Parameter | Type | Default |
|---|---|---|
options |
{ sandboxId?: string; type?: string; lastEventId?: string; signal?: AbortSignal } |
{} |
Returns AsyncGenerator<Json>
sdk/typescript/src/stream.ts:70func (c *Client) StreamEvents(ctx context.Context, options StreamEventsOptions, handle func(map[string]any) error) errorStreamEvents calls handle with each lifecycle event (streamEvents: GET /v2/events/stream) until ctx ends or handle returns an error. A broken or ended connection is opened again from the last event seen (Last-Event-ID), so none is lost. A quiet stream is kept: the server’s heartbeats (every 15 s) count as traffic, a read waits up to 45 s for a byte whatever the request timeout, and any line received resets the failure count. It gives up with the error only after the retry policy’s attempts in a row that brought nothing.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
options |
StreamEventsOptions |
|
handle |
func(map[string]any) error |
Returns error
sdk/go/rest_stream.go:82def stream_events(sandbox_id: nil, type: nil, last_event_id: nil)Hands each lifecycle event to the block (the event JSON, a Hash) until it throws :stop. The stream reconnects after a break, resuming from the last event id seen, under the client’s retry policy. A quiet stream is kept: the server’s heartbeats (every 15 s) count as traffic, a read waits up to 45 s for a byte whatever the request timeout, and any byte received resets the failure count; it gives up with the error only after the retry policy’s attempts in a row that brought nothing.
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
nil |
|
type |
nil |
|
last_event_id |
nil |
Raises TransportError
sdk/ruby/lib/svm/streams.rb:20Not in the Java SDK’s Api.
templates()
Section titled “templates()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) Templates() *TemplatesTemplates returns the template factory.
Returns *Templates
sdk/go/template.go:288Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
update_api_key()
Section titled “update_api_key()”def update_api_key(self, api_key_id: str, body: dict[str, Any]) -> dict[str, Any]AccountApiRename a key or change its expiry (updateApiKey: PATCH /v2/api-keys/{api_key_id}).
| Parameter | Type | Default |
|---|---|---|
api_key_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_account.py:101updateApiKey(apiKeyId: string, body: Json): Promise<Json>AccountApiRename a key or change its expiry (updateApiKey: PATCH /v2/api-keys/{api_key_id}).
| Parameter | Type | Default |
|---|---|---|
apiKeyId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:119func (c *Client) UpdateApiKey(ctx context.Context, apiKeyID string, body any) (map[string]any, error)UpdateApiKey rename a key or change its expiry (updateApiKey: PATCH /v2/api-keys/{api_key_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
apiKeyID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_account.go:181def update_api_key(api_key_id, body:, request_timeout: nil)Rename a key or change its expiry (updateApiKey: PATCH /v2/api-keys/{api_key_id}).
| Parameter | Type | Default |
|---|---|---|
api_key_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:116public Map<String, Object> updateApiKey(String apiKeyId, Object body)ApiAccountRename a key or change its expiry (updateApiKey: PATCH /v2/api-keys/{api_key_id}).
| Parameter | Type | Default |
|---|---|---|
apiKeyId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:117update_domain()
Section titled “update_domain()”def update_domain(self, domain: str, body: dict[str, Any]) -> dict[str, Any]InboundApiAttach a custom domain to a sandbox port, or detach it (updateDomain: PATCH /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
domain |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_inbound.py:33updateDomain(domain: string, body: Json): Promise<Json>InboundApiAttach a custom domain to a sandbox port, or detach it (updateDomain: PATCH /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
domain |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-inbound.ts:34func (c *Client) UpdateDomain(ctx context.Context, domain string, body any) (map[string]any, error)UpdateDomain attach a custom domain to a sandbox port, or detach it (updateDomain: PATCH /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
domain |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_inbound.go:54def update_domain(domain, body:, request_timeout: nil)Attach a custom domain to a sandbox port, or detach it (updateDomain: PATCH /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
domain |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/inbound.rb:34public Map<String, Object> updateDomain(String domain, Object body)ApiInboundAttach a custom domain to a sandbox port, or detach it (updateDomain: PATCH /v2/domains/{domain}).
| Parameter | Type | Default |
|---|---|---|
domain |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiInbound.java:37update_me()
Section titled “update_me()”def update_me(self, body: dict[str, Any]) -> dict[str, Any]AccountApiUpdate profile or default team (updateMe: PATCH /v2/me).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_account.py:17updateMe(body: Json): Promise<Json>AccountApiUpdate profile or default team (updateMe: PATCH /v2/me).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:14func (c *Client) UpdateMe(ctx context.Context, body any) (map[string]any, error)UpdateMe update profile or default team (updateMe: PATCH /v2/me).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_account.go:17def update_me(body:, request_timeout: nil)Update profile or default team (updateMe: PATCH /v2/me).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:13public Map<String, Object> updateMe(Object body)ApiAccountUpdate profile or default team (updateMe: PATCH /v2/me).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:17update_sandbox_alert_rule()
Section titled “update_sandbox_alert_rule()”def update_sandbox_alert_rule(self, rule_id: str, body: dict[str, Any]) -> dict[str, Any]ObservabilityApiChange or switch off a sandbox alert rule (updateSandboxAlertRule: PATCH /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
rule_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:57updateSandboxAlertRule(ruleId: string, body: Json): Promise<Json>ObservabilityApiChange or switch off a sandbox alert rule (updateSandboxAlertRule: PATCH /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
ruleId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:64func (c *Client) UpdateSandboxAlertRule(ctx context.Context, ruleID string, body any) (map[string]any, error)UpdateSandboxAlertRule change or switch off a sandbox alert rule (updateSandboxAlertRule: PATCH /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
ruleID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_observability.go:121def update_sandbox_alert_rule(rule_id, body:, request_timeout: nil)Change or switch off a sandbox alert rule (updateSandboxAlertRule: PATCH /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
rule_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:65public Map<String, Object> updateSandboxAlertRule(String ruleId, Object body)ApiObservabilityChange or switch off a sandbox alert rule (updateSandboxAlertRule: PATCH /v2/sandbox-alert-rules/{rule_id}).
| Parameter | Type | Default |
|---|---|---|
ruleId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:67update_sandbox_egress()
Section titled “update_sandbox_egress()”def update_sandbox_egress(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]EgressApiReplace the sandbox layer-7 egress rules (updateSandboxEgress: PUT /v2/sandboxes/{sandbox_id}/egress).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_egress.py:17updateSandboxEgress(sandboxId: string, body: Json): Promise<Json>EgressApiReplace the sandbox layer-7 egress rules (updateSandboxEgress: PUT /v2/sandboxes/{sandbox_id}/egress).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-egress.ts:14func (c *Client) UpdateSandboxEgress(ctx context.Context, sandboxID string, body any) (map[string]any, error)UpdateSandboxEgress replace the sandbox layer-7 egress rules (updateSandboxEgress: PUT /v2/sandboxes/{sandbox_id}/egress).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_egress.go:16Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
update_sandbox_egress_proxy()
Section titled “update_sandbox_egress_proxy()”def update_sandbox_egress_proxy(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]IdentityApiSet the sandbox’s customer egress proxy (updateSandboxEgressProxy: PUT /v2/sandboxes/{sandbox_id}/egress/proxy).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_identity.py:17updateSandboxEgressProxy(sandboxId: string, body: Json): Promise<Json>IdentityApiSet the sandbox’s customer egress proxy (updateSandboxEgressProxy: PUT /v2/sandboxes/{sandbox_id}/egress/proxy).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-identity.ts:14func (c *Client) UpdateSandboxEgressProxy(ctx context.Context, sandboxID string, body any) (map[string]any, error)UpdateSandboxEgressProxy set the sandbox’s customer egress proxy (updateSandboxEgressProxy: PUT /v2/sandboxes/{sandbox_id}/egress/proxy).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_identity.go:16def update_sandbox_egress_proxy(sandbox_id, body:, request_timeout: nil)Set the sandbox’s customer egress proxy (updateSandboxEgressProxy: PUT /v2/sandboxes/{sandbox_id}/egress/proxy).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/identity.rb:13public Map<String, Object> updateSandboxEgressProxy(String sandboxId, Object body)ApiIdentitySet the sandbox’s customer egress proxy (updateSandboxEgressProxy: PUT /v2/sandboxes/{sandbox_id}/egress/proxy).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiIdentity.java:17update_sandbox_inbound()
Section titled “update_sandbox_inbound()”def update_sandbox_inbound(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]InboundApiReplace the sandbox inbound allowlist (updateSandboxInbound: PUT /v2/sandboxes/{sandbox_id}/inbound).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_inbound.py:17updateSandboxInbound(sandboxId: string, body: Json): Promise<Json>InboundApiReplace the sandbox inbound allowlist (updateSandboxInbound: PUT /v2/sandboxes/{sandbox_id}/inbound).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-inbound.ts:14func (c *Client) UpdateSandboxInbound(ctx context.Context, sandboxID string, body any) (map[string]any, error)UpdateSandboxInbound replace the sandbox inbound allowlist (updateSandboxInbound: PUT /v2/sandboxes/{sandbox_id}/inbound).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_inbound.go:17def update_sandbox_inbound(sandbox_id, body:, request_timeout: nil)Replace the sandbox inbound allowlist (updateSandboxInbound: PUT /v2/sandboxes/{sandbox_id}/inbound).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/inbound.rb:13public Map<String, Object> updateSandboxInbound(String sandboxId, Object body)ApiInboundReplace the sandbox inbound allowlist (updateSandboxInbound: PUT /v2/sandboxes/{sandbox_id}/inbound).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiInbound.java:17update_sandbox_network()
Section titled “update_sandbox_network()”def update_sandbox_network(self, sandbox_id: str, body: dict[str, Any]) -> dict[str, Any]SandboxesApiReplace the sandbox network policy (updateSandboxNetwork: PUT /v2/sandboxes/{sandbox_id}/network).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:13updateSandboxNetwork(sandboxId: string, body: Json): Promise<Json>SandboxesApiReplace the sandbox network policy (updateSandboxNetwork: PUT /v2/sandboxes/{sandbox_id}/network).
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-sandboxes.ts:9func (c *Client) UpdateSandboxNetwork(ctx context.Context, sandboxID string, body any) (map[string]any, error)UpdateSandboxNetwork replace the sandbox network policy (updateSandboxNetwork: PUT /v2/sandboxes/{sandbox_id}/network).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:12Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
update_team()
Section titled “update_team()”def update_team(self, team_id: str, body: dict[str, Any]) -> dict[str, Any]AccountApiRename a team (updateTeam: PATCH /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_account.py:53updateTeam(teamId: string, body: Json): Promise<Json>AccountApiRename a team (updateTeam: PATCH /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:59func (c *Client) UpdateTeam(ctx context.Context, teamID string, body any) (map[string]any, error)UpdateTeam rename a team (updateTeam: PATCH /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
teamID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_account.go:79def update_team(team_id, body:, request_timeout: nil)Rename a team (updateTeam: PATCH /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:54public Map<String, Object> updateTeam(String teamId, Object body)ApiAccountRename a team (updateTeam: PATCH /v2/teams/{team_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:57update_team_egress_proxy()
Section titled “update_team_egress_proxy()”def update_team_egress_proxy(self, body: dict[str, Any]) -> dict[str, Any]IdentityApiSet the team’s default customer egress proxy (updateTeamEgressProxy: PUT /v2/egress-proxy).
| Parameter | Type | Default |
|---|---|---|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_identity.py:25updateTeamEgressProxy(body: Json): Promise<Json>IdentityApiSet the team’s default customer egress proxy (updateTeamEgressProxy: PUT /v2/egress-proxy).
| Parameter | Type | Default |
|---|---|---|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-identity.ts:24func (c *Client) UpdateTeamEgressProxy(ctx context.Context, body any) (map[string]any, error)UpdateTeamEgressProxy set the team’s default customer egress proxy (updateTeamEgressProxy: PUT /v2/egress-proxy).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_identity.go:26def update_team_egress_proxy(body:, request_timeout: nil)Set the team’s default customer egress proxy (updateTeamEgressProxy: PUT /v2/egress-proxy).
| Parameter | Type | Default |
|---|---|---|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/identity.rb:23public Map<String, Object> updateTeamEgressProxy(Object body)ApiIdentitySet the team’s default customer egress proxy (updateTeamEgressProxy: PUT /v2/egress-proxy).
| Parameter | Type | Default |
|---|---|---|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiIdentity.java:27update_team_member()
Section titled “update_team_member()”def update_team_member(self, team_id: str, user_id: str, body: dict[str, Any]) -> dict[str, Any]AccountApiChange a member’s role (updateTeamMember: PATCH /v2/teams/{team_id}/members/{user_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
str |
|
user_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_account.py:65updateTeamMember(teamId: string, userId: string, body: Json): Promise<Json>AccountApiChange a member’s role (updateTeamMember: PATCH /v2/teams/{team_id}/members/{user_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
string |
|
userId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-account.ts:74func (c *Client) UpdateTeamMember(ctx context.Context, teamID string, userID string, body any) (map[string]any, error)UpdateTeamMember change a member’s role (updateTeamMember: PATCH /v2/teams/{team_id}/members/{user_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
teamID |
string |
|
userID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_account.go:111def update_team_member(team_id, user_id, body:, request_timeout: nil)Change a member’s role (updateTeamMember: PATCH /v2/teams/{team_id}/members/{user_id}).
| Parameter | Type | Default |
|---|---|---|
team_id |
||
user_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/account.rb:70public Map<String, Object> updateTeamMember(String teamId, String userId, Object body)ApiAccountChange a member’s role (updateTeamMember: PATCH /v2/teams/{team_id}/members/{user_id}).
| Parameter | Type | Default |
|---|---|---|
teamId |
String |
|
userId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiAccount.java:72update_template()
Section titled “update_template()”def update_template(self, template_id: str, body: dict[str, Any]) -> dict[str, Any]TemplatesApiRename a template or change its visibility (updateTemplate: PATCH /v2/templates/{template_id}).
| Parameter | Type | Default |
|---|---|---|
template_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_templates.py:17updateTemplate(templateId: string, body: Json): Promise<Json>TemplatesApiRename a template or change its visibility (updateTemplate: PATCH /v2/templates/{template_id}).
| Parameter | Type | Default |
|---|---|---|
templateId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-templates.ts:19func (c *Client) UpdateTemplate(ctx context.Context, templateID string, body any) (map[string]any, error)UpdateTemplate rename a template or change its visibility (updateTemplate: PATCH /v2/templates/{template_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
templateID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_templates.go:48def update_template(template_id, body:, request_timeout: nil)Rename a template or change its visibility (updateTemplate: PATCH /v2/templates/{template_id}).
| Parameter | Type | Default |
|---|---|---|
template_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/templates.rb:13public Map<String, Object> updateTemplate(String templateId, Object body)ApiTemplatesRename a template or change its visibility (updateTemplate: PATCH /v2/templates/{template_id}).
| Parameter | Type | Default |
|---|---|---|
templateId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiTemplates.java:17update_volume_file_metadata()
Section titled “update_volume_file_metadata()”def update_volume_file_metadata(self, volume_id: str, body: dict[str, Any], *, path: str) -> dict[str, Any]VolumeFilesApiChange the mode, owner or group of a file or directory on a volume (updateVolumeFileMetadata: PATCH /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
volume_id |
str |
|
body |
dict[str, Any] |
|
path |
str |
Returns dict[str, Any]
sdk/python/svm/api_volume_files.py:17updateVolumeFileMetadata(volumeId: string, body: Json, options: { path: string }): Promise<Json>VolumeFilesApiChange the mode, owner or group of a file or directory on a volume (updateVolumeFileMetadata: PATCH /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
volumeId |
string |
|
body |
Json |
|
options |
{ path: string } |
Returns Promise<Json>
sdk/typescript/src/api-volume-files.ts:14func (c *Client) UpdateVolumeFileMetadata(ctx context.Context, volumeID string, query UpdateVolumeFileMetadataQuery, body any) (map[string]any, error)UpdateVolumeFileMetadata change the mode, owner or group of a file or directory on a volume (updateVolumeFileMetadata: PATCH /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
volumeID |
string |
|
query |
UpdateVolumeFileMetadataQuery |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_volume_files.go:43def update_volume_file_metadata(volume_id, path: nil, body:, request_timeout: nil)Change the mode, owner or group of a file or directory on a volume (updateVolumeFileMetadata: PATCH /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
volume_id |
||
path |
nil |
|
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/volume_files.rb:14public Map<String, Object> updateVolumeFileMetadata(String volumeId, Map<String, ?> query, Object body)ApiVolumeFilesChange the mode, owner or group of a file or directory on a volume (updateVolumeFileMetadata: PATCH /v2/volumes/{volume_id}/files/entry).
| Parameter | Type | Default |
|---|---|---|
volumeId |
String |
|
query |
Map<String, ?> |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiVolumeFiles.java:17update_webhook()
Section titled “update_webhook()”def update_webhook(self, webhook_id: str, body: dict[str, Any]) -> dict[str, Any]ObservabilityApiUpdate or enable a webhook (updateWebhook: PATCH /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
webhook_id |
str |
|
body |
dict[str, Any] |
Returns dict[str, Any]
sdk/python/svm/api_observability.py:29updateWebhook(webhookId: string, body: Json): Promise<Json>ObservabilityApiUpdate or enable a webhook (updateWebhook: PATCH /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
webhookId |
string |
|
body |
Json |
Returns Promise<Json>
sdk/typescript/src/api-observability.ts:29func (c *Client) UpdateWebhook(ctx context.Context, webhookID string, body any) (map[string]any, error)UpdateWebhook update or enable a webhook (updateWebhook: PATCH /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
webhookID |
string |
|
body |
any |
Returns (map[string]any, error)
sdk/go/api_observability.go:69def update_webhook(webhook_id, body:, request_timeout: nil)Update or enable a webhook (updateWebhook: PATCH /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
webhook_id |
||
body |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/observability.rb:29public Map<String, Object> updateWebhook(String webhookId, Object body)ApiObservabilityUpdate or enable a webhook (updateWebhook: PATCH /v2/webhooks/{webhook_id}).
| Parameter | Type | Default |
|---|---|---|
webhookId |
String |
|
body |
Object |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiObservability.java:32upload_sandbox_file()
Section titled “upload_sandbox_file()”def upload_sandbox_file(self, sandbox_id: str, data: bytes, *, path: str, token: str, upload: str | None=None, offset: int | None=None, final: str | None=None, abort: str | None=None) -> dict[str, Any]SandboxesApiUpload through a signed URL (uploadSandboxFile: PUT /v2/sandboxes/{sandbox_id}/transfers): the file’s bytes go as the body; the answer is JSON.
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str |
|
data |
bytes |
|
path |
str |
|
token |
str |
|
upload |
str | None |
None |
offset |
int | None |
None |
final |
str | None |
None |
abort |
str | None |
None |
Returns dict[str, Any]
sdk/python/svm/api_sandboxes.py:33async uploadSandboxFile(sandboxId: string, data: Uint8Array, options: { path: string; token: string; upload?: string; offset?: number; final?: string; abort?: string }): Promise<Json>SandboxesApiUpload through a signed URL (uploadSandboxFile: PUT /v2/sandboxes/{sandbox_id}/transfers): the file’s bytes go as the body; the answer is JSON.
| Parameter | Type | Default |
|---|---|---|
sandboxId |
string |
|
data |
Uint8Array |
|
options |
{ path: string; token: string; upload?: string; offset?: number; final?: string; abort?: string } |
Returns Promise<Json>
sdk/typescript/src/api-sandboxes.ts:29func (c *Client) UploadSandboxFile(ctx context.Context, sandboxID string, query UploadSandboxFileQuery, data []byte) (map[string]any, error)UploadSandboxFile upload through a signed URL (uploadSandboxFile: PUT /v2/sandboxes/{sandbox_id}/transfers): the file’s bytes go as the body; the answer is JSON.
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
sandboxID |
string |
|
query |
UploadSandboxFileQuery |
|
data |
[]byte |
Returns (map[string]any, error)
sdk/go/api_sandboxes.go:87def upload_sandbox_file(sandbox_id, path: nil, token: nil, upload: nil, offset: nil, final: nil, abort: nil, data:, request_timeout: nil)Upload through a signed URL (uploadSandboxFile: PUT /v2/sandboxes/{sandbox_id}/transfers).
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
||
path |
nil |
|
token |
nil |
|
upload |
nil |
|
offset |
nil |
|
final |
nil |
|
abort |
nil |
|
data |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/sandboxes.rb:24public Map<String, Object> uploadSandboxFile(String sandboxId, Map<String, ?> query, byte[] body)ApiSandboxesUpload through a signed URL (uploadSandboxFile: PUT /v2/sandboxes/{sandbox_id}/transfers): the file’s bytes go as the body; the answer is JSON.
| Parameter | Type | Default |
|---|---|---|
sandboxId |
String |
|
query |
Map<String, ?> |
|
body |
byte[] |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiSandboxes.java:27verify_domain()
Section titled “verify_domain()”def verify_domain(self, domain: str) -> dict[str, Any]InboundApiCheck the TXT record and verify the domain (verifyDomain: POST /v2/domains/{domain}/verify).
| Parameter | Type | Default |
|---|---|---|
domain |
str |
Returns dict[str, Any]
sdk/python/svm/api_inbound.py:41verifyDomain(domain: string): Promise<Json>InboundApiCheck the TXT record and verify the domain (verifyDomain: POST /v2/domains/{domain}/verify).
| Parameter | Type | Default |
|---|---|---|
domain |
string |
Returns Promise<Json>
sdk/typescript/src/api-inbound.ts:44func (c *Client) VerifyDomain(ctx context.Context, domain string) (map[string]any, error)VerifyDomain check the TXT record and verify the domain (verifyDomain: POST /v2/domains/{domain}/verify).
| Parameter | Type | Default |
|---|---|---|
ctx |
context.Context |
|
domain |
string |
Returns (map[string]any, error)
sdk/go/api_inbound.go:64def verify_domain(domain, request_timeout: nil)Check the TXT record and verify the domain (verifyDomain: POST /v2/domains/{domain}/verify).
| Parameter | Type | Default |
|---|---|---|
domain |
||
request_timeout |
nil |
sdk/ruby/lib/svm/api/inbound.rb:44public Map<String, Object> verifyDomain(String domain)ApiInboundCheck the TXT record and verify the domain (verifyDomain: POST /v2/domains/{domain}/verify).
| Parameter | Type | Default |
|---|---|---|
domain |
String |
Returns Map<String, Object>
sdk/java/src/main/java/dev/svm/sandbox/ApiInbound.java:47volumes()
Section titled “volumes()”Not in the Python SDK’s SandboxClient.
Not in the TypeScript SDK’s SandboxClient.
func (c *Client) Volumes() *VolumesVolumes returns the volume factory.
Returns *Volumes
sdk/go/volume.go:53Not in the Ruby SDK’s Client.
Not in the Java SDK’s Api.
StreamApi
Section titled “StreamApi”Mixed into SandboxClient: needs base_url, timeout, retry, _auth_headers and _translate.
download_data_export()
Section titled “download_data_export()”def download_data_export(self, export_id: str, dest: 'str | os.PathLike[str] | BinaryIO') -> intSave a finished data export (downloadDataExport: GET /v2/me/export/{export_id}/download) and return its size. To a path the bytes go to <path>.part, renamed when complete, and a broken connection starts the download again. A caller’s stream cannot be rewound by the SDK, so once bytes have reached it a broken connection ends the call instead of appending a second attempt to them.
| Parameter | Type | Default |
|---|---|---|
export_id |
str |
|
dest |
'str | os.PathLike[str] | BinaryIO' |
Returns int
sdk/python/svm/event_stream.py:89Not in the TypeScript SDK.
Not in the Go SDK.
Not in the Ruby SDK.
Not in the Java SDK.
stream_events()
Section titled “stream_events()”def stream_events(self, *, sandbox_id: str | None=None, type: str | None=None, last_event_id: str | None=None) -> Iterator[dict[str, Any]]Lifecycle events as they happen (streamEvents: GET /v2/events/stream), until the iterator is closed. A broken or ended connection is opened again from the last event seen (Last-Event-ID), so none is lost. A quiet stream is kept: the server’s heartbeats (every 15 s) count as traffic, a read waits up to EVENT_STREAM_READ_TIMEOUT (45 s) whatever the request timeout, and any byte received resets the failure count. It gives up with the error only after the retry policy’s attempts in a row that brought nothing.
| Parameter | Type | Default |
|---|---|---|
sandbox_id |
str | None |
None |
type |
str | None |
None |
last_event_id |
str | None |
None |
Returns Iterator[dict[str, Any]]
sdk/python/svm/event_stream.py:56Not in the TypeScript SDK.
Not in the Go SDK.
Not in the Ruby SDK.
Not in the Java SDK.