v37

latestOpenAPI 3.1.0raw.githubusercontent.com2025-11-11200148.2 KB
Stacks

Reset sandbox with new tarball

Clears /workspace and extracts a new tarball into the sandbox. Use tarball_base64 and optional tarball_filename.

post/v1/stacks/{id}/reset

Path parameters

idstring required

Stack identifier

Example:stk_abc123

Request body

tarball_base64string required

Base64-encoded tarball content

tarball_filenamestring

Optional tarball filename

Example request

{
  "tarball_filename": "project.tar.gz"
}

Response

Sandbox reset completed

messagestring required
idstring