Sandboxes
Inspect the hosted compute behind runtimes, evaluations, optimization jobs, and training jobs with the dn sandbox CLI.
dn sandbox is the compute-inspection subcommand. Use it when you need to see or clean up the
actual hosted sandboxes behind platform workflows.
What the sandbox CLI is for
Section titled “What the sandbox CLI is for”Use it to:
- list running, paused, or killed sandboxes
- inspect one sandbox in detail
- fetch sandbox server logs
- see aggregate usage for the current organization
- delete a stuck or unwanted sandbox
dn sandbox list --state runningdn sandbox get <provider-sandbox-id>dn sandbox logs <provider-sandbox-id>dn sandbox usage --jsondn sandbox delete --yes <provider-sandbox-id>The identifier that matters
Section titled “The identifier that matters”The sandbox CLI expects the provider sandbox ID, not the internal database UUID.
List sandboxes
Section titled “List sandboxes”dn sandbox list --state runningdn sandbox list --state paused --state killeddn sandbox list --project-id 11111111-2222-3333-4444-555555555555dn sandbox list --jsonImportant details:
--stateis repeatable--project-iduses the explicit project UUID, not the project keysandbox listuses the active organization but does not infer a project filter unless you pass it
Get logs and usage
Section titled “Get logs and usage”dn sandbox logs <provider-sandbox-id>dn sandbox usagedn sandbox usage --jsonUse usage when you want the compute summary for the active organization rather than one sandbox.
Delete a sandbox
Section titled “Delete a sandbox”dn sandbox delete <provider-sandbox-id>dn sandbox delete --yes <provider-sandbox-id>Without --yes, the CLI will prompt for confirmation.
When to reach for this page
Section titled “When to reach for this page”If an evaluation, optimization job, training job, or runtime looks stuck, the sandbox CLI is often the fastest way to verify whether the underlying compute is still alive.