Command Palette
Search for a command to run

Execute code

Run code without managing a sandbox — Outpost picks or creates one automatically

POST
/auth/v1/seed/{namespace}/sandbox/execute

Submit code for synchronous execution without managing a sandbox lifecycle. Outpost selects or creates an appropriate sandbox, runs the code, and returns the result.

Path parameters


namespace
type: string
required
The namespace (user or organization) to execute in.

Body parameters


language
type: string
required
Runtime language (e.g., `python`, `node`, `rust`, `go`).
code
type: string
required
The code to execute.
deps
type: string[]
Dependencies to install before running.
resource_limits
type: object
Resource limits. Same fields as sandbox-level `resource_limits`.
sandbox_id
type: string
Reuse a specific existing sandbox instead of auto-selecting.

Previous Get a sandbox

Next Exec in sandbox