Skip to main content
POST
http://localhost:3000
/
file
curl -X POST http://localhost:3000/file \
  -H "Authorization: Bearer $ISOL8_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "sessionId": "session-123",
    "path": "/sandbox/input.txt",
    "content": "aGVsbG8K"
  }'
{ "ok": true }
Uploads a file into a persistent session container.
sessionId
string
required
Existing persistent session identifier.
path
string
required
Absolute target path inside the container.
content
string
required
Base64-encoded file content.
ok
boolean
true when upload succeeds.
curl -X POST http://localhost:3000/file \
  -H "Authorization: Bearer $ISOL8_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "sessionId": "session-123",
    "path": "/sandbox/input.txt",
    "content": "aGVsbG8K"
  }'
{ "ok": true }