Optionaloptions: { env?: string; host?: string; token?: string }ProtectedenvProtectedhostProtectedtokenCancel an in-progress spark deployment.
Optionalenv: SparkEnvdefaults to "dev" on the server if omitted
Create a new runtime.
Create a new spark (function or app).
Delete a runtime.
Delete a spark.
(Re)deploy a runtime.
Deploy a specific spark version to the dev environment.
Execute a deployed spark by name. Mirrors spark() but accepts the
full request shape (method/query/headers) — the exec route accepts
GET/POST/PATCH/PUT/DELETE.
Optionaldata: anyOptionaloptions: {Get a runtime by ref (name/uuid).
List all runtimes for the current project.
List all sparks for the current project.
Release a deployed spark version to the live/public environment.
Restart a running runtime.
Fetch logs for a runtime.
Optionalparams: RuntimeLogsParamsFetch logs for a spark.
Optionalparams: SparkLogsParamsGet the current project's spark tier (plan/quota).
Update a runtime's image/resources/env vars/tags.
Update a spark's memory/settings/env vars.
Sandbox client — spark (FaaS) functions/apps, long-running runtimes, and their K8s deployments. All routes go through the
sandbox/…gateway prefix (/luma/sandbox/v1/...), matching the sandbox service's REST surface (internal/controllers/{spark.go,spark.v1.go,runtime.v1.go}and the deployment lifecycle ininternal/controllers/ecomm/deployment.go).