SandboxesProcesses

Resize a process TTY

Resize a TTY-mode process's window.

PUT
/v1/sandboxes/{sandboxIdOrName}/processes/{ref}/resize
AuthorizationBearer <token>

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

In: header

Path Parameters

sandboxIdOrName*string

Sandbox ID (ULID) or name

ref*string

Process ULID or name

Query Parameters

org?string

Required when the path names the sandbox by name.

project?string

Required when the path names the sandbox by name.

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://example.com/v1/sandboxes/string/processes/string/resize" \  -H "Content-Type: application/json" \  -d '{    "cols": 1,    "rows": 1  }'

No body.