Sandboxes

Attach an interactive terminal to a sandbox.

get/v1/sandboxes/{id}/terminal

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/sandboxes/{id}/terminal
  • Auth: HTTP bearer

Path parameters

idstring required

Sandbox public ID

Query parameters

tabstring

Tab to attach to (default "main"); reusing an id reattaches to the running program

cmdstring

Program to launch when the tab is created (default: login shell)

colsinteger

Initial columns (default 80)

rowsinteger

Initial rows (default 24)

Changes

No recorded changes to this operation across all 54 revisions of this API.