Sandbox processes

Resize a process TTY

Resize a TTY-mode process's window.

PUT
/v1/sandboxes/{sandboxId}/processes/{ref}/resize

Resize a TTY-mode process's window.

AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Path Parameters

sandboxId*string

Sandbox ID (ULID)

ref*string

Process ULID or name

Query Parameters

resume?boolean

Wake a paused sandbox to serve this request

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

cols*integer

Terminal columns

Formatint32
Range1 <= value <= 65535
rows*integer

Terminal rows

Formatint32
Range1 <= value <= 65535

Response Body

application/problem+json

curl -X PUT "https://api-dev.tektona.ai/v1/sandboxes/string/processes/string/resize" \  -H "Content-Type: application/json" \  -d '{    "cols": 1,    "rows": 1  }'
Empty