> ## 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.

# Create PTY Session

Create an interactive terminal session.

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

<ParamField body="cols" type="integer">
  Terminal columns (default: `80`)
</ParamField>

<ParamField body="rows" type="integer">
  Terminal rows (default: `24`)
</ParamField>

<ParamField body="shell" type="string">
  Shell path (default: `/bin/bash`)
</ParamField>

<ResponseExample>
  ```json 201 theme={null}
  {
    "sessionID": "ps-abc123",
    "sandboxID": "sb-abc123"
  }
  ```
</ResponseExample>
