template="code-interpreter" for the standard
Python environment.
Quick start
Contexts
Stream callbacks
machine.code_interpreter.run_code() directly when you need the full
callback surface:
create_run, get_run, cancel_run,
wait_for_run, and list_runs) are supported. Artifact helpers
(list_artifacts, get_artifact,
download_artifact, preview_artifact, and delete_artifact) are supported
for hosted beta run_code executions.
Concept: Exec. API reference:
executeCode, createCodeContext,
createCodeRun, and listCodeArtifacts.