sandbox

Named Linux sandbox that pauses instead of dying (files, packages and running processes survive). Actions: run, write_file, read_file, sync_from_store, sync_to_store, status, pause, kill, list. Auto-pauses after 1 idle minute. Free: 3 sandboxes, 60 run-minutes/day.

post/api/v1/sandbox

Request

  • Base URL: https://cloudforbots.com
  • URL: https://cloudforbots.com/api/v1/sandbox
  • Auth: HTTP bearer

Request body

action'run' | 'write_file' | 'read_file' | 'sync_from_store' | 'sync_to_store' | 'status' | 'pause' | 'kill' | 'list' required
namestring
nsstring
prefixstring
dirstring
secretsstring[]

run: secret names usable from code via $CFB_FETCH_URL + $CFB_FETCH_TOKEN (15 min); values never enter the sandbox

cmdstring
cwdstring
timeout_sinteger
backgroundboolean
pathstring
contentstring
content_base64string

Response

ok

Changes

No recorded changes to this operation across all 1 revision of this API.