Skip to main content
Queued async code run creation, waiting, and cancellation are not part of the hosted private beta launch surface. Remote host-agent routing for queued code runs is not implemented yet, so use machine.run_code() or machine.code_interpreter.run_code() for hosted beta workloads.
list_runs() is available for read-only hosted beta inspection. The mutation snippets below document the queued-run API shape for local/self-hosted control planes that can route the assigned runtime host. They are not acceptance criteria for hosted private beta.

Future queued run mutations

Wait or cancel

List runs

Artifacts

list_artifacts() returns paginated raw artifact dictionaries. Use get_artifact() for a typed CodeArtifact, and use download_artifact() or preview_artifact() for bytes.