Stop a run
Callrun.stop() and wait for it to finish:
Resume a run
Callrun.resume() to create a sandbox from the saved snapshot and continue:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
run.stop() and wait for it to finish:
await run.stop();
run.resume() to create a sandbox from the saved snapshot and continue:
await run.resume();
for await (const event of run) {
console.log(event.type, event.summary);
}
console.log(run.id);
import Antigen from "@antigen/sdk";
const antigen = new Antigen(process.env.ANTIGEN_API_KEY);
const run = await antigen.runs.get("run_abc123");
await run.resume();
await run.resume();
await run.steer(
"The application now uses a separate identity provider for admin accounts.",
);