> ## Documentation Index
> Fetch the complete documentation index at: https://opensandbox-oc-s-762ac928075c46d2828bcb22.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Resize PTY

Resize a PTY session.

<Note>
  PTY resize is HTTP-only — not exposed in the TypeScript or Python SDKs. The SDKs handle resize automatically for interactive sessions.
</Note>

<ParamField path="id" type="string" required>
  Sandbox ID
</ParamField>

<ParamField path="sessionID" type="string" required>
  PTY session ID
</ParamField>

<ParamField body="cols" type="integer" required>
  New column count
</ParamField>

<ParamField body="rows" type="integer" required>
  New row count
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {}
  ```
</ResponseExample>
