Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.opencomputer.dev/llms.txt

Use this file to discover all available pages before exploring further.

Patches are scripts that run when a sandbox is spawned from a checkpoint.

oc patch create <checkpoint-id>

HTTP API →
--script
string
required
Path to script file, or - for stdin
--description
string
Patch description
oc patch create cp-xyz --script=./setup.sh --description="Install deps"
echo "apt install -y curl" | oc patch create cp-xyz --script=-

oc patch list <checkpoint-id>

HTTP API → Output columns: ID, SEQ, DESCRIPTION, STRATEGY, CREATED

oc patch delete <checkpoint-id> <patch-id>

HTTP API →