Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

[skip ci] Release new versions

github-actions[bot]67f52305328c
diff --git a/.changeset/cuddly-buckets-tie.md b/.changeset/cuddly-buckets-tie.md
deleted file mode 100644
index 8fa129e8a..000000000
--- a/.changeset/cuddly-buckets-tie.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@e2b/python-sdk': patch
----
-
-Add support for passing proxy
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.0.4/messaging/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.0.4/messaging/page.mdx
index e816e6d3c..4b3c4ed9f 100644
--- a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.0.4/messaging/page.mdx
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.0.4/messaging/page.mdx
@@ -38,8 +38,6 @@ new Execution(
### text
-###### Get Signature
-
```ts
get text(): undefined | string
```
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/charts/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/charts/page.mdx
new file mode 100644
index 000000000..f3176d3b4
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/charts/page.mdx
@@ -0,0 +1,240 @@
+### ChartType
+
+Chart types
+
+#### Enumeration Members
+
+| Enumeration Member | Value |
+| ------ | ------ |
+| `BAR` | `"bar"` |
+| `BOX_AND_WHISKER` | `"box_and_whisker"` |
+| `LINE` | `"line"` |
+| `PIE` | `"pie"` |
+| `SCATTER` | `"scatter"` |
+| `SUPERCHART` | `"superchart"` |
+| `UNKNOWN` | `"unknown"` |
+
+***
+
+### ScaleType
+
+Ax scale types
+
+#### Enumeration Members
+
+| Enumeration Member | Value |
+| ------ | ------ |
+| `ASINH` | `"asinh"` |
+| `CATEGORICAL` | `"categorical"` |
+| `DATETIME` | `"datetime"` |
+| `FUNCTION` | `"function"` |
+| `FUNCTIONLOG` | `"functionlog"` |
+| `LINEAR` | `"linear"` |
+| `LOG` | `"log"` |
+| `LOGIT` | `"logit"` |
+| `SYMLOG` | `"symlog"` |
+
+## Type Aliases
+
+### BarChart
+
+```ts
+type BarChart: Chart2D & object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `elements` | `BarData`[] |
+| `type` | `ChartType.BAR` |
+
+***
+
+### BarData
+
+```ts
+type BarData: object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `group` | `string` |
+| `label` | `string` |
+| `value` | `string` |
+
+***
+
+### BoxAndWhiskerChart
+
+```ts
+type BoxAndWhiskerChart: Chart2D & object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `elements` | `BoxAndWhiskerData`[] |
+| `type` | `ChartType.BOX_AND_WHISKER` |
+
+***
+
+### BoxAndWhiskerData
+
+```ts
+type BoxAndWhiskerData: object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `first_quartile` | `number` |
+| `label` | `string` |
+| `max` | `number` |
+| `median` | `number` |
+| `min` | `number` |
+| `outliers` | `number`[] |
+| `third_quartile` | `number` |
+
+***
+
+### Chart
+
+```ts
+type Chart: object;
+```
+
+Represents a chart.
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `elements` | `any`[] |
+| `title` | `string` |
+| `type` | `ChartType` |
+
+***
+
+### ChartTypes
+
+```ts
+type ChartTypes:
+ | LineChart
+ | ScatterChart
+ | BarChart
+ | PieChart
+ | BoxAndWhiskerChart
+ | SuperChart;
+```
+
+***
+
+### LineChart
+
+```ts
+type LineChart: PointChart & object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `type` | `ChartType.LINE` |
+
+***
+
+### PieChart
+
+```ts
+type PieChart: Chart & object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `elements` | `PieData`[] |
+| `type` | `ChartType.PIE` |
+
+***
+
+### PieData
+
+```ts
+type PieData: object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `angle` | `number` |
+| `label` | `string` |
+| `radius` | `number` |
+
+***
+
+### PointData
+
+```ts
+type PointData: object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `label` | `string` |
+| `points` | [`number` \| `string`, `number` \| `string`][] |
+
+***
+
+### ScatterChart
+
+```ts
+type ScatterChart: PointChart & object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `type` | `ChartType.SCATTER` |
+
+***
+
+### SuperChart
+
+```ts
+type SuperChart: Chart & object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `elements` | `Chart`[] |
+| `type` | `ChartType.SUPERCHART` |
+
+## Functions
+
+### deserializeChart()
+
+```ts
+function deserializeChart(data: any): Chart
+```
+
+#### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `data` | `any` |
+
+#### Returns
+
+`Chart`
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/consts/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/consts/page.mdx
new file mode 100644
index 000000000..d1ee2e76a
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/consts/page.mdx
@@ -0,0 +1,13 @@
+### DEFAULT\_TIMEOUT\_MS
+
+```ts
+const DEFAULT_TIMEOUT_MS: 60000 = 60_000;
+```
+
+***
+
+### JUPYTER\_PORT
+
+```ts
+const JUPYTER_PORT: 49999 = 49999;
+```
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/index/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/index/page.mdx
new file mode 100644
index 000000000..dc55fcc7d
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/index/page.mdx
@@ -0,0 +1,103 @@
+### BarChart
+
+Re-exports BarChart
+
+### BarData
+
+Re-exports BarData
+
+### BoxAndWhiskerChart
+
+Re-exports BoxAndWhiskerChart
+
+### BoxAndWhiskerData
+
+Re-exports BoxAndWhiskerData
+
+### Chart
+
+Re-exports Chart
+
+### ChartType
+
+Re-exports ChartType
+
+### ChartTypes
+
+Re-exports ChartTypes
+
+### Context
+
+Re-exports Context
+
+### CreateCodeContextOpts
+
+Re-exports CreateCodeContextOpts
+
+### default
+
+Renames and re-exports Sandbox
+
+### Execution
+
+Re-exports Execution
+
+### ExecutionError
+
+Re-exports ExecutionError
+
+### LineChart
+
+Re-exports LineChart
+
+### Logs
+
+Re-exports Logs
+
+### MIMEType
+
+Re-exports MIMEType
+
+### OutputMessage
+
+Re-exports OutputMessage
+
+### PieChart
+
+Re-exports PieChart
+
+### PieData
+
+Re-exports PieData
+
+### PointData
+
+Re-exports PointData
+
+### RawData
+
+Re-exports RawData
+
+### Result
+
+Re-exports Result
+
+### RunCodeOpts
+
+Re-exports RunCodeOpts
+
+### Sandbox
+
+Re-exports Sandbox
+
+### ScaleType
+
+Re-exports ScaleType
+
+### ScatterChart
+
+Re-exports ScatterChart
+
+### SuperChart
+
+Re-exports SuperChart
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/messaging/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/messaging/page.mdx
new file mode 100644
index 000000000..4b3c4ed9f
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/messaging/page.mdx
@@ -0,0 +1,326 @@
+### Execution
+
+Represents the result of a cell execution.
+
+#### Constructors
+
+```ts
+new Execution(
+ results: Result[],
+ logs: Logs,
+ error?: ExecutionError,
+ executionCount?: number): Execution
+```
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). |
+| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. |
+| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. |
+| `executionCount`? | `number` | `undefined` | Execution count of the cell. |
+
+###### Returns
+
+`Execution`
+
+#### Properties
+
+| Property | Modifier | Type | Default value | Description |
+| ------ | ------ | ------ | ------ | ------ |
+| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. |
+| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. |
+| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. |
+| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). |
+
+#### Accessors
+
+### text
+
+```ts
+get text(): undefined | string
+```
+
+Returns the text representation of the main result of the cell.
+
+###### Returns
+
+`undefined` \| `string`
+
+#### Methods
+
+### toJSON()
+
+```ts
+toJSON(): object
+```
+
+Returns the serializable representation of the execution result.
+
+###### Returns
+
+`object`
+
+| Name | Type |
+| ------ | ------ |
+| `error` | `undefined` \| `ExecutionError` |
+| `logs` | `Logs` |
+| `results` | `Result`[] |
+
+***
+
+### ExecutionError
+
+Represents an error that occurred during the execution of a cell.
+The error contains the name of the error, the value of the error, and the traceback.
+
+#### Constructors
+
+```ts
+new ExecutionError(
+ name: string,
+ value: string,
+ traceback: string): ExecutionError
+```
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `name` | `string` | Name of the error. |
+| `value` | `string` | Value of the error. |
+| `traceback` | `string` | The raw traceback of the error. |
+
+###### Returns
+
+`ExecutionError`
+
+#### Properties
+
+| Property | Modifier | Type | Description |
+| ------ | ------ | ------ | ------ |
+| `name` | `public` | `string` | Name of the error. |
+| `traceback` | `public` | `string` | The raw traceback of the error. |
+| `value` | `public` | `string` | Value of the error. |
+
+***
+
+### OutputMessage
+
+Represents an output message from the sandbox code execution.
+
+#### Constructors
+
+```ts
+new OutputMessage(
+ line: string,
+ timestamp: number,
+ error: boolean): OutputMessage
+```
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `line` | `string` | The output line. |
+| `timestamp` | `number` | Unix epoch in nanoseconds. |
+| `error` | `boolean` | Whether the output is an error. |
+
+###### Returns
+
+`OutputMessage`
+
+#### Properties
+
+| Property | Modifier | Type | Description |
+| ------ | ------ | ------ | ------ |
+| `error` | `readonly` | `boolean` | Whether the output is an error. |
+| `line` | `readonly` | `string` | The output line. |
+| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. |
+
+#### Methods
+
+### toString()
+
+```ts
+toString(): string
+```
+
+###### Returns
+
+`string`
+
+***
+
+### Result
+
+Represents the data to be displayed as a result of executing a cell in a Jupyter notebook.
+The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics
+
+The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented
+as a string, and the result can contain multiple types of data. The display calls don't have to have text representation,
+for the actual result the representation is always present for the result, the other representations are always optional.
+
+#### Constructors
+
+```ts
+new Result(rawData: RawData, isMainResult: boolean): Result
+```
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `rawData` | `RawData` |
+| `isMainResult` | `boolean` |
+
+###### Returns
+
+`Result`
+
+#### Properties
+
+| Property | Modifier | Type | Description |
+| ------ | ------ | ------ | ------ |
+| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. |
+| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. |
+| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. |
+| `html?` | `readonly` | `string` | HTML representation of the data. |
+| `isMainResult` | `readonly` | `boolean` | - |
+| `javascript?` | `readonly` | `string` | JavaScript representation of the data. |
+| `jpeg?` | `readonly` | `string` | JPEG representation of the data. |
+| `json?` | `readonly` | `string` | JSON representation of the data. |
+| `latex?` | `readonly` | `string` | LaTeX representation of the data. |
+| `markdown?` | `readonly` | `string` | Markdown representation of the data. |
+| `pdf?` | `readonly` | `string` | PDF representation of the data. |
+| `png?` | `readonly` | `string` | PNG representation of the data. |
+| `raw` | `readonly` | `RawData` | - |
+| `svg?` | `readonly` | `string` | SVG representation of the data. |
+| `text?` | `readonly` | `string` | Text representation of the result. |
+
+#### Methods
+
+### formats()
+
+```ts
+formats(): string[]
+```
+
+Returns all the formats available for the result.
+
+###### Returns
+
+`string`[]
+
+Array of strings representing the formats available for the result.
+
+### toJSON()
+
+```ts
+toJSON(): object
+```
+
+Returns the serializable representation of the result.
+
+###### Returns
+
+`object`
+
+| Name | Type |
+| ------ | ------ |
+| `extra`? | `any` |
+| `html` | `undefined` \| `string` |
+| `javascript` | `undefined` \| `string` |
+| `jpeg` | `undefined` \| `string` |
+| `json` | `undefined` \| `string` |
+| `latex` | `undefined` \| `string` |
+| `markdown` | `undefined` \| `string` |
+| `pdf` | `undefined` \| `string` |
+| `png` | `undefined` \| `string` |
+| `svg` | `undefined` \| `string` |
+| `text` | `undefined` \| `string` |
+
+## Type Aliases
+
+### Logs
+
+```ts
+type Logs: object;
+```
+
+Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc.
+
+#### Type declaration
+
+| Name | Type | Description |
+| ------ | ------ | ------ |
+| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. |
+| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. |
+
+***
+
+### MIMEType
+
+```ts
+type MIMEType: string;
+```
+
+Represents a MIME type.
+
+***
+
+### RawData
+
+```ts
+type RawData: object & E2BData;
+```
+
+Dictionary that maps MIME types to their corresponding representations of the data.
+
+## Functions
+
+### extractError()
+
+```ts
+function extractError(res: Response): Promise<undefined | SandboxError>
+```
+
+#### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `res` | `Response` |
+
+#### Returns
+
+`Promise`\<`undefined` \| `SandboxError`\>
+
+***
+
+### parseOutput()
+
+```ts
+function parseOutput(
+ execution: Execution,
+ line: string,
+ onStdout?: (output: OutputMessage) => any,
+ onStderr?: (output: OutputMessage) => any,
+ onResult?: (data: Result) => any,
+onError?: (error: ExecutionError) => any): Promise<void>
+```
+
+#### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `execution` | `Execution` |
+| `line` | `string` |
+| `onStdout`? | (`output`: `OutputMessage`) => `any` |
+| `onStderr`? | (`output`: `OutputMessage`) => `any` |
+| `onResult`? | (`data`: `Result`) => `any` |
+| `onError`? | (`error`: `ExecutionError`) => `any` |
+
+#### Returns
+
+`Promise`\<`void`\>
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/sandbox/page.mdx
new file mode 100644
index 000000000..96eafec57
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.0/sandbox/page.mdx
@@ -0,0 +1,312 @@
+### Sandbox
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs here.
+
+Use Sandbox.create to create a new sandbox.
+
+#### Example
+
+```ts
+import { Sandbox } from '@e2b/code-interpreter'
+
+const sandbox = await Sandbox.create()
+```
+
+#### Methods
+
+### createCodeContext()
+
+```ts
+createCodeContext(opts?: CreateCodeContextOpts): Promise<Context>
+```
+
+Creates a new context to run code in.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `opts`? | `CreateCodeContextOpts` | options for creating the context. |
+
+###### Returns
+
+`Promise`\<`Context`\>
+
+context object.
+
+### runCode()
+
+###### runCode(code, opts)
+
+```ts
+runCode(code: string, opts?: RunCodeOpts & object): Promise<Execution>
+```
+
+Run the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `code` | `string` | code to execute. |
+| `opts`? | `RunCodeOpts` & `object` | options for executing the code. |
+
+###### Returns
+
+`Promise`\<`Execution`\>
+
+`Execution` result object.
+
+###### runCode(code, opts)
+
+```ts
+runCode(code: string, opts?: RunCodeOpts & object): Promise<Execution>
+```
+
+Run the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `code` | `string` | code to execute. |
+| `opts`? | `RunCodeOpts` & `object` | options for executing the code. |
+
+###### Returns
+
+`Promise`\<`Execution`\>
+
+`Execution` result object.
+
+###### runCode(code, opts)
+
+```ts
+runCode(code: string, opts?: RunCodeOpts & object): Promise<Execution>
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `code` | `string` | code to execute. |
+| `opts`? | `RunCodeOpts` & `object` | options for executing the code |
+
+###### Returns
+
+`Promise`\<`Execution`\>
+
+`Execution` result object
+
+## Interfaces
+
+### CreateCodeContextOpts
+
+Options for creating a code context.
+
+#### Properties
+
+### cwd?
+
+```ts
+optional cwd: string;
+```
+
+Working directory for the context.
+
+###### Default
+
+```ts
+/home/user
+```
+
+### language?
+
+```ts
+optional language: string;
+```
+
+Language for the context.
+
+###### Default
+
+```ts
+python
+```
+
+### requestTimeoutMs?
+
+```ts
+optional requestTimeoutMs: number;
+```
+
+Timeout for the request in **milliseconds**.
+
+###### Default
+
+```ts
+30_000 // 30 seconds
+```
+
+***
+
+### RunCodeOpts
+
+Options for running code.
+
+#### Properties
+
+### envs?
+
+```ts
+optional envs: Record<string, string>;
+```
+
+Custom environment variables for code execution.
+
+###### Default
+
+```ts
+{}
+```
+
+### onError()?
+
+```ts
+optional onError: (error: ExecutionError) => any;
+```
+
+Callback for handling the `ExecutionError` object.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `error` | `ExecutionError` |
+
+###### Returns
+
+`any`
+
+### onResult()?
+
+```ts
+optional onResult: (data: Result) => any;
+```
+
+Callback for handling the final execution result.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `data` | `Result` |
+
+###### Returns
+
+`any`
+
+### onStderr()?
+
+```ts
+optional onStderr: (output: OutputMessage) => any;
+```
+
+Callback for handling stderr messages.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `output` | `OutputMessage` |
+
+###### Returns
+
+`any`
+
+### onStdout()?
+
+```ts
+optional onStdout: (output: OutputMessage) => any;
+```
+
+Callback for handling stdout messages.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `output` | `OutputMessage` |
+
+###### Returns
+
+`any`
+
+### requestTimeoutMs?
+
+```ts
+optional requestTimeoutMs: number;
+```
+
+Timeout for the request in **milliseconds**.
+
+###### Default
+
+```ts
+30_000 // 30 seconds
+```
+
+### timeoutMs?
+
+```ts
+optional timeoutMs: number;
+```
+
+Timeout for the code execution in **milliseconds**.
+
+###### Default
+
+```ts
+60_000 // 60 seconds
+```
+
+## Type Aliases
+
+### Context
+
+```ts
+type Context: object;
+```
+
+Represents a context for code execution.
+
+#### Type declaration
+
+| Name | Type | Description |
+| ------ | ------ | ------ |
+| `cwd` | `string` | The working directory of the context. |
+| `id` | `string` | The ID of the context. |
+| `language` | `string` | The language of the context. |
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/charts/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/charts/page.mdx
new file mode 100644
index 000000000..f3176d3b4
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/charts/page.mdx
@@ -0,0 +1,240 @@
+### ChartType
+
+Chart types
+
+#### Enumeration Members
+
+| Enumeration Member | Value |
+| ------ | ------ |
+| `BAR` | `"bar"` |
+| `BOX_AND_WHISKER` | `"box_and_whisker"` |
+| `LINE` | `"line"` |
+| `PIE` | `"pie"` |
+| `SCATTER` | `"scatter"` |
+| `SUPERCHART` | `"superchart"` |
+| `UNKNOWN` | `"unknown"` |
+
+***
+
+### ScaleType
+
+Ax scale types
+
+#### Enumeration Members
+
+| Enumeration Member | Value |
+| ------ | ------ |
+| `ASINH` | `"asinh"` |
+| `CATEGORICAL` | `"categorical"` |
+| `DATETIME` | `"datetime"` |
+| `FUNCTION` | `"function"` |
+| `FUNCTIONLOG` | `"functionlog"` |
+| `LINEAR` | `"linear"` |
+| `LOG` | `"log"` |
+| `LOGIT` | `"logit"` |
+| `SYMLOG` | `"symlog"` |
+
+## Type Aliases
+
+### BarChart
+
+```ts
+type BarChart: Chart2D & object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `elements` | `BarData`[] |
+| `type` | `ChartType.BAR` |
+
+***
+
+### BarData
+
+```ts
+type BarData: object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `group` | `string` |
+| `label` | `string` |
+| `value` | `string` |
+
+***
+
+### BoxAndWhiskerChart
+
+```ts
+type BoxAndWhiskerChart: Chart2D & object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `elements` | `BoxAndWhiskerData`[] |
+| `type` | `ChartType.BOX_AND_WHISKER` |
+
+***
+
+### BoxAndWhiskerData
+
+```ts
+type BoxAndWhiskerData: object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `first_quartile` | `number` |
+| `label` | `string` |
+| `max` | `number` |
+| `median` | `number` |
+| `min` | `number` |
+| `outliers` | `number`[] |
+| `third_quartile` | `number` |
+
+***
+
+### Chart
+
+```ts
+type Chart: object;
+```
+
+Represents a chart.
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `elements` | `any`[] |
+| `title` | `string` |
+| `type` | `ChartType` |
+
+***
+
+### ChartTypes
+
+```ts
+type ChartTypes:
+ | LineChart
+ | ScatterChart
+ | BarChart
+ | PieChart
+ | BoxAndWhiskerChart
+ | SuperChart;
+```
+
+***
+
+### LineChart
+
+```ts
+type LineChart: PointChart & object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `type` | `ChartType.LINE` |
+
+***
+
+### PieChart
+
+```ts
+type PieChart: Chart & object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `elements` | `PieData`[] |
+| `type` | `ChartType.PIE` |
+
+***
+
+### PieData
+
+```ts
+type PieData: object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `angle` | `number` |
+| `label` | `string` |
+| `radius` | `number` |
+
+***
+
+### PointData
+
+```ts
+type PointData: object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `label` | `string` |
+| `points` | [`number` \| `string`, `number` \| `string`][] |
+
+***
+
+### ScatterChart
+
+```ts
+type ScatterChart: PointChart & object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `type` | `ChartType.SCATTER` |
+
+***
+
+### SuperChart
+
+```ts
+type SuperChart: Chart & object;
+```
+
+#### Type declaration
+
+| Name | Type |
+| ------ | ------ |
+| `elements` | `Chart`[] |
+| `type` | `ChartType.SUPERCHART` |
+
+## Functions
+
+### deserializeChart()
+
+```ts
+function deserializeChart(data: any): Chart
+```
+
+#### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `data` | `any` |
+
+#### Returns
+
+`Chart`
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/consts/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/consts/page.mdx
new file mode 100644
index 000000000..d1ee2e76a
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/consts/page.mdx
@@ -0,0 +1,13 @@
+### DEFAULT\_TIMEOUT\_MS
+
+```ts
+const DEFAULT_TIMEOUT_MS: 60000 = 60_000;
+```
+
+***
+
+### JUPYTER\_PORT
+
+```ts
+const JUPYTER_PORT: 49999 = 49999;
+```
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/index/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/index/page.mdx
new file mode 100644
index 000000000..dc55fcc7d
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/index/page.mdx
@@ -0,0 +1,103 @@
+### BarChart
+
+Re-exports BarChart
+
+### BarData
+
+Re-exports BarData
+
+### BoxAndWhiskerChart
+
+Re-exports BoxAndWhiskerChart
+
+### BoxAndWhiskerData
+
+Re-exports BoxAndWhiskerData
+
+### Chart
+
+Re-exports Chart
+
+### ChartType
+
+Re-exports ChartType
+
+### ChartTypes
+
+Re-exports ChartTypes
+
+### Context
+
+Re-exports Context
+
+### CreateCodeContextOpts
+
+Re-exports CreateCodeContextOpts
+
+### default
+
+Renames and re-exports Sandbox
+
+### Execution
+
+Re-exports Execution
+
+### ExecutionError
+
+Re-exports ExecutionError
+
+### LineChart
+
+Re-exports LineChart
+
+### Logs
+
+Re-exports Logs
+
+### MIMEType
+
+Re-exports MIMEType
+
+### OutputMessage
+
+Re-exports OutputMessage
+
+### PieChart
+
+Re-exports PieChart
+
+### PieData
+
+Re-exports PieData
+
+### PointData
+
+Re-exports PointData
+
+### RawData
+
+Re-exports RawData
+
+### Result
+
+Re-exports Result
+
+### RunCodeOpts
+
+Re-exports RunCodeOpts
+
+### Sandbox
+
+Re-exports Sandbox
+
+### ScaleType
+
+Re-exports ScaleType
+
+### ScatterChart
+
+Re-exports ScatterChart
+
+### SuperChart
+
+Re-exports SuperChart
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/messaging/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/messaging/page.mdx
new file mode 100644
index 000000000..4b3c4ed9f
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/messaging/page.mdx
@@ -0,0 +1,326 @@
+### Execution
+
+Represents the result of a cell execution.
+
+#### Constructors
+
+```ts
+new Execution(
+ results: Result[],
+ logs: Logs,
+ error?: ExecutionError,
+ executionCount?: number): Execution
+```
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). |
+| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. |
+| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. |
+| `executionCount`? | `number` | `undefined` | Execution count of the cell. |
+
+###### Returns
+
+`Execution`
+
+#### Properties
+
+| Property | Modifier | Type | Default value | Description |
+| ------ | ------ | ------ | ------ | ------ |
+| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. |
+| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. |
+| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. |
+| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). |
+
+#### Accessors
+
+### text
+
+```ts
+get text(): undefined | string
+```
+
+Returns the text representation of the main result of the cell.
+
+###### Returns
+
+`undefined` \| `string`
+
+#### Methods
+
+### toJSON()
+
+```ts
+toJSON(): object
+```
+
+Returns the serializable representation of the execution result.
+
+###### Returns
+
+`object`
+
+| Name | Type |
+| ------ | ------ |
+| `error` | `undefined` \| `ExecutionError` |
+| `logs` | `Logs` |
+| `results` | `Result`[] |
+
+***
+
+### ExecutionError
+
+Represents an error that occurred during the execution of a cell.
+The error contains the name of the error, the value of the error, and the traceback.
+
+#### Constructors
+
+```ts
+new ExecutionError(
+ name: string,
+ value: string,
+ traceback: string): ExecutionError
+```
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `name` | `string` | Name of the error. |
+| `value` | `string` | Value of the error. |
+| `traceback` | `string` | The raw traceback of the error. |
+
+###### Returns
+
+`ExecutionError`
+
+#### Properties
+
+| Property | Modifier | Type | Description |
+| ------ | ------ | ------ | ------ |
+| `name` | `public` | `string` | Name of the error. |
+| `traceback` | `public` | `string` | The raw traceback of the error. |
+| `value` | `public` | `string` | Value of the error. |
+
+***
+
+### OutputMessage
+
+Represents an output message from the sandbox code execution.
+
+#### Constructors
+
+```ts
+new OutputMessage(
+ line: string,
+ timestamp: number,
+ error: boolean): OutputMessage
+```
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `line` | `string` | The output line. |
+| `timestamp` | `number` | Unix epoch in nanoseconds. |
+| `error` | `boolean` | Whether the output is an error. |
+
+###### Returns
+
+`OutputMessage`
+
+#### Properties
+
+| Property | Modifier | Type | Description |
+| ------ | ------ | ------ | ------ |
+| `error` | `readonly` | `boolean` | Whether the output is an error. |
+| `line` | `readonly` | `string` | The output line. |
+| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. |
+
+#### Methods
+
+### toString()
+
+```ts
+toString(): string
+```
+
+###### Returns
+
+`string`
+
+***
+
+### Result
+
+Represents the data to be displayed as a result of executing a cell in a Jupyter notebook.
+The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics
+
+The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented
+as a string, and the result can contain multiple types of data. The display calls don't have to have text representation,
+for the actual result the representation is always present for the result, the other representations are always optional.
+
+#### Constructors
+
+```ts
+new Result(rawData: RawData, isMainResult: boolean): Result
+```
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `rawData` | `RawData` |
+| `isMainResult` | `boolean` |
+
+###### Returns
+
+`Result`
+
+#### Properties
+
+| Property | Modifier | Type | Description |
+| ------ | ------ | ------ | ------ |
+| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. |
+| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. |
+| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. |
+| `html?` | `readonly` | `string` | HTML representation of the data. |
+| `isMainResult` | `readonly` | `boolean` | - |
+| `javascript?` | `readonly` | `string` | JavaScript representation of the data. |
+| `jpeg?` | `readonly` | `string` | JPEG representation of the data. |
+| `json?` | `readonly` | `string` | JSON representation of the data. |
+| `latex?` | `readonly` | `string` | LaTeX representation of the data. |
+| `markdown?` | `readonly` | `string` | Markdown representation of the data. |
+| `pdf?` | `readonly` | `string` | PDF representation of the data. |
+| `png?` | `readonly` | `string` | PNG representation of the data. |
+| `raw` | `readonly` | `RawData` | - |
+| `svg?` | `readonly` | `string` | SVG representation of the data. |
+| `text?` | `readonly` | `string` | Text representation of the result. |
+
+#### Methods
+
+### formats()
+
+```ts
+formats(): string[]
+```
+
+Returns all the formats available for the result.
+
+###### Returns
+
+`string`[]
+
+Array of strings representing the formats available for the result.
+
+### toJSON()
+
+```ts
+toJSON(): object
+```
+
+Returns the serializable representation of the result.
+
+###### Returns
+
+`object`
+
+| Name | Type |
+| ------ | ------ |
+| `extra`? | `any` |
+| `html` | `undefined` \| `string` |
+| `javascript` | `undefined` \| `string` |
+| `jpeg` | `undefined` \| `string` |
+| `json` | `undefined` \| `string` |
+| `latex` | `undefined` \| `string` |
+| `markdown` | `undefined` \| `string` |
+| `pdf` | `undefined` \| `string` |
+| `png` | `undefined` \| `string` |
+| `svg` | `undefined` \| `string` |
+| `text` | `undefined` \| `string` |
+
+## Type Aliases
+
+### Logs
+
+```ts
+type Logs: object;
+```
+
+Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc.
+
+#### Type declaration
+
+| Name | Type | Description |
+| ------ | ------ | ------ |
+| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. |
+| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. |
+
+***
+
+### MIMEType
+
+```ts
+type MIMEType: string;
+```
+
+Represents a MIME type.
+
+***
+
+### RawData
+
+```ts
+type RawData: object & E2BData;
+```
+
+Dictionary that maps MIME types to their corresponding representations of the data.
+
+## Functions
+
+### extractError()
+
+```ts
+function extractError(res: Response): Promise<undefined | SandboxError>
+```
+
+#### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `res` | `Response` |
+
+#### Returns
+
+`Promise`\<`undefined` \| `SandboxError`\>
+
+***
+
+### parseOutput()
+
+```ts
+function parseOutput(
+ execution: Execution,
+ line: string,
+ onStdout?: (output: OutputMessage) => any,
+ onStderr?: (output: OutputMessage) => any,
+ onResult?: (data: Result) => any,
+onError?: (error: ExecutionError) => any): Promise<void>
+```
+
+#### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `execution` | `Execution` |
+| `line` | `string` |
+| `onStdout`? | (`output`: `OutputMessage`) => `any` |
+| `onStderr`? | (`output`: `OutputMessage`) => `any` |
+| `onResult`? | (`data`: `Result`) => `any` |
+| `onError`? | (`error`: `ExecutionError`) => `any` |
+
+#### Returns
+
+`Promise`\<`void`\>
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/sandbox/page.mdx
new file mode 100644
index 000000000..96eafec57
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-js-sdk/v1.1.1/sandbox/page.mdx
@@ -0,0 +1,312 @@
+### Sandbox
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs here.
+
+Use Sandbox.create to create a new sandbox.
+
+#### Example
+
+```ts
+import { Sandbox } from '@e2b/code-interpreter'
+
+const sandbox = await Sandbox.create()
+```
+
+#### Methods
+
+### createCodeContext()
+
+```ts
+createCodeContext(opts?: CreateCodeContextOpts): Promise<Context>
+```
+
+Creates a new context to run code in.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `opts`? | `CreateCodeContextOpts` | options for creating the context. |
+
+###### Returns
+
+`Promise`\<`Context`\>
+
+context object.
+
+### runCode()
+
+###### runCode(code, opts)
+
+```ts
+runCode(code: string, opts?: RunCodeOpts & object): Promise<Execution>
+```
+
+Run the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `code` | `string` | code to execute. |
+| `opts`? | `RunCodeOpts` & `object` | options for executing the code. |
+
+###### Returns
+
+`Promise`\<`Execution`\>
+
+`Execution` result object.
+
+###### runCode(code, opts)
+
+```ts
+runCode(code: string, opts?: RunCodeOpts & object): Promise<Execution>
+```
+
+Run the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `code` | `string` | code to execute. |
+| `opts`? | `RunCodeOpts` & `object` | options for executing the code. |
+
+###### Returns
+
+`Promise`\<`Execution`\>
+
+`Execution` result object.
+
+###### runCode(code, opts)
+
+```ts
+runCode(code: string, opts?: RunCodeOpts & object): Promise<Execution>
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `code` | `string` | code to execute. |
+| `opts`? | `RunCodeOpts` & `object` | options for executing the code |
+
+###### Returns
+
+`Promise`\<`Execution`\>
+
+`Execution` result object
+
+## Interfaces
+
+### CreateCodeContextOpts
+
+Options for creating a code context.
+
+#### Properties
+
+### cwd?
+
+```ts
+optional cwd: string;
+```
+
+Working directory for the context.
+
+###### Default
+
+```ts
+/home/user
+```
+
+### language?
+
+```ts
+optional language: string;
+```
+
+Language for the context.
+
+###### Default
+
+```ts
+python
+```
+
+### requestTimeoutMs?
+
+```ts
+optional requestTimeoutMs: number;
+```
+
+Timeout for the request in **milliseconds**.
+
+###### Default
+
+```ts
+30_000 // 30 seconds
+```
+
+***
+
+### RunCodeOpts
+
+Options for running code.
+
+#### Properties
+
+### envs?
+
+```ts
+optional envs: Record<string, string>;
+```
+
+Custom environment variables for code execution.
+
+###### Default
+
+```ts
+{}
+```
+
+### onError()?
+
+```ts
+optional onError: (error: ExecutionError) => any;
+```
+
+Callback for handling the `ExecutionError` object.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `error` | `ExecutionError` |
+
+###### Returns
+
+`any`
+
+### onResult()?
+
+```ts
+optional onResult: (data: Result) => any;
+```
+
+Callback for handling the final execution result.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `data` | `Result` |
+
+###### Returns
+
+`any`
+
+### onStderr()?
+
+```ts
+optional onStderr: (output: OutputMessage) => any;
+```
+
+Callback for handling stderr messages.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `output` | `OutputMessage` |
+
+###### Returns
+
+`any`
+
+### onStdout()?
+
+```ts
+optional onStdout: (output: OutputMessage) => any;
+```
+
+Callback for handling stdout messages.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `output` | `OutputMessage` |
+
+###### Returns
+
+`any`
+
+### requestTimeoutMs?
+
+```ts
+optional requestTimeoutMs: number;
+```
+
+Timeout for the request in **milliseconds**.
+
+###### Default
+
+```ts
+30_000 // 30 seconds
+```
+
+### timeoutMs?
+
+```ts
+optional timeoutMs: number;
+```
+
+Timeout for the code execution in **milliseconds**.
+
+###### Default
+
+```ts
+60_000 // 60 seconds
+```
+
+## Type Aliases
+
+### Context
+
+```ts
+type Context: object;
+```
+
+Represents a context for code execution.
+
+#### Type declaration
+
+| Name | Type | Description |
+| ------ | ------ | ------ |
+| `cwd` | `string` | The working directory of the context. |
+| `id` | `string` | The ID of the context. |
+| `language` | `string` | The language of the context. |
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.0.3/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.0.3/sandbox/page.mdx
new file mode 100644
index 000000000..b73236142
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.0.3/sandbox/page.mdx
@@ -0,0 +1,722 @@
+
+
+
+
+
+
+
+## AsyncSandbox
+
+```python
+class AsyncSandbox(BaseAsyncSandbox)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `AsyncSandbox.create()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b_code_interpreter import AsyncSandbox
+sandbox = await AsyncSandbox.create()
+```
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ language: Union[Literal["python"], None] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ language: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ context: Optional[Context] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### create\_code\_context
+
+```python
+async def create_code_context(
+ cwd: Optional[str] = None,
+ language: Optional[str] = None,
+ request_timeout: Optional[float] = None) -> Context
+```
+
+Creates a new context to run code in.
+
+**Arguments**:
+
+- `cwd`: Set the current working directory for the context, defaults to `/home/user`
+- `language`: Language of the context. If not specified, defaults to Python
+- `request_timeout`: Timeout for the request in **milliseconds**
+
+**Returns**:
+
+Context object
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(BaseSandbox)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `Sandbox()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b_code_interpreter import Sandbox
+
+sandbox = Sandbox()
+```
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ language: Union[Literal["python"], None] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ language: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ context: Optional[Context] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### create\_code\_context
+
+```python
+def create_code_context(cwd: Optional[str] = None,
+ language: Optional[str] = None,
+ request_timeout: Optional[float] = None) -> Context
+```
+
+Creates a new context to run code in.
+
+**Arguments**:
+
+- `cwd`: Set the current working directory for the context, defaults to `/home/user`
+- `language`: Language of the context. If not specified, defaults to Python
+- `request_timeout`: Timeout for the request in **milliseconds**
+
+**Returns**:
+
+Context object
+
+
+
+
+
+
+## ChartType
+
+```python
+class ChartType(str, enum.Enum)
+```
+
+Chart types
+
+
+## ScaleType
+
+```python
+class ScaleType(str, enum.Enum)
+```
+
+Ax scale types
+
+
+## Chart
+
+```python
+class Chart()
+```
+
+Extracted data from a chart. It's useful for building an interactive charts or custom visualizations.
+
+
+
+
+## OutputMessage
+
+```python
+@dataclass
+class OutputMessage()
+```
+
+Represents an output message from the sandbox code execution.
+
+
+### line
+
+The output line.
+
+
+### timestamp
+
+Unix epoch in nanoseconds
+
+
+### error
+
+Whether the output is an error.
+
+
+## ExecutionError
+
+```python
+@dataclass
+class ExecutionError()
+```
+
+Represents an error that occurred during the execution of a cell.
+The error contains the name of the error, the value of the error, and the traceback.
+
+
+### name
+
+Name of the error.
+
+
+### value
+
+Value of the error.
+
+
+### traceback
+
+The raw traceback of the error.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Error object.
+
+
+## MIMEType
+
+```python
+class MIMEType(str)
+```
+
+Represents a MIME type.
+
+
+## Result
+
+```python
+@dataclass
+class Result()
+```
+
+Represents the data to be displayed as a result of executing a cell in a Jupyter notebook.
+The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics
+
+The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented
+as a string, and the result can contain multiple types of data. The display calls don't have to have text representation,
+for the actual result the representation is always present for the result, the other representations are always optional.
+
+
+### is\_main\_result
+
+Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell.
+
+
+### extra
+
+Extra data that can be included. Not part of the standard types.
+
+
+### formats
+
+```python
+def formats() -> Iterable[str]
+```
+
+Returns all available formats of the result.
+
+**Returns**:
+
+All available formats of the result in MIME types.
+
+
+### \_\_str\_\_
+
+```python
+def __str__() -> Optional[str]
+```
+
+Returns the text representation of the data.
+
+**Returns**:
+
+The text representation of the data.
+
+
+### \_repr\_html\_
+
+```python
+def _repr_html_() -> Optional[str]
+```
+
+Returns the HTML representation of the data.
+
+**Returns**:
+
+The HTML representation of the data.
+
+
+### \_repr\_markdown\_
+
+```python
+def _repr_markdown_() -> Optional[str]
+```
+
+Returns the Markdown representation of the data.
+
+**Returns**:
+
+The Markdown representation of the data.
+
+
+### \_repr\_svg\_
+
+```python
+def _repr_svg_() -> Optional[str]
+```
+
+Returns the SVG representation of the data.
+
+**Returns**:
+
+The SVG representation of the data.
+
+
+### \_repr\_png\_
+
+```python
+def _repr_png_() -> Optional[str]
+```
+
+Returns the base64 representation of the PNG data.
+
+**Returns**:
+
+The base64 representation of the PNG data.
+
+
+### \_repr\_jpeg\_
+
+```python
+def _repr_jpeg_() -> Optional[str]
+```
+
+Returns the base64 representation of the JPEG data.
+
+**Returns**:
+
+The base64 representation of the JPEG data.
+
+
+### \_repr\_pdf\_
+
+```python
+def _repr_pdf_() -> Optional[str]
+```
+
+Returns the PDF representation of the data.
+
+**Returns**:
+
+The PDF representation of the data.
+
+
+### \_repr\_latex\_
+
+```python
+def _repr_latex_() -> Optional[str]
+```
+
+Returns the LaTeX representation of the data.
+
+**Returns**:
+
+The LaTeX representation of the data.
+
+
+### \_repr\_json\_
+
+```python
+def _repr_json_() -> Optional[dict]
+```
+
+Returns the JSON representation of the data.
+
+**Returns**:
+
+The JSON representation of the data.
+
+
+### \_repr\_javascript\_
+
+```python
+def _repr_javascript_() -> Optional[str]
+```
+
+Returns the JavaScript representation of the data.
+
+**Returns**:
+
+The JavaScript representation of the data.
+
+
+## Logs
+
+```python
+@dataclass(repr=False)
+class Logs()
+```
+
+Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc.
+
+
+### stdout
+
+List of strings printed to stdout by prints, subprocesses, etc.
+
+
+### stderr
+
+List of strings printed to stderr by prints, subprocesses, etc.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Logs object.
+
+
+### serialize\_results
+
+```python
+def serialize_results(results: List[Result]) -> List[Dict[str, str]]
+```
+
+Serializes the results to JSON.
+
+
+## Execution
+
+```python
+@dataclass(repr=False)
+class Execution()
+```
+
+Represents the result of a cell execution.
+
+
+### results
+
+List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots).
+
+
+### logs
+
+Logs printed to stdout and stderr during execution.
+
+
+### error
+
+Error object if an error occurred, None otherwise.
+
+
+### execution\_count
+
+Execution count of the cell.
+
+
+### text
+
+```python
+@property
+def text() -> Optional[str]
+```
+
+Returns the text representation of the result.
+
+**Returns**:
+
+The text representation of the result.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Execution object.
+
+
+## Context
+
+```python
+@dataclass
+class Context()
+```
+
+Represents a context for code execution.
+
+
+### id
+
+The ID of the context.
+
+
+### language
+
+The language of the context.
+
+
+### cwd
+
+The working directory of the context.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.0.4/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.0.4/sandbox/page.mdx
new file mode 100644
index 000000000..325b8e18e
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.0.4/sandbox/page.mdx
@@ -0,0 +1,722 @@
+
+
+
+
+
+## AsyncSandbox
+
+```python
+class AsyncSandbox(BaseAsyncSandbox)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `AsyncSandbox.create()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b_code_interpreter import AsyncSandbox
+sandbox = await AsyncSandbox.create()
+```
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ language: Union[Literal["python"], None] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ language: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ context: Optional[Context] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### create\_code\_context
+
+```python
+async def create_code_context(
+ cwd: Optional[str] = None,
+ language: Optional[str] = None,
+ request_timeout: Optional[float] = None) -> Context
+```
+
+Creates a new context to run code in.
+
+**Arguments**:
+
+- `cwd`: Set the current working directory for the context, defaults to `/home/user`
+- `language`: Language of the context. If not specified, defaults to Python
+- `request_timeout`: Timeout for the request in **milliseconds**
+
+**Returns**:
+
+Context object
+
+
+
+
+## OutputMessage
+
+```python
+@dataclass
+class OutputMessage()
+```
+
+Represents an output message from the sandbox code execution.
+
+
+### line
+
+The output line.
+
+
+### timestamp
+
+Unix epoch in nanoseconds
+
+
+### error
+
+Whether the output is an error.
+
+
+## ExecutionError
+
+```python
+@dataclass
+class ExecutionError()
+```
+
+Represents an error that occurred during the execution of a cell.
+The error contains the name of the error, the value of the error, and the traceback.
+
+
+### name
+
+Name of the error.
+
+
+### value
+
+Value of the error.
+
+
+### traceback
+
+The raw traceback of the error.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Error object.
+
+
+## MIMEType
+
+```python
+class MIMEType(str)
+```
+
+Represents a MIME type.
+
+
+## Result
+
+```python
+@dataclass
+class Result()
+```
+
+Represents the data to be displayed as a result of executing a cell in a Jupyter notebook.
+The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics
+
+The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented
+as a string, and the result can contain multiple types of data. The display calls don't have to have text representation,
+for the actual result the representation is always present for the result, the other representations are always optional.
+
+
+### is\_main\_result
+
+Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell.
+
+
+### extra
+
+Extra data that can be included. Not part of the standard types.
+
+
+### formats
+
+```python
+def formats() -> Iterable[str]
+```
+
+Returns all available formats of the result.
+
+**Returns**:
+
+All available formats of the result in MIME types.
+
+
+### \_\_str\_\_
+
+```python
+def __str__() -> Optional[str]
+```
+
+Returns the text representation of the data.
+
+**Returns**:
+
+The text representation of the data.
+
+
+### \_repr\_html\_
+
+```python
+def _repr_html_() -> Optional[str]
+```
+
+Returns the HTML representation of the data.
+
+**Returns**:
+
+The HTML representation of the data.
+
+
+### \_repr\_markdown\_
+
+```python
+def _repr_markdown_() -> Optional[str]
+```
+
+Returns the Markdown representation of the data.
+
+**Returns**:
+
+The Markdown representation of the data.
+
+
+### \_repr\_svg\_
+
+```python
+def _repr_svg_() -> Optional[str]
+```
+
+Returns the SVG representation of the data.
+
+**Returns**:
+
+The SVG representation of the data.
+
+
+### \_repr\_png\_
+
+```python
+def _repr_png_() -> Optional[str]
+```
+
+Returns the base64 representation of the PNG data.
+
+**Returns**:
+
+The base64 representation of the PNG data.
+
+
+### \_repr\_jpeg\_
+
+```python
+def _repr_jpeg_() -> Optional[str]
+```
+
+Returns the base64 representation of the JPEG data.
+
+**Returns**:
+
+The base64 representation of the JPEG data.
+
+
+### \_repr\_pdf\_
+
+```python
+def _repr_pdf_() -> Optional[str]
+```
+
+Returns the PDF representation of the data.
+
+**Returns**:
+
+The PDF representation of the data.
+
+
+### \_repr\_latex\_
+
+```python
+def _repr_latex_() -> Optional[str]
+```
+
+Returns the LaTeX representation of the data.
+
+**Returns**:
+
+The LaTeX representation of the data.
+
+
+### \_repr\_json\_
+
+```python
+def _repr_json_() -> Optional[dict]
+```
+
+Returns the JSON representation of the data.
+
+**Returns**:
+
+The JSON representation of the data.
+
+
+### \_repr\_javascript\_
+
+```python
+def _repr_javascript_() -> Optional[str]
+```
+
+Returns the JavaScript representation of the data.
+
+**Returns**:
+
+The JavaScript representation of the data.
+
+
+## Logs
+
+```python
+@dataclass(repr=False)
+class Logs()
+```
+
+Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc.
+
+
+### stdout
+
+List of strings printed to stdout by prints, subprocesses, etc.
+
+
+### stderr
+
+List of strings printed to stderr by prints, subprocesses, etc.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Logs object.
+
+
+### serialize\_results
+
+```python
+def serialize_results(results: List[Result]) -> List[Dict[str, str]]
+```
+
+Serializes the results to JSON.
+
+
+## Execution
+
+```python
+@dataclass(repr=False)
+class Execution()
+```
+
+Represents the result of a cell execution.
+
+
+### results
+
+List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots).
+
+
+### logs
+
+Logs printed to stdout and stderr during execution.
+
+
+### error
+
+Error object if an error occurred, None otherwise.
+
+
+### execution\_count
+
+Execution count of the cell.
+
+
+### text
+
+```python
+@property
+def text() -> Optional[str]
+```
+
+Returns the text representation of the result.
+
+**Returns**:
+
+The text representation of the result.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Execution object.
+
+
+## Context
+
+```python
+@dataclass
+class Context()
+```
+
+Represents a context for code execution.
+
+
+### id
+
+The ID of the context.
+
+
+### language
+
+The language of the context.
+
+
+### cwd
+
+The working directory of the context.
+
+
+
+
+## ChartType
+
+```python
+class ChartType(str, enum.Enum)
+```
+
+Chart types
+
+
+## ScaleType
+
+```python
+class ScaleType(str, enum.Enum)
+```
+
+Ax scale types
+
+
+## Chart
+
+```python
+class Chart()
+```
+
+Extracted data from a chart. It's useful for building an interactive charts or custom visualizations.
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(BaseSandbox)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `Sandbox()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b_code_interpreter import Sandbox
+
+sandbox = Sandbox()
+```
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ language: Union[Literal["python"], None] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ language: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ context: Optional[Context] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### create\_code\_context
+
+```python
+def create_code_context(cwd: Optional[str] = None,
+ language: Optional[str] = None,
+ request_timeout: Optional[float] = None) -> Context
+```
+
+Creates a new context to run code in.
+
+**Arguments**:
+
+- `cwd`: Set the current working directory for the context, defaults to `/home/user`
+- `language`: Language of the context. If not specified, defaults to Python
+- `request_timeout`: Timeout for the request in **milliseconds**
+
+**Returns**:
+
+Context object
+
+
+
+
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.0.5/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.0.5/sandbox/page.mdx
new file mode 100644
index 000000000..b59dc8e00
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.0.5/sandbox/page.mdx
@@ -0,0 +1,722 @@
+
+
+
+
+
+## OutputMessage
+
+```python
+@dataclass
+class OutputMessage()
+```
+
+Represents an output message from the sandbox code execution.
+
+
+### line
+
+The output line.
+
+
+### timestamp
+
+Unix epoch in nanoseconds
+
+
+### error
+
+Whether the output is an error.
+
+
+## ExecutionError
+
+```python
+@dataclass
+class ExecutionError()
+```
+
+Represents an error that occurred during the execution of a cell.
+The error contains the name of the error, the value of the error, and the traceback.
+
+
+### name
+
+Name of the error.
+
+
+### value
+
+Value of the error.
+
+
+### traceback
+
+The raw traceback of the error.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Error object.
+
+
+## MIMEType
+
+```python
+class MIMEType(str)
+```
+
+Represents a MIME type.
+
+
+## Result
+
+```python
+@dataclass
+class Result()
+```
+
+Represents the data to be displayed as a result of executing a cell in a Jupyter notebook.
+The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics
+
+The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented
+as a string, and the result can contain multiple types of data. The display calls don't have to have text representation,
+for the actual result the representation is always present for the result, the other representations are always optional.
+
+
+### is\_main\_result
+
+Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell.
+
+
+### extra
+
+Extra data that can be included. Not part of the standard types.
+
+
+### formats
+
+```python
+def formats() -> Iterable[str]
+```
+
+Returns all available formats of the result.
+
+**Returns**:
+
+All available formats of the result in MIME types.
+
+
+### \_\_str\_\_
+
+```python
+def __str__() -> Optional[str]
+```
+
+Returns the text representation of the data.
+
+**Returns**:
+
+The text representation of the data.
+
+
+### \_repr\_html\_
+
+```python
+def _repr_html_() -> Optional[str]
+```
+
+Returns the HTML representation of the data.
+
+**Returns**:
+
+The HTML representation of the data.
+
+
+### \_repr\_markdown\_
+
+```python
+def _repr_markdown_() -> Optional[str]
+```
+
+Returns the Markdown representation of the data.
+
+**Returns**:
+
+The Markdown representation of the data.
+
+
+### \_repr\_svg\_
+
+```python
+def _repr_svg_() -> Optional[str]
+```
+
+Returns the SVG representation of the data.
+
+**Returns**:
+
+The SVG representation of the data.
+
+
+### \_repr\_png\_
+
+```python
+def _repr_png_() -> Optional[str]
+```
+
+Returns the base64 representation of the PNG data.
+
+**Returns**:
+
+The base64 representation of the PNG data.
+
+
+### \_repr\_jpeg\_
+
+```python
+def _repr_jpeg_() -> Optional[str]
+```
+
+Returns the base64 representation of the JPEG data.
+
+**Returns**:
+
+The base64 representation of the JPEG data.
+
+
+### \_repr\_pdf\_
+
+```python
+def _repr_pdf_() -> Optional[str]
+```
+
+Returns the PDF representation of the data.
+
+**Returns**:
+
+The PDF representation of the data.
+
+
+### \_repr\_latex\_
+
+```python
+def _repr_latex_() -> Optional[str]
+```
+
+Returns the LaTeX representation of the data.
+
+**Returns**:
+
+The LaTeX representation of the data.
+
+
+### \_repr\_json\_
+
+```python
+def _repr_json_() -> Optional[dict]
+```
+
+Returns the JSON representation of the data.
+
+**Returns**:
+
+The JSON representation of the data.
+
+
+### \_repr\_javascript\_
+
+```python
+def _repr_javascript_() -> Optional[str]
+```
+
+Returns the JavaScript representation of the data.
+
+**Returns**:
+
+The JavaScript representation of the data.
+
+
+## Logs
+
+```python
+@dataclass(repr=False)
+class Logs()
+```
+
+Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc.
+
+
+### stdout
+
+List of strings printed to stdout by prints, subprocesses, etc.
+
+
+### stderr
+
+List of strings printed to stderr by prints, subprocesses, etc.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Logs object.
+
+
+### serialize\_results
+
+```python
+def serialize_results(results: List[Result]) -> List[Dict[str, str]]
+```
+
+Serializes the results to JSON.
+
+
+## Execution
+
+```python
+@dataclass(repr=False)
+class Execution()
+```
+
+Represents the result of a cell execution.
+
+
+### results
+
+List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots).
+
+
+### logs
+
+Logs printed to stdout and stderr during execution.
+
+
+### error
+
+Error object if an error occurred, None otherwise.
+
+
+### execution\_count
+
+Execution count of the cell.
+
+
+### text
+
+```python
+@property
+def text() -> Optional[str]
+```
+
+Returns the text representation of the result.
+
+**Returns**:
+
+The text representation of the result.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Execution object.
+
+
+## Context
+
+```python
+@dataclass
+class Context()
+```
+
+Represents a context for code execution.
+
+
+### id
+
+The ID of the context.
+
+
+### language
+
+The language of the context.
+
+
+### cwd
+
+The working directory of the context.
+
+
+
+
+## ChartType
+
+```python
+class ChartType(str, enum.Enum)
+```
+
+Chart types
+
+
+## ScaleType
+
+```python
+class ScaleType(str, enum.Enum)
+```
+
+Ax scale types
+
+
+## Chart
+
+```python
+class Chart()
+```
+
+Extracted data from a chart. It's useful for building an interactive charts or custom visualizations.
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(BaseSandbox)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `Sandbox()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b_code_interpreter import Sandbox
+
+sandbox = Sandbox()
+```
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ language: Union[Literal["python"], None] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ language: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ context: Optional[Context] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### create\_code\_context
+
+```python
+def create_code_context(cwd: Optional[str] = None,
+ language: Optional[str] = None,
+ request_timeout: Optional[float] = None) -> Context
+```
+
+Creates a new context to run code in.
+
+**Arguments**:
+
+- `cwd`: Set the current working directory for the context, defaults to `/home/user`
+- `language`: Language of the context. If not specified, defaults to Python
+- `request_timeout`: Timeout for the request in **milliseconds**
+
+**Returns**:
+
+Context object
+
+
+
+
+
+
+## AsyncSandbox
+
+```python
+class AsyncSandbox(BaseAsyncSandbox)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `AsyncSandbox.create()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b_code_interpreter import AsyncSandbox
+sandbox = await AsyncSandbox.create()
+```
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ language: Union[Literal["python"], None] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ language: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ context: Optional[Context] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### create\_code\_context
+
+```python
+async def create_code_context(
+ cwd: Optional[str] = None,
+ language: Optional[str] = None,
+ request_timeout: Optional[float] = None) -> Context
+```
+
+Creates a new context to run code in.
+
+**Arguments**:
+
+- `cwd`: Set the current working directory for the context, defaults to `/home/user`
+- `language`: Language of the context. If not specified, defaults to Python
+- `request_timeout`: Timeout for the request in **milliseconds**
+
+**Returns**:
+
+Context object
+
+
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.1.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.1.0/sandbox/page.mdx
new file mode 100644
index 000000000..86e0dfafb
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.1.0/sandbox/page.mdx
@@ -0,0 +1,722 @@
+
+
+
+
+
+## ChartType
+
+```python
+class ChartType(str, enum.Enum)
+```
+
+Chart types
+
+
+## ScaleType
+
+```python
+class ScaleType(str, enum.Enum)
+```
+
+Ax scale types
+
+
+## Chart
+
+```python
+class Chart()
+```
+
+Extracted data from a chart. It's useful for building an interactive charts or custom visualizations.
+
+
+
+
+
+
+## OutputMessage
+
+```python
+@dataclass
+class OutputMessage()
+```
+
+Represents an output message from the sandbox code execution.
+
+
+### line
+
+The output line.
+
+
+### timestamp
+
+Unix epoch in nanoseconds
+
+
+### error
+
+Whether the output is an error.
+
+
+## ExecutionError
+
+```python
+@dataclass
+class ExecutionError()
+```
+
+Represents an error that occurred during the execution of a cell.
+The error contains the name of the error, the value of the error, and the traceback.
+
+
+### name
+
+Name of the error.
+
+
+### value
+
+Value of the error.
+
+
+### traceback
+
+The raw traceback of the error.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Error object.
+
+
+## MIMEType
+
+```python
+class MIMEType(str)
+```
+
+Represents a MIME type.
+
+
+## Result
+
+```python
+@dataclass
+class Result()
+```
+
+Represents the data to be displayed as a result of executing a cell in a Jupyter notebook.
+The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics
+
+The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented
+as a string, and the result can contain multiple types of data. The display calls don't have to have text representation,
+for the actual result the representation is always present for the result, the other representations are always optional.
+
+
+### is\_main\_result
+
+Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell.
+
+
+### extra
+
+Extra data that can be included. Not part of the standard types.
+
+
+### formats
+
+```python
+def formats() -> Iterable[str]
+```
+
+Returns all available formats of the result.
+
+**Returns**:
+
+All available formats of the result in MIME types.
+
+
+### \_\_str\_\_
+
+```python
+def __str__() -> Optional[str]
+```
+
+Returns the text representation of the data.
+
+**Returns**:
+
+The text representation of the data.
+
+
+### \_repr\_html\_
+
+```python
+def _repr_html_() -> Optional[str]
+```
+
+Returns the HTML representation of the data.
+
+**Returns**:
+
+The HTML representation of the data.
+
+
+### \_repr\_markdown\_
+
+```python
+def _repr_markdown_() -> Optional[str]
+```
+
+Returns the Markdown representation of the data.
+
+**Returns**:
+
+The Markdown representation of the data.
+
+
+### \_repr\_svg\_
+
+```python
+def _repr_svg_() -> Optional[str]
+```
+
+Returns the SVG representation of the data.
+
+**Returns**:
+
+The SVG representation of the data.
+
+
+### \_repr\_png\_
+
+```python
+def _repr_png_() -> Optional[str]
+```
+
+Returns the base64 representation of the PNG data.
+
+**Returns**:
+
+The base64 representation of the PNG data.
+
+
+### \_repr\_jpeg\_
+
+```python
+def _repr_jpeg_() -> Optional[str]
+```
+
+Returns the base64 representation of the JPEG data.
+
+**Returns**:
+
+The base64 representation of the JPEG data.
+
+
+### \_repr\_pdf\_
+
+```python
+def _repr_pdf_() -> Optional[str]
+```
+
+Returns the PDF representation of the data.
+
+**Returns**:
+
+The PDF representation of the data.
+
+
+### \_repr\_latex\_
+
+```python
+def _repr_latex_() -> Optional[str]
+```
+
+Returns the LaTeX representation of the data.
+
+**Returns**:
+
+The LaTeX representation of the data.
+
+
+### \_repr\_json\_
+
+```python
+def _repr_json_() -> Optional[dict]
+```
+
+Returns the JSON representation of the data.
+
+**Returns**:
+
+The JSON representation of the data.
+
+
+### \_repr\_javascript\_
+
+```python
+def _repr_javascript_() -> Optional[str]
+```
+
+Returns the JavaScript representation of the data.
+
+**Returns**:
+
+The JavaScript representation of the data.
+
+
+## Logs
+
+```python
+@dataclass(repr=False)
+class Logs()
+```
+
+Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc.
+
+
+### stdout
+
+List of strings printed to stdout by prints, subprocesses, etc.
+
+
+### stderr
+
+List of strings printed to stderr by prints, subprocesses, etc.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Logs object.
+
+
+### serialize\_results
+
+```python
+def serialize_results(results: List[Result]) -> List[Dict[str, str]]
+```
+
+Serializes the results to JSON.
+
+
+## Execution
+
+```python
+@dataclass(repr=False)
+class Execution()
+```
+
+Represents the result of a cell execution.
+
+
+### results
+
+List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots).
+
+
+### logs
+
+Logs printed to stdout and stderr during execution.
+
+
+### error
+
+Error object if an error occurred, None otherwise.
+
+
+### execution\_count
+
+Execution count of the cell.
+
+
+### text
+
+```python
+@property
+def text() -> Optional[str]
+```
+
+Returns the text representation of the result.
+
+**Returns**:
+
+The text representation of the result.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Execution object.
+
+
+## Context
+
+```python
+@dataclass
+class Context()
+```
+
+Represents a context for code execution.
+
+
+### id
+
+The ID of the context.
+
+
+### language
+
+The language of the context.
+
+
+### cwd
+
+The working directory of the context.
+
+
+
+
+
+
+## AsyncSandbox
+
+```python
+class AsyncSandbox(BaseAsyncSandbox)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `AsyncSandbox.create()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b_code_interpreter import AsyncSandbox
+sandbox = await AsyncSandbox.create()
+```
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ language: Union[Literal["python"], None] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ language: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ context: Optional[Context] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### create\_code\_context
+
+```python
+async def create_code_context(
+ cwd: Optional[str] = None,
+ language: Optional[str] = None,
+ request_timeout: Optional[float] = None) -> Context
+```
+
+Creates a new context to run code in.
+
+**Arguments**:
+
+- `cwd`: Set the current working directory for the context, defaults to `/home/user`
+- `language`: Language of the context. If not specified, defaults to Python
+- `request_timeout`: Timeout for the request in **milliseconds**
+
+**Returns**:
+
+Context object
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(BaseSandbox)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `Sandbox()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b_code_interpreter import Sandbox
+
+sandbox = Sandbox()
+```
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ language: Union[Literal["python"], None] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ language: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ context: Optional[Context] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### create\_code\_context
+
+```python
+def create_code_context(cwd: Optional[str] = None,
+ language: Optional[str] = None,
+ request_timeout: Optional[float] = None) -> Context
+```
+
+Creates a new context to run code in.
+
+**Arguments**:
+
+- `cwd`: Set the current working directory for the context, defaults to `/home/user`
+- `language`: Language of the context. If not specified, defaults to Python
+- `request_timeout`: Timeout for the request in **milliseconds**
+
+**Returns**:
+
+Context object
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.1.1/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.1.1/sandbox/page.mdx
new file mode 100644
index 000000000..86e0dfafb
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.1.1/sandbox/page.mdx
@@ -0,0 +1,722 @@
+
+
+
+
+
+## ChartType
+
+```python
+class ChartType(str, enum.Enum)
+```
+
+Chart types
+
+
+## ScaleType
+
+```python
+class ScaleType(str, enum.Enum)
+```
+
+Ax scale types
+
+
+## Chart
+
+```python
+class Chart()
+```
+
+Extracted data from a chart. It's useful for building an interactive charts or custom visualizations.
+
+
+
+
+
+
+## OutputMessage
+
+```python
+@dataclass
+class OutputMessage()
+```
+
+Represents an output message from the sandbox code execution.
+
+
+### line
+
+The output line.
+
+
+### timestamp
+
+Unix epoch in nanoseconds
+
+
+### error
+
+Whether the output is an error.
+
+
+## ExecutionError
+
+```python
+@dataclass
+class ExecutionError()
+```
+
+Represents an error that occurred during the execution of a cell.
+The error contains the name of the error, the value of the error, and the traceback.
+
+
+### name
+
+Name of the error.
+
+
+### value
+
+Value of the error.
+
+
+### traceback
+
+The raw traceback of the error.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Error object.
+
+
+## MIMEType
+
+```python
+class MIMEType(str)
+```
+
+Represents a MIME type.
+
+
+## Result
+
+```python
+@dataclass
+class Result()
+```
+
+Represents the data to be displayed as a result of executing a cell in a Jupyter notebook.
+The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics
+
+The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented
+as a string, and the result can contain multiple types of data. The display calls don't have to have text representation,
+for the actual result the representation is always present for the result, the other representations are always optional.
+
+
+### is\_main\_result
+
+Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell.
+
+
+### extra
+
+Extra data that can be included. Not part of the standard types.
+
+
+### formats
+
+```python
+def formats() -> Iterable[str]
+```
+
+Returns all available formats of the result.
+
+**Returns**:
+
+All available formats of the result in MIME types.
+
+
+### \_\_str\_\_
+
+```python
+def __str__() -> Optional[str]
+```
+
+Returns the text representation of the data.
+
+**Returns**:
+
+The text representation of the data.
+
+
+### \_repr\_html\_
+
+```python
+def _repr_html_() -> Optional[str]
+```
+
+Returns the HTML representation of the data.
+
+**Returns**:
+
+The HTML representation of the data.
+
+
+### \_repr\_markdown\_
+
+```python
+def _repr_markdown_() -> Optional[str]
+```
+
+Returns the Markdown representation of the data.
+
+**Returns**:
+
+The Markdown representation of the data.
+
+
+### \_repr\_svg\_
+
+```python
+def _repr_svg_() -> Optional[str]
+```
+
+Returns the SVG representation of the data.
+
+**Returns**:
+
+The SVG representation of the data.
+
+
+### \_repr\_png\_
+
+```python
+def _repr_png_() -> Optional[str]
+```
+
+Returns the base64 representation of the PNG data.
+
+**Returns**:
+
+The base64 representation of the PNG data.
+
+
+### \_repr\_jpeg\_
+
+```python
+def _repr_jpeg_() -> Optional[str]
+```
+
+Returns the base64 representation of the JPEG data.
+
+**Returns**:
+
+The base64 representation of the JPEG data.
+
+
+### \_repr\_pdf\_
+
+```python
+def _repr_pdf_() -> Optional[str]
+```
+
+Returns the PDF representation of the data.
+
+**Returns**:
+
+The PDF representation of the data.
+
+
+### \_repr\_latex\_
+
+```python
+def _repr_latex_() -> Optional[str]
+```
+
+Returns the LaTeX representation of the data.
+
+**Returns**:
+
+The LaTeX representation of the data.
+
+
+### \_repr\_json\_
+
+```python
+def _repr_json_() -> Optional[dict]
+```
+
+Returns the JSON representation of the data.
+
+**Returns**:
+
+The JSON representation of the data.
+
+
+### \_repr\_javascript\_
+
+```python
+def _repr_javascript_() -> Optional[str]
+```
+
+Returns the JavaScript representation of the data.
+
+**Returns**:
+
+The JavaScript representation of the data.
+
+
+## Logs
+
+```python
+@dataclass(repr=False)
+class Logs()
+```
+
+Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc.
+
+
+### stdout
+
+List of strings printed to stdout by prints, subprocesses, etc.
+
+
+### stderr
+
+List of strings printed to stderr by prints, subprocesses, etc.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Logs object.
+
+
+### serialize\_results
+
+```python
+def serialize_results(results: List[Result]) -> List[Dict[str, str]]
+```
+
+Serializes the results to JSON.
+
+
+## Execution
+
+```python
+@dataclass(repr=False)
+class Execution()
+```
+
+Represents the result of a cell execution.
+
+
+### results
+
+List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots).
+
+
+### logs
+
+Logs printed to stdout and stderr during execution.
+
+
+### error
+
+Error object if an error occurred, None otherwise.
+
+
+### execution\_count
+
+Execution count of the cell.
+
+
+### text
+
+```python
+@property
+def text() -> Optional[str]
+```
+
+Returns the text representation of the result.
+
+**Returns**:
+
+The text representation of the result.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Execution object.
+
+
+## Context
+
+```python
+@dataclass
+class Context()
+```
+
+Represents a context for code execution.
+
+
+### id
+
+The ID of the context.
+
+
+### language
+
+The language of the context.
+
+
+### cwd
+
+The working directory of the context.
+
+
+
+
+
+
+## AsyncSandbox
+
+```python
+class AsyncSandbox(BaseAsyncSandbox)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `AsyncSandbox.create()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b_code_interpreter import AsyncSandbox
+sandbox = await AsyncSandbox.create()
+```
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ language: Union[Literal["python"], None] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ language: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ context: Optional[Context] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### create\_code\_context
+
+```python
+async def create_code_context(
+ cwd: Optional[str] = None,
+ language: Optional[str] = None,
+ request_timeout: Optional[float] = None) -> Context
+```
+
+Creates a new context to run code in.
+
+**Arguments**:
+
+- `cwd`: Set the current working directory for the context, defaults to `/home/user`
+- `language`: Language of the context. If not specified, defaults to Python
+- `request_timeout`: Timeout for the request in **milliseconds**
+
+**Returns**:
+
+Context object
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(BaseSandbox)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `Sandbox()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b_code_interpreter import Sandbox
+
+sandbox = Sandbox()
+```
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ language: Union[Literal["python"], None] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ language: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ context: Optional[Context] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### create\_code\_context
+
+```python
+def create_code_context(cwd: Optional[str] = None,
+ language: Optional[str] = None,
+ request_timeout: Optional[float] = None) -> Context
+```
+
+Creates a new context to run code in.
+
+**Arguments**:
+
+- `cwd`: Set the current working directory for the context, defaults to `/home/user`
+- `language`: Language of the context. If not specified, defaults to Python
+- `request_timeout`: Timeout for the request in **milliseconds**
+
+**Returns**:
+
+Context object
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.2.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.2.0/sandbox/page.mdx
new file mode 100644
index 000000000..86e0dfafb
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/code-interpreter-python-sdk/v1.2.0/sandbox/page.mdx
@@ -0,0 +1,722 @@
+
+
+
+
+
+## ChartType
+
+```python
+class ChartType(str, enum.Enum)
+```
+
+Chart types
+
+
+## ScaleType
+
+```python
+class ScaleType(str, enum.Enum)
+```
+
+Ax scale types
+
+
+## Chart
+
+```python
+class Chart()
+```
+
+Extracted data from a chart. It's useful for building an interactive charts or custom visualizations.
+
+
+
+
+
+
+## OutputMessage
+
+```python
+@dataclass
+class OutputMessage()
+```
+
+Represents an output message from the sandbox code execution.
+
+
+### line
+
+The output line.
+
+
+### timestamp
+
+Unix epoch in nanoseconds
+
+
+### error
+
+Whether the output is an error.
+
+
+## ExecutionError
+
+```python
+@dataclass
+class ExecutionError()
+```
+
+Represents an error that occurred during the execution of a cell.
+The error contains the name of the error, the value of the error, and the traceback.
+
+
+### name
+
+Name of the error.
+
+
+### value
+
+Value of the error.
+
+
+### traceback
+
+The raw traceback of the error.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Error object.
+
+
+## MIMEType
+
+```python
+class MIMEType(str)
+```
+
+Represents a MIME type.
+
+
+## Result
+
+```python
+@dataclass
+class Result()
+```
+
+Represents the data to be displayed as a result of executing a cell in a Jupyter notebook.
+The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics
+
+The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented
+as a string, and the result can contain multiple types of data. The display calls don't have to have text representation,
+for the actual result the representation is always present for the result, the other representations are always optional.
+
+
+### is\_main\_result
+
+Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell.
+
+
+### extra
+
+Extra data that can be included. Not part of the standard types.
+
+
+### formats
+
+```python
+def formats() -> Iterable[str]
+```
+
+Returns all available formats of the result.
+
+**Returns**:
+
+All available formats of the result in MIME types.
+
+
+### \_\_str\_\_
+
+```python
+def __str__() -> Optional[str]
+```
+
+Returns the text representation of the data.
+
+**Returns**:
+
+The text representation of the data.
+
+
+### \_repr\_html\_
+
+```python
+def _repr_html_() -> Optional[str]
+```
+
+Returns the HTML representation of the data.
+
+**Returns**:
+
+The HTML representation of the data.
+
+
+### \_repr\_markdown\_
+
+```python
+def _repr_markdown_() -> Optional[str]
+```
+
+Returns the Markdown representation of the data.
+
+**Returns**:
+
+The Markdown representation of the data.
+
+
+### \_repr\_svg\_
+
+```python
+def _repr_svg_() -> Optional[str]
+```
+
+Returns the SVG representation of the data.
+
+**Returns**:
+
+The SVG representation of the data.
+
+
+### \_repr\_png\_
+
+```python
+def _repr_png_() -> Optional[str]
+```
+
+Returns the base64 representation of the PNG data.
+
+**Returns**:
+
+The base64 representation of the PNG data.
+
+
+### \_repr\_jpeg\_
+
+```python
+def _repr_jpeg_() -> Optional[str]
+```
+
+Returns the base64 representation of the JPEG data.
+
+**Returns**:
+
+The base64 representation of the JPEG data.
+
+
+### \_repr\_pdf\_
+
+```python
+def _repr_pdf_() -> Optional[str]
+```
+
+Returns the PDF representation of the data.
+
+**Returns**:
+
+The PDF representation of the data.
+
+
+### \_repr\_latex\_
+
+```python
+def _repr_latex_() -> Optional[str]
+```
+
+Returns the LaTeX representation of the data.
+
+**Returns**:
+
+The LaTeX representation of the data.
+
+
+### \_repr\_json\_
+
+```python
+def _repr_json_() -> Optional[dict]
+```
+
+Returns the JSON representation of the data.
+
+**Returns**:
+
+The JSON representation of the data.
+
+
+### \_repr\_javascript\_
+
+```python
+def _repr_javascript_() -> Optional[str]
+```
+
+Returns the JavaScript representation of the data.
+
+**Returns**:
+
+The JavaScript representation of the data.
+
+
+## Logs
+
+```python
+@dataclass(repr=False)
+class Logs()
+```
+
+Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc.
+
+
+### stdout
+
+List of strings printed to stdout by prints, subprocesses, etc.
+
+
+### stderr
+
+List of strings printed to stderr by prints, subprocesses, etc.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Logs object.
+
+
+### serialize\_results
+
+```python
+def serialize_results(results: List[Result]) -> List[Dict[str, str]]
+```
+
+Serializes the results to JSON.
+
+
+## Execution
+
+```python
+@dataclass(repr=False)
+class Execution()
+```
+
+Represents the result of a cell execution.
+
+
+### results
+
+List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots).
+
+
+### logs
+
+Logs printed to stdout and stderr during execution.
+
+
+### error
+
+Error object if an error occurred, None otherwise.
+
+
+### execution\_count
+
+Execution count of the cell.
+
+
+### text
+
+```python
+@property
+def text() -> Optional[str]
+```
+
+Returns the text representation of the result.
+
+**Returns**:
+
+The text representation of the result.
+
+
+### to\_json
+
+```python
+def to_json() -> str
+```
+
+Returns the JSON representation of the Execution object.
+
+
+## Context
+
+```python
+@dataclass
+class Context()
+```
+
+Represents a context for code execution.
+
+
+### id
+
+The ID of the context.
+
+
+### language
+
+The language of the context.
+
+
+### cwd
+
+The working directory of the context.
+
+
+
+
+
+
+## AsyncSandbox
+
+```python
+class AsyncSandbox(BaseAsyncSandbox)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `AsyncSandbox.create()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b_code_interpreter import AsyncSandbox
+sandbox = await AsyncSandbox.create()
+```
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ language: Union[Literal["python"], None] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ language: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+async def run_code(code: str,
+ context: Optional[Context] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### create\_code\_context
+
+```python
+async def create_code_context(
+ cwd: Optional[str] = None,
+ language: Optional[str] = None,
+ request_timeout: Optional[float] = None) -> Context
+```
+
+Creates a new context to run code in.
+
+**Arguments**:
+
+- `cwd`: Set the current working directory for the context, defaults to `/home/user`
+- `language`: Language of the context. If not specified, defaults to Python
+- `request_timeout`: Timeout for the request in **milliseconds**
+
+**Returns**:
+
+Context object
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(BaseSandbox)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `Sandbox()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b_code_interpreter import Sandbox
+
+sandbox = Sandbox()
+```
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ language: Union[Literal["python"], None] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code as Python.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ language: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code for the specified language.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+If no language is specified, Python is used.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `language`: Language to use for code execution. If not defined, the default Python context is used.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### run\_code
+
+```python
+@overload
+def run_code(code: str,
+ context: Optional[Context] = None,
+ on_stdout: Optional[OutputHandler[OutputMessage]] = None,
+ on_stderr: Optional[OutputHandler[OutputMessage]] = None,
+ on_result: Optional[OutputHandler[Result]] = None,
+ on_error: Optional[OutputHandler[ExecutionError]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = None,
+ request_timeout: Optional[float] = None) -> Execution
+```
+
+Runs the code in the specified context, if not specified, the default context is used.
+
+Specify the `language` or `context` option to run the code as a different language or in a different `Context`.
+
+You can reference previously defined variables, imports, and functions in the code.
+
+**Arguments**:
+
+- `code`: Code to execute
+- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language.
+- `on_stdout`: Callback for stdout messages
+- `on_stderr`: Callback for stderr messages
+- `on_result`: Callback for the `Result` object
+- `on_error`: Callback for the `ExecutionError` object
+- `envs`: Custom environment variables
+- `timeout`: Timeout for the code execution in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`Execution` result object
+
+
+### create\_code\_context
+
+```python
+def create_code_context(cwd: Optional[str] = None,
+ language: Optional[str] = None,
+ request_timeout: Optional[float] = None) -> Context
+```
+
+Creates a new context to run code in.
+
+**Arguments**:
+
+- `cwd`: Set the current working directory for the context, defaults to `/home/user`
+- `language`: Language of the context. If not specified, defaults to Python
+- `request_timeout`: Timeout for the request in **milliseconds**
+
+**Returns**:
+
+Context object
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.0.2/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.0.2/sandbox/page.mdx
new file mode 100644
index 000000000..85ea6d84c
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.0.2/sandbox/page.mdx
@@ -0,0 +1,414 @@
+### Sandbox
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(): Promise<CommandResult>
+```
+
+Double left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`CommandResult`\>
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<object>
+```
+
+Get the current mouse position.
+
+###### Returns
+
+`Promise`\<`object`\>
+
+An object with `x` and `y` coordinates.
+
+| Name | Type |
+| ------ | ------ |
+| `x` | `number` |
+| `y` | `number` |
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<object>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`object`\>
+
+An object with `width` and `height` properties.
+
+| Name | Type |
+| ------ | ------ |
+| `height` | `number` |
+| `width` | `number` |
+
+### getVideoStreamUrl()
+
+```ts
+getVideoStreamUrl(): Promise<string>
+```
+
+###### Returns
+
+`Promise`\<`string`\>
+
+### hotkey()
+
+```ts
+hotkey(...keys: string[]): Promise<CommandResult>
+```
+
+Press a hotkey.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| ...`keys` | `string`[] | The keys to press (e.g. `hotkey("ctrl", "c")` will press Ctrl+C). |
+
+###### Returns
+
+`Promise`\<`CommandResult`\>
+
+### leftClick()
+
+```ts
+leftClick(): Promise<CommandResult>
+```
+
+Left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`CommandResult`\>
+
+### middleClick()
+
+```ts
+middleClick(): Promise<CommandResult>
+```
+
+Middle click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`CommandResult`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<CommandResult>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`CommandResult`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<CommandHandle>
+```
+
+Open a file or a URL in the default application.
+Note that you'll need to wait for the application to be opened.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`CommandHandle`\>
+
+### press()
+
+```ts
+press(key: string): Promise<CommandResult>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` | The key to press (e.g. "enter", "space", "backspace", etc.). |
+
+###### Returns
+
+`Promise`\<`CommandResult`\>
+
+### rightClick()
+
+```ts
+rightClick(): Promise<CommandResult>
+```
+
+Right click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`CommandResult`\>
+
+### runPyautoguiCode()
+
+```ts
+runPyautoguiCode(code: string, opts: object): Promise<CommandResult>
+```
+
+Run the given Python code that uses pyautogui.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `code` | `string` |
+| `opts` | `object` |
+| `opts.onStderr`? | (`data`: `string`) => `void` |
+| `opts.onStdout`? | (`data`: `string`) => `void` |
+
+###### Returns
+
+`Promise`\<`CommandResult`\>
+
+### scroll()
+
+```ts
+scroll(amount: number): Promise<CommandResult>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `amount` | `number` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`CommandResult`\>
+
+### takeScreenshot()
+
+###### takeScreenshot()
+
+```ts
+takeScreenshot(): Promise<Uint8Array>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### takeScreenshot(format)
+
+```ts
+takeScreenshot(format: "bytes"): Promise<Uint8Array>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### takeScreenshot(format)
+
+```ts
+takeScreenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### takeScreenshot(format)
+
+```ts
+takeScreenshot(format: "stream"): Promise<ReadableStream<Uint8Array>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### write()
+
+```ts
+write(text: string): Promise<CommandResult>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+
+###### Returns
+
+`Promise`\<`CommandResult`\>
+
+### create()
+
+###### create(this, opts)
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+###### create(this, template, opts)
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+## Interfaces
+
+### SandboxOpts
+
+#### Properties
+
+### onVideoStreamStart()?
+
+```ts
+optional onVideoStreamStart: (url: string) => void;
+```
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `url` | `string` |
+
+###### Returns
+
+`void`
+
+### videoStream?
+
+```ts
+optional videoStream: boolean;
+```
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.0.3/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.0.3/sandbox/page.mdx
new file mode 100644
index 000000000..cc997019d
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.0.3/sandbox/page.mdx
@@ -0,0 +1,433 @@
+### Sandbox
+
+#### Properties
+
+| Property | Modifier | Type |
+| ------ | ------ | ------ |
+| <a id="display"></a> `display` | `readonly` | `string` |
+| <a id="stream"></a> `stream` | `readonly` | `VNCServer` |
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(): Promise<void>
+```
+
+Double left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<null | CursorPosition>
+```
+
+Get the current cursor position.
+
+###### Returns
+
+`Promise`\<`null` \| `CursorPosition`\>
+
+A object with the x and y coordinates
+
+###### Throws
+
+Error if cursor position cannot be determined
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<null | ScreenSize>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`null` \| `ScreenSize`\>
+
+An ScreenSize object
+
+###### Throws
+
+Error if screen size cannot be determined
+
+### leftClick()
+
+```ts
+leftClick(): Promise<void>
+```
+
+Left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### middleClick()
+
+```ts
+middleClick(): Promise<void>
+```
+
+Middle click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<void>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<void>
+```
+
+Open a file or a URL in the default application.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### press()
+
+```ts
+press(key: string): Promise<void>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` | The key to press (e.g. "enter", "space", "backspace", etc.). |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### rightClick()
+
+```ts
+rightClick(): Promise<void>
+```
+
+Right click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### screenshot()
+
+###### Call Signature
+
+```ts
+screenshot(): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### Call Signature
+
+```ts
+screenshot(format: "bytes"): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### Call Signature
+
+```ts
+screenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### Call Signature
+
+```ts
+screenshot(format: "stream"): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### scroll()
+
+```ts
+scroll(direction: "up" | "down", amount: number): Promise<void>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `direction` | `"up"` \| `"down"` | `'down'` | The direction to scroll. Can be "up" or "down". |
+| `amount` | `number` | `1` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### waitAndVerify()
+
+```ts
+waitAndVerify(
+ cmd: string,
+ onResult: (result: CommandResult) => boolean,
+ timeout: number,
+interval: number): Promise<boolean>
+```
+
+Wait for a command to return a specific result.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `cmd` | `string` | `undefined` | The command to run. |
+| `onResult` | (`result`: `CommandResult`) => `boolean` | `undefined` | The function to check the result of the command. |
+| `timeout` | `number` | `10` | The maximum time to wait for the command to return the result. |
+| `interval` | `number` | `0.5` | The interval to wait between checks. |
+
+###### Returns
+
+`Promise`\<`boolean`\>
+
+`true` if the command returned the result within the timeout, otherwise `false`.
+
+### write()
+
+```ts
+write(text: string, options: object): Promise<void>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+| `options` | \{ `chunkSize`: `number`; `delayInMs`: `number`; \} | An object containing the chunk size and delay between each chunk of text. |
+| `options.chunkSize` | `number` | The size of each chunk of text to write. Default is 25 characters. |
+| `options.delayInMs` | `number` | The delay between each chunk of text. Default is 75 ms. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### create()
+
+###### Call Signature
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+```
+
+###### Call Signature
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+```
+
+## Interfaces
+
+### SandboxOpts
+
+Configuration options for the Sandbox environment.
+ SandboxOpts
+
+#### Properties
+
+### display?
+
+```ts
+optional display: string;
+```
+
+Display identifier.
+
+### dpi?
+
+```ts
+optional dpi: number;
+```
+
+Dots per inch (DPI) setting for the display.
+
+### enableAuth?
+
+```ts
+optional enableAuth: boolean;
+```
+
+Whether to enable authentication for noVNC connections.
+
+### port?
+
+```ts
+optional port: number;
+```
+
+Port number for the noVNC proxy server.
+
+### resolution?
+
+```ts
+optional resolution: [number, number];
+```
+
+The screen resolution in pixels, specified as [width, height].
+
+### vncPort?
+
+```ts
+optional vncPort: number;
+```
+
+Port number for the VNC server.
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.1.1/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.1.1/sandbox/page.mdx
new file mode 100644
index 000000000..cc997019d
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.1.1/sandbox/page.mdx
@@ -0,0 +1,433 @@
+### Sandbox
+
+#### Properties
+
+| Property | Modifier | Type |
+| ------ | ------ | ------ |
+| <a id="display"></a> `display` | `readonly` | `string` |
+| <a id="stream"></a> `stream` | `readonly` | `VNCServer` |
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(): Promise<void>
+```
+
+Double left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<null | CursorPosition>
+```
+
+Get the current cursor position.
+
+###### Returns
+
+`Promise`\<`null` \| `CursorPosition`\>
+
+A object with the x and y coordinates
+
+###### Throws
+
+Error if cursor position cannot be determined
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<null | ScreenSize>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`null` \| `ScreenSize`\>
+
+An ScreenSize object
+
+###### Throws
+
+Error if screen size cannot be determined
+
+### leftClick()
+
+```ts
+leftClick(): Promise<void>
+```
+
+Left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### middleClick()
+
+```ts
+middleClick(): Promise<void>
+```
+
+Middle click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<void>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<void>
+```
+
+Open a file or a URL in the default application.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### press()
+
+```ts
+press(key: string): Promise<void>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` | The key to press (e.g. "enter", "space", "backspace", etc.). |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### rightClick()
+
+```ts
+rightClick(): Promise<void>
+```
+
+Right click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### screenshot()
+
+###### Call Signature
+
+```ts
+screenshot(): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### Call Signature
+
+```ts
+screenshot(format: "bytes"): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### Call Signature
+
+```ts
+screenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### Call Signature
+
+```ts
+screenshot(format: "stream"): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### scroll()
+
+```ts
+scroll(direction: "up" | "down", amount: number): Promise<void>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `direction` | `"up"` \| `"down"` | `'down'` | The direction to scroll. Can be "up" or "down". |
+| `amount` | `number` | `1` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### waitAndVerify()
+
+```ts
+waitAndVerify(
+ cmd: string,
+ onResult: (result: CommandResult) => boolean,
+ timeout: number,
+interval: number): Promise<boolean>
+```
+
+Wait for a command to return a specific result.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `cmd` | `string` | `undefined` | The command to run. |
+| `onResult` | (`result`: `CommandResult`) => `boolean` | `undefined` | The function to check the result of the command. |
+| `timeout` | `number` | `10` | The maximum time to wait for the command to return the result. |
+| `interval` | `number` | `0.5` | The interval to wait between checks. |
+
+###### Returns
+
+`Promise`\<`boolean`\>
+
+`true` if the command returned the result within the timeout, otherwise `false`.
+
+### write()
+
+```ts
+write(text: string, options: object): Promise<void>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+| `options` | \{ `chunkSize`: `number`; `delayInMs`: `number`; \} | An object containing the chunk size and delay between each chunk of text. |
+| `options.chunkSize` | `number` | The size of each chunk of text to write. Default is 25 characters. |
+| `options.delayInMs` | `number` | The delay between each chunk of text. Default is 75 ms. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### create()
+
+###### Call Signature
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+```
+
+###### Call Signature
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+```
+
+## Interfaces
+
+### SandboxOpts
+
+Configuration options for the Sandbox environment.
+ SandboxOpts
+
+#### Properties
+
+### display?
+
+```ts
+optional display: string;
+```
+
+Display identifier.
+
+### dpi?
+
+```ts
+optional dpi: number;
+```
+
+Dots per inch (DPI) setting for the display.
+
+### enableAuth?
+
+```ts
+optional enableAuth: boolean;
+```
+
+Whether to enable authentication for noVNC connections.
+
+### port?
+
+```ts
+optional port: number;
+```
+
+Port number for the noVNC proxy server.
+
+### resolution?
+
+```ts
+optional resolution: [number, number];
+```
+
+The screen resolution in pixels, specified as [width, height].
+
+### vncPort?
+
+```ts
+optional vncPort: number;
+```
+
+Port number for the VNC server.
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.2.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.2.0/sandbox/page.mdx
new file mode 100644
index 000000000..50a03ffca
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.2.0/sandbox/page.mdx
@@ -0,0 +1,433 @@
+### Sandbox
+
+#### Properties
+
+| Property | Modifier | Type |
+| ------ | ------ | ------ |
+| <a id="display"></a> `display` | `readonly` | `string` |
+| <a id="stream"></a> `stream` | `readonly` | `VNCServer` |
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(): Promise<void>
+```
+
+Double left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<CursorPosition>
+```
+
+Get the current cursor position.
+
+###### Returns
+
+`Promise`\<`CursorPosition`\>
+
+A object with the x and y coordinates
+
+###### Throws
+
+Error if cursor position cannot be determined
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<ScreenSize>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`ScreenSize`\>
+
+An ScreenSize object
+
+###### Throws
+
+Error if screen size cannot be determined
+
+### leftClick()
+
+```ts
+leftClick(): Promise<void>
+```
+
+Left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### middleClick()
+
+```ts
+middleClick(): Promise<void>
+```
+
+Middle click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<void>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<void>
+```
+
+Open a file or a URL in the default application.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### press()
+
+```ts
+press(key: string): Promise<void>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` | The key to press (e.g. "enter", "space", "backspace", etc.). |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### rightClick()
+
+```ts
+rightClick(): Promise<void>
+```
+
+Right click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### screenshot()
+
+###### Call Signature
+
+```ts
+screenshot(): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### Call Signature
+
+```ts
+screenshot(format: "bytes"): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### Call Signature
+
+```ts
+screenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### Call Signature
+
+```ts
+screenshot(format: "stream"): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### scroll()
+
+```ts
+scroll(direction: "up" | "down", amount: number): Promise<void>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `direction` | `"up"` \| `"down"` | `'down'` | The direction to scroll. Can be "up" or "down". |
+| `amount` | `number` | `1` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### waitAndVerify()
+
+```ts
+waitAndVerify(
+ cmd: string,
+ onResult: (result: CommandResult) => boolean,
+ timeout: number,
+interval: number): Promise<boolean>
+```
+
+Wait for a command to return a specific result.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `cmd` | `string` | `undefined` | The command to run. |
+| `onResult` | (`result`: `CommandResult`) => `boolean` | `undefined` | The function to check the result of the command. |
+| `timeout` | `number` | `10` | The maximum time to wait for the command to return the result. |
+| `interval` | `number` | `0.5` | The interval to wait between checks. |
+
+###### Returns
+
+`Promise`\<`boolean`\>
+
+`true` if the command returned the result within the timeout, otherwise `false`.
+
+### write()
+
+```ts
+write(text: string, options: object): Promise<void>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+| `options` | \{ `chunkSize`: `number`; `delayInMs`: `number`; \} | An object containing the chunk size and delay between each chunk of text. |
+| `options.chunkSize` | `number` | The size of each chunk of text to write. Default is 25 characters. |
+| `options.delayInMs` | `number` | The delay between each chunk of text. Default is 75 ms. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### create()
+
+###### Call Signature
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+```
+
+###### Call Signature
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+```
+
+## Interfaces
+
+### SandboxOpts
+
+Configuration options for the Sandbox environment.
+ SandboxOpts
+
+#### Properties
+
+### display?
+
+```ts
+optional display: string;
+```
+
+Display identifier.
+
+### dpi?
+
+```ts
+optional dpi: number;
+```
+
+Dots per inch (DPI) setting for the display.
+
+### enableAuth?
+
+```ts
+optional enableAuth: boolean;
+```
+
+Whether to enable authentication for noVNC connections.
+
+### port?
+
+```ts
+optional port: number;
+```
+
+Port number for the noVNC proxy server.
+
+### resolution?
+
+```ts
+optional resolution: [number, number];
+```
+
+The screen resolution in pixels, specified as [width, height].
+
+### vncPort?
+
+```ts
+optional vncPort: number;
+```
+
+Port number for the VNC server.
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.3.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.3.0/sandbox/page.mdx
new file mode 100644
index 000000000..e175eaa92
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.3.0/sandbox/page.mdx
@@ -0,0 +1,409 @@
+### Sandbox
+
+#### Properties
+
+| Property | Modifier | Type |
+| ------ | ------ | ------ |
+| <a id="display"></a> `display` | `readonly` | `string` |
+| <a id="stream"></a> `stream` | `readonly` | `VNCServer` |
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(): Promise<void>
+```
+
+Double left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<CursorPosition>
+```
+
+Get the current cursor position.
+
+###### Returns
+
+`Promise`\<`CursorPosition`\>
+
+A object with the x and y coordinates
+
+###### Throws
+
+Error if cursor position cannot be determined
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<ScreenSize>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`ScreenSize`\>
+
+An ScreenSize object
+
+###### Throws
+
+Error if screen size cannot be determined
+
+### leftClick()
+
+```ts
+leftClick(): Promise<void>
+```
+
+Left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### middleClick()
+
+```ts
+middleClick(): Promise<void>
+```
+
+Middle click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<void>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<void>
+```
+
+Open a file or a URL in the default application.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### press()
+
+```ts
+press(key: string): Promise<void>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` | The key to press (e.g. "enter", "space", "backspace", etc.). |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### rightClick()
+
+```ts
+rightClick(): Promise<void>
+```
+
+Right click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### screenshot()
+
+###### Call Signature
+
+```ts
+screenshot(): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### Call Signature
+
+```ts
+screenshot(format: "bytes"): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### Call Signature
+
+```ts
+screenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### Call Signature
+
+```ts
+screenshot(format: "stream"): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### scroll()
+
+```ts
+scroll(direction: "up" | "down", amount: number): Promise<void>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `direction` | `"up"` \| `"down"` | `'down'` | The direction to scroll. Can be "up" or "down". |
+| `amount` | `number` | `1` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### waitAndVerify()
+
+```ts
+waitAndVerify(
+ cmd: string,
+ onResult: (result: CommandResult) => boolean,
+ timeout: number,
+interval: number): Promise<boolean>
+```
+
+Wait for a command to return a specific result.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `cmd` | `string` | `undefined` | The command to run. |
+| `onResult` | (`result`: `CommandResult`) => `boolean` | `undefined` | The function to check the result of the command. |
+| `timeout` | `number` | `10` | The maximum time to wait for the command to return the result. |
+| `interval` | `number` | `0.5` | The interval to wait between checks. |
+
+###### Returns
+
+`Promise`\<`boolean`\>
+
+`true` if the command returned the result within the timeout, otherwise `false`.
+
+### write()
+
+```ts
+write(text: string, options: object): Promise<void>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+| `options` | \{ `chunkSize`: `number`; `delayInMs`: `number`; \} | An object containing the chunk size and delay between each chunk of text. |
+| `options.chunkSize` | `number` | The size of each chunk of text to write. Default is 25 characters. |
+| `options.delayInMs` | `number` | The delay between each chunk of text. Default is 75 ms. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### create()
+
+###### Call Signature
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+```
+
+###### Call Signature
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+```
+
+## Interfaces
+
+### SandboxOpts
+
+Configuration options for the Sandbox environment.
+ SandboxOpts
+
+#### Properties
+
+### display?
+
+```ts
+optional display: string;
+```
+
+Display identifier.
+
+### dpi?
+
+```ts
+optional dpi: number;
+```
+
+Dots per inch (DPI) setting for the display.
+
+### resolution?
+
+```ts
+optional resolution: [number, number];
+```
+
+The screen resolution in pixels, specified as [width, height].
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.4.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.4.0/sandbox/page.mdx
new file mode 100644
index 000000000..11d00ed2e
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.4.0/sandbox/page.mdx
@@ -0,0 +1,442 @@
+### Sandbox
+
+#### Properties
+
+| Property | Modifier | Type |
+| ------ | ------ | ------ |
+| `display` | `readonly` | `string` |
+| `stream` | `readonly` | `VNCServer` |
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(): Promise<void>
+```
+
+Double left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### drag()
+
+```ts
+drag(from: [number, number], to: [number, number]): Promise<void>
+```
+
+Drag the mouse from the given position to the given position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `from` | [`number`, `number`] | The starting position. |
+| `to` | [`number`, `number`] | The ending position. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<CursorPosition>
+```
+
+Get the current cursor position.
+
+###### Returns
+
+`Promise`\<`CursorPosition`\>
+
+A object with the x and y coordinates
+
+###### Throws
+
+Error if cursor position cannot be determined
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<ScreenSize>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`ScreenSize`\>
+
+An ScreenSize object
+
+###### Throws
+
+Error if screen size cannot be determined
+
+### leftClick()
+
+```ts
+leftClick(): Promise<void>
+```
+
+Left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### middleClick()
+
+```ts
+middleClick(): Promise<void>
+```
+
+Middle click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<void>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<void>
+```
+
+Open a file or a URL in the default application.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### press()
+
+```ts
+press(key: string | string[]): Promise<void>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` \| `string`[] | The key to press (e.g. "enter", "space", "backspace", etc.). Can be a single key or an array of keys. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### rightClick()
+
+```ts
+rightClick(): Promise<void>
+```
+
+Right click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### screenshot()
+
+###### screenshot()
+
+```ts
+screenshot(): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "bytes"): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "stream"): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### scroll()
+
+```ts
+scroll(direction: "up" | "down", amount: number): Promise<void>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `direction` | `"up"` \| `"down"` | `'down'` | The direction to scroll. Can be "up" or "down". |
+| `amount` | `number` | `1` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### wait()
+
+```ts
+wait(ms: number): Promise<void>
+```
+
+Wait for the given amount of time.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `ms` | `number` | The amount of time to wait in milliseconds. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### waitAndVerify()
+
+```ts
+waitAndVerify(
+ cmd: string,
+ onResult: (result: CommandResult) => boolean,
+ timeout: number,
+interval: number): Promise<boolean>
+```
+
+Wait for a command to return a specific result.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `cmd` | `string` | `undefined` | The command to run. |
+| `onResult` | (`result`: `CommandResult`) => `boolean` | `undefined` | The function to check the result of the command. |
+| `timeout` | `number` | `10` | The maximum time to wait for the command to return the result. |
+| `interval` | `number` | `0.5` | The interval to wait between checks. |
+
+###### Returns
+
+`Promise`\<`boolean`\>
+
+`true` if the command returned the result within the timeout, otherwise `false`.
+
+### write()
+
+```ts
+write(text: string, options: object): Promise<void>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+| `options` | `object` | An object containing the chunk size and delay between each chunk of text. |
+| `options.chunkSize` | `number` | The size of each chunk of text to write. Default is 25 characters. |
+| `options.delayInMs` | `number` | The delay between each chunk of text. Default is 75 ms. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### create()
+
+###### create(this, opts)
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+###### create(this, template, opts)
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+## Interfaces
+
+### SandboxOpts
+
+Configuration options for the Sandbox environment.
+ SandboxOpts
+
+#### Properties
+
+### display?
+
+```ts
+optional display: string;
+```
+
+Display identifier.
+
+### dpi?
+
+```ts
+optional dpi: number;
+```
+
+Dots per inch (DPI) setting for the display.
+
+### resolution?
+
+```ts
+optional resolution: [number, number];
+```
+
+The screen resolution in pixels, specified as [width, height].
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.5.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.5.0/sandbox/page.mdx
new file mode 100644
index 000000000..1510572e3
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.5.0/sandbox/page.mdx
@@ -0,0 +1,478 @@
+### Sandbox
+
+#### Properties
+
+| Property | Modifier | Type |
+| ------ | ------ | ------ |
+| `display` | `readonly` | `string` |
+| `stream` | `readonly` | `VNCServer` |
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(): Promise<void>
+```
+
+Double left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### drag()
+
+```ts
+drag(from: [number, number], to: [number, number]): Promise<void>
+```
+
+Drag the mouse from the given position to the given position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `from` | [`number`, `number`] | The starting position. |
+| `to` | [`number`, `number`] | The ending position. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<CursorPosition>
+```
+
+Get the current cursor position.
+
+###### Returns
+
+`Promise`\<`CursorPosition`\>
+
+A object with the x and y coordinates
+
+###### Throws
+
+Error if cursor position cannot be determined
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<ScreenSize>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`ScreenSize`\>
+
+An ScreenSize object
+
+###### Throws
+
+Error if screen size cannot be determined
+
+### leftClick()
+
+```ts
+leftClick(): Promise<void>
+```
+
+Left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### middleClick()
+
+```ts
+middleClick(): Promise<void>
+```
+
+Middle click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mousePress()
+
+```ts
+mousePress(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Press the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mouseRelease()
+
+```ts
+mouseRelease(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Release the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<void>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<void>
+```
+
+Open a file or a URL in the default application.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### press()
+
+```ts
+press(key: string | string[]): Promise<void>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` \| `string`[] | The key to press (e.g. "enter", "space", "backspace", etc.). Can be a single key or an array of keys. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### rightClick()
+
+```ts
+rightClick(): Promise<void>
+```
+
+Right click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### screenshot()
+
+###### screenshot()
+
+```ts
+screenshot(): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "bytes"): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "stream"): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### scroll()
+
+```ts
+scroll(direction: "up" | "down", amount: number): Promise<void>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `direction` | `"up"` \| `"down"` | `'down'` | The direction to scroll. Can be "up" or "down". |
+| `amount` | `number` | `1` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### wait()
+
+```ts
+wait(ms: number): Promise<void>
+```
+
+Wait for the given amount of time.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `ms` | `number` | The amount of time to wait in milliseconds. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### waitAndVerify()
+
+```ts
+waitAndVerify(
+ cmd: string,
+ onResult: (result: CommandResult) => boolean,
+ timeout: number,
+interval: number): Promise<boolean>
+```
+
+Wait for a command to return a specific result.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `cmd` | `string` | `undefined` | The command to run. |
+| `onResult` | (`result`: `CommandResult`) => `boolean` | `undefined` | The function to check the result of the command. |
+| `timeout` | `number` | `10` | The maximum time to wait for the command to return the result. |
+| `interval` | `number` | `0.5` | The interval to wait between checks. |
+
+###### Returns
+
+`Promise`\<`boolean`\>
+
+`true` if the command returned the result within the timeout, otherwise `false`.
+
+### write()
+
+```ts
+write(text: string, options: object): Promise<void>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+| `options` | `object` | An object containing the chunk size and delay between each chunk of text. |
+| `options.chunkSize` | `number` | The size of each chunk of text to write. Default is 25 characters. |
+| `options.delayInMs` | `number` | The delay between each chunk of text. Default is 75 ms. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### create()
+
+###### create(this, opts)
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+###### create(this, template, opts)
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+## Interfaces
+
+### SandboxOpts
+
+Configuration options for the Sandbox environment.
+ SandboxOpts
+
+#### Properties
+
+### display?
+
+```ts
+optional display: string;
+```
+
+Display identifier.
+
+### dpi?
+
+```ts
+optional dpi: number;
+```
+
+Dots per inch (DPI) setting for the display.
+
+### resolution?
+
+```ts
+optional resolution: [number, number];
+```
+
+The screen resolution in pixels, specified as [width, height].
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.6.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.6.0/sandbox/page.mdx
new file mode 100644
index 000000000..1510572e3
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.6.0/sandbox/page.mdx
@@ -0,0 +1,478 @@
+### Sandbox
+
+#### Properties
+
+| Property | Modifier | Type |
+| ------ | ------ | ------ |
+| `display` | `readonly` | `string` |
+| `stream` | `readonly` | `VNCServer` |
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(): Promise<void>
+```
+
+Double left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### drag()
+
+```ts
+drag(from: [number, number], to: [number, number]): Promise<void>
+```
+
+Drag the mouse from the given position to the given position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `from` | [`number`, `number`] | The starting position. |
+| `to` | [`number`, `number`] | The ending position. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<CursorPosition>
+```
+
+Get the current cursor position.
+
+###### Returns
+
+`Promise`\<`CursorPosition`\>
+
+A object with the x and y coordinates
+
+###### Throws
+
+Error if cursor position cannot be determined
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<ScreenSize>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`ScreenSize`\>
+
+An ScreenSize object
+
+###### Throws
+
+Error if screen size cannot be determined
+
+### leftClick()
+
+```ts
+leftClick(): Promise<void>
+```
+
+Left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### middleClick()
+
+```ts
+middleClick(): Promise<void>
+```
+
+Middle click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mousePress()
+
+```ts
+mousePress(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Press the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mouseRelease()
+
+```ts
+mouseRelease(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Release the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<void>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<void>
+```
+
+Open a file or a URL in the default application.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### press()
+
+```ts
+press(key: string | string[]): Promise<void>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` \| `string`[] | The key to press (e.g. "enter", "space", "backspace", etc.). Can be a single key or an array of keys. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### rightClick()
+
+```ts
+rightClick(): Promise<void>
+```
+
+Right click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### screenshot()
+
+###### screenshot()
+
+```ts
+screenshot(): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "bytes"): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "stream"): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### scroll()
+
+```ts
+scroll(direction: "up" | "down", amount: number): Promise<void>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `direction` | `"up"` \| `"down"` | `'down'` | The direction to scroll. Can be "up" or "down". |
+| `amount` | `number` | `1` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### wait()
+
+```ts
+wait(ms: number): Promise<void>
+```
+
+Wait for the given amount of time.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `ms` | `number` | The amount of time to wait in milliseconds. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### waitAndVerify()
+
+```ts
+waitAndVerify(
+ cmd: string,
+ onResult: (result: CommandResult) => boolean,
+ timeout: number,
+interval: number): Promise<boolean>
+```
+
+Wait for a command to return a specific result.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `cmd` | `string` | `undefined` | The command to run. |
+| `onResult` | (`result`: `CommandResult`) => `boolean` | `undefined` | The function to check the result of the command. |
+| `timeout` | `number` | `10` | The maximum time to wait for the command to return the result. |
+| `interval` | `number` | `0.5` | The interval to wait between checks. |
+
+###### Returns
+
+`Promise`\<`boolean`\>
+
+`true` if the command returned the result within the timeout, otherwise `false`.
+
+### write()
+
+```ts
+write(text: string, options: object): Promise<void>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+| `options` | `object` | An object containing the chunk size and delay between each chunk of text. |
+| `options.chunkSize` | `number` | The size of each chunk of text to write. Default is 25 characters. |
+| `options.delayInMs` | `number` | The delay between each chunk of text. Default is 75 ms. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### create()
+
+###### create(this, opts)
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+###### create(this, template, opts)
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+## Interfaces
+
+### SandboxOpts
+
+Configuration options for the Sandbox environment.
+ SandboxOpts
+
+#### Properties
+
+### display?
+
+```ts
+optional display: string;
+```
+
+Display identifier.
+
+### dpi?
+
+```ts
+optional dpi: number;
+```
+
+Dots per inch (DPI) setting for the display.
+
+### resolution?
+
+```ts
+optional resolution: [number, number];
+```
+
+The screen resolution in pixels, specified as [width, height].
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.6.1/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.6.1/sandbox/page.mdx
new file mode 100644
index 000000000..992eab1ca
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.6.1/sandbox/page.mdx
@@ -0,0 +1,478 @@
+### Sandbox
+
+#### Properties
+
+| Property | Modifier | Type |
+| ------ | ------ | ------ |
+| `display` | `readonly` | `string` |
+| `stream` | `readonly` | `VNCServer` |
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(): Promise<void>
+```
+
+Double left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### drag()
+
+```ts
+drag(from: [number, number], to: [number, number]): Promise<void>
+```
+
+Drag the mouse from the given position to the given position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `from` | [`number`, `number`] | The starting position. |
+| `to` | [`number`, `number`] | The ending position. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<CursorPosition>
+```
+
+Get the current cursor position.
+
+###### Returns
+
+`Promise`\<`CursorPosition`\>
+
+A object with the x and y coordinates
+
+###### Throws
+
+Error if cursor position cannot be determined
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<ScreenSize>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`ScreenSize`\>
+
+An ScreenSize object
+
+###### Throws
+
+Error if screen size cannot be determined
+
+### leftClick()
+
+```ts
+leftClick(): Promise<void>
+```
+
+Left click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### middleClick()
+
+```ts
+middleClick(): Promise<void>
+```
+
+Middle click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mousePress()
+
+```ts
+mousePress(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Press the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mouseRelease()
+
+```ts
+mouseRelease(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Release the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<void>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<void>
+```
+
+Open a file or a URL in the default application.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### press()
+
+```ts
+press(key: string | string[]): Promise<void>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` \| `string`[] | The key to press (e.g. "enter", "space", "backspace", etc.). Can be a single key or an array of keys. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### rightClick()
+
+```ts
+rightClick(): Promise<void>
+```
+
+Right click on the current mouse position.
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### screenshot()
+
+###### screenshot()
+
+```ts
+screenshot(): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "bytes"): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "stream"): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### scroll()
+
+```ts
+scroll(direction: "down" | "up", amount: number): Promise<void>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `direction` | `"down"` \| `"up"` | `'down'` | The direction to scroll. Can be "up" or "down". |
+| `amount` | `number` | `1` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### wait()
+
+```ts
+wait(ms: number): Promise<void>
+```
+
+Wait for the given amount of time.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `ms` | `number` | The amount of time to wait in milliseconds. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### waitAndVerify()
+
+```ts
+waitAndVerify(
+ cmd: string,
+ onResult: (result: CommandResult) => boolean,
+ timeout: number,
+interval: number): Promise<boolean>
+```
+
+Wait for a command to return a specific result.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `cmd` | `string` | `undefined` | The command to run. |
+| `onResult` | (`result`: `CommandResult`) => `boolean` | `undefined` | The function to check the result of the command. |
+| `timeout` | `number` | `10` | The maximum time to wait for the command to return the result. |
+| `interval` | `number` | `0.5` | The interval to wait between checks. |
+
+###### Returns
+
+`Promise`\<`boolean`\>
+
+`true` if the command returned the result within the timeout, otherwise `false`.
+
+### write()
+
+```ts
+write(text: string, options: object): Promise<void>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+| `options` | `object` | An object containing the chunk size and delay between each chunk of text. |
+| `options.chunkSize` | `number` | The size of each chunk of text to write. Default is 25 characters. |
+| `options.delayInMs` | `number` | The delay between each chunk of text. Default is 75 ms. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### create()
+
+###### create(this, opts)
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+###### create(this, template, opts)
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+## Interfaces
+
+### SandboxOpts
+
+Configuration options for the Sandbox environment.
+ SandboxOpts
+
+#### Properties
+
+### display?
+
+```ts
+optional display: string;
+```
+
+Display identifier.
+
+### dpi?
+
+```ts
+optional dpi: number;
+```
+
+Dots per inch (DPI) setting for the display.
+
+### resolution?
+
+```ts
+optional resolution: [number, number];
+```
+
+The screen resolution in pixels, specified as [width, height].
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.6.2/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.6.2/sandbox/page.mdx
new file mode 100644
index 000000000..32ae25159
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.6.2/sandbox/page.mdx
@@ -0,0 +1,506 @@
+### Sandbox
+
+#### Properties
+
+| Property | Modifier | Type |
+| ------ | ------ | ------ |
+| `display` | `readonly` | `string` |
+| `stream` | `readonly` | `VNCServer` |
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(x?: number, y?: number): Promise<void>
+```
+
+Double left click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### drag()
+
+```ts
+drag(from: [number, number], to: [number, number]): Promise<void>
+```
+
+Drag the mouse from the given position to the given position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `from` | [`number`, `number`] | The starting position. |
+| `to` | [`number`, `number`] | The ending position. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<CursorPosition>
+```
+
+Get the current cursor position.
+
+###### Returns
+
+`Promise`\<`CursorPosition`\>
+
+A object with the x and y coordinates
+
+###### Throws
+
+Error if cursor position cannot be determined
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<ScreenSize>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`ScreenSize`\>
+
+An ScreenSize object
+
+###### Throws
+
+Error if screen size cannot be determined
+
+### leftClick()
+
+```ts
+leftClick(x?: number, y?: number): Promise<void>
+```
+
+Left click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### middleClick()
+
+```ts
+middleClick(x?: number, y?: number): Promise<void>
+```
+
+Middle click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mousePress()
+
+```ts
+mousePress(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Press the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mouseRelease()
+
+```ts
+mouseRelease(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Release the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<void>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<void>
+```
+
+Open a file or a URL in the default application.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### press()
+
+```ts
+press(key: string | string[]): Promise<void>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` \| `string`[] | The key to press (e.g. "enter", "space", "backspace", etc.). Can be a single key or an array of keys. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### rightClick()
+
+```ts
+rightClick(x?: number, y?: number): Promise<void>
+```
+
+Right click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### screenshot()
+
+###### screenshot()
+
+```ts
+screenshot(): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "bytes"): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "stream"): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### scroll()
+
+```ts
+scroll(direction: "down" | "up", amount: number): Promise<void>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `direction` | `"down"` \| `"up"` | `'down'` | The direction to scroll. Can be "up" or "down". |
+| `amount` | `number` | `1` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### wait()
+
+```ts
+wait(ms: number): Promise<void>
+```
+
+Wait for the given amount of time.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `ms` | `number` | The amount of time to wait in milliseconds. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### waitAndVerify()
+
+```ts
+waitAndVerify(
+ cmd: string,
+ onResult: (result: CommandResult) => boolean,
+ timeout: number,
+interval: number): Promise<boolean>
+```
+
+Wait for a command to return a specific result.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `cmd` | `string` | `undefined` | The command to run. |
+| `onResult` | (`result`: `CommandResult`) => `boolean` | `undefined` | The function to check the result of the command. |
+| `timeout` | `number` | `10` | The maximum time to wait for the command to return the result. |
+| `interval` | `number` | `0.5` | The interval to wait between checks. |
+
+###### Returns
+
+`Promise`\<`boolean`\>
+
+`true` if the command returned the result within the timeout, otherwise `false`.
+
+### write()
+
+```ts
+write(text: string, options: object): Promise<void>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+| `options` | `object` | An object containing the chunk size and delay between each chunk of text. |
+| `options.chunkSize` | `number` | The size of each chunk of text to write. Default is 25 characters. |
+| `options.delayInMs` | `number` | The delay between each chunk of text. Default is 75 ms. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### create()
+
+###### create(this, opts)
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+###### create(this, template, opts)
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+## Interfaces
+
+### SandboxOpts
+
+Configuration options for the Sandbox environment.
+ SandboxOpts
+
+#### Properties
+
+### display?
+
+```ts
+optional display: string;
+```
+
+Display identifier.
+
+### dpi?
+
+```ts
+optional dpi: number;
+```
+
+Dots per inch (DPI) setting for the display.
+
+### resolution?
+
+```ts
+optional resolution: [number, number];
+```
+
+The screen resolution in pixels, specified as [width, height].
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.7.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.7.0/sandbox/page.mdx
new file mode 100644
index 000000000..32ae25159
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.7.0/sandbox/page.mdx
@@ -0,0 +1,506 @@
+### Sandbox
+
+#### Properties
+
+| Property | Modifier | Type |
+| ------ | ------ | ------ |
+| `display` | `readonly` | `string` |
+| `stream` | `readonly` | `VNCServer` |
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(x?: number, y?: number): Promise<void>
+```
+
+Double left click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### drag()
+
+```ts
+drag(from: [number, number], to: [number, number]): Promise<void>
+```
+
+Drag the mouse from the given position to the given position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `from` | [`number`, `number`] | The starting position. |
+| `to` | [`number`, `number`] | The ending position. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<CursorPosition>
+```
+
+Get the current cursor position.
+
+###### Returns
+
+`Promise`\<`CursorPosition`\>
+
+A object with the x and y coordinates
+
+###### Throws
+
+Error if cursor position cannot be determined
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<ScreenSize>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`ScreenSize`\>
+
+An ScreenSize object
+
+###### Throws
+
+Error if screen size cannot be determined
+
+### leftClick()
+
+```ts
+leftClick(x?: number, y?: number): Promise<void>
+```
+
+Left click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### middleClick()
+
+```ts
+middleClick(x?: number, y?: number): Promise<void>
+```
+
+Middle click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mousePress()
+
+```ts
+mousePress(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Press the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mouseRelease()
+
+```ts
+mouseRelease(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Release the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<void>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<void>
+```
+
+Open a file or a URL in the default application.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### press()
+
+```ts
+press(key: string | string[]): Promise<void>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` \| `string`[] | The key to press (e.g. "enter", "space", "backspace", etc.). Can be a single key or an array of keys. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### rightClick()
+
+```ts
+rightClick(x?: number, y?: number): Promise<void>
+```
+
+Right click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### screenshot()
+
+###### screenshot()
+
+```ts
+screenshot(): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "bytes"): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "stream"): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### scroll()
+
+```ts
+scroll(direction: "down" | "up", amount: number): Promise<void>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `direction` | `"down"` \| `"up"` | `'down'` | The direction to scroll. Can be "up" or "down". |
+| `amount` | `number` | `1` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### wait()
+
+```ts
+wait(ms: number): Promise<void>
+```
+
+Wait for the given amount of time.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `ms` | `number` | The amount of time to wait in milliseconds. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### waitAndVerify()
+
+```ts
+waitAndVerify(
+ cmd: string,
+ onResult: (result: CommandResult) => boolean,
+ timeout: number,
+interval: number): Promise<boolean>
+```
+
+Wait for a command to return a specific result.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `cmd` | `string` | `undefined` | The command to run. |
+| `onResult` | (`result`: `CommandResult`) => `boolean` | `undefined` | The function to check the result of the command. |
+| `timeout` | `number` | `10` | The maximum time to wait for the command to return the result. |
+| `interval` | `number` | `0.5` | The interval to wait between checks. |
+
+###### Returns
+
+`Promise`\<`boolean`\>
+
+`true` if the command returned the result within the timeout, otherwise `false`.
+
+### write()
+
+```ts
+write(text: string, options: object): Promise<void>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+| `options` | `object` | An object containing the chunk size and delay between each chunk of text. |
+| `options.chunkSize` | `number` | The size of each chunk of text to write. Default is 25 characters. |
+| `options.delayInMs` | `number` | The delay between each chunk of text. Default is 75 ms. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### create()
+
+###### create(this, opts)
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+###### create(this, template, opts)
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+## Interfaces
+
+### SandboxOpts
+
+Configuration options for the Sandbox environment.
+ SandboxOpts
+
+#### Properties
+
+### display?
+
+```ts
+optional display: string;
+```
+
+Display identifier.
+
+### dpi?
+
+```ts
+optional dpi: number;
+```
+
+Dots per inch (DPI) setting for the display.
+
+### resolution?
+
+```ts
+optional resolution: [number, number];
+```
+
+The screen resolution in pixels, specified as [width, height].
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.7.1/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.7.1/sandbox/page.mdx
new file mode 100644
index 000000000..32ae25159
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.7.1/sandbox/page.mdx
@@ -0,0 +1,506 @@
+### Sandbox
+
+#### Properties
+
+| Property | Modifier | Type |
+| ------ | ------ | ------ |
+| `display` | `readonly` | `string` |
+| `stream` | `readonly` | `VNCServer` |
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(x?: number, y?: number): Promise<void>
+```
+
+Double left click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### drag()
+
+```ts
+drag(from: [number, number], to: [number, number]): Promise<void>
+```
+
+Drag the mouse from the given position to the given position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `from` | [`number`, `number`] | The starting position. |
+| `to` | [`number`, `number`] | The ending position. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<CursorPosition>
+```
+
+Get the current cursor position.
+
+###### Returns
+
+`Promise`\<`CursorPosition`\>
+
+A object with the x and y coordinates
+
+###### Throws
+
+Error if cursor position cannot be determined
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<ScreenSize>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`ScreenSize`\>
+
+An ScreenSize object
+
+###### Throws
+
+Error if screen size cannot be determined
+
+### leftClick()
+
+```ts
+leftClick(x?: number, y?: number): Promise<void>
+```
+
+Left click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### middleClick()
+
+```ts
+middleClick(x?: number, y?: number): Promise<void>
+```
+
+Middle click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mousePress()
+
+```ts
+mousePress(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Press the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mouseRelease()
+
+```ts
+mouseRelease(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Release the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<void>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<void>
+```
+
+Open a file or a URL in the default application.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### press()
+
+```ts
+press(key: string | string[]): Promise<void>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` \| `string`[] | The key to press (e.g. "enter", "space", "backspace", etc.). Can be a single key or an array of keys. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### rightClick()
+
+```ts
+rightClick(x?: number, y?: number): Promise<void>
+```
+
+Right click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### screenshot()
+
+###### screenshot()
+
+```ts
+screenshot(): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "bytes"): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "stream"): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### scroll()
+
+```ts
+scroll(direction: "down" | "up", amount: number): Promise<void>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `direction` | `"down"` \| `"up"` | `'down'` | The direction to scroll. Can be "up" or "down". |
+| `amount` | `number` | `1` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### wait()
+
+```ts
+wait(ms: number): Promise<void>
+```
+
+Wait for the given amount of time.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `ms` | `number` | The amount of time to wait in milliseconds. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### waitAndVerify()
+
+```ts
+waitAndVerify(
+ cmd: string,
+ onResult: (result: CommandResult) => boolean,
+ timeout: number,
+interval: number): Promise<boolean>
+```
+
+Wait for a command to return a specific result.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `cmd` | `string` | `undefined` | The command to run. |
+| `onResult` | (`result`: `CommandResult`) => `boolean` | `undefined` | The function to check the result of the command. |
+| `timeout` | `number` | `10` | The maximum time to wait for the command to return the result. |
+| `interval` | `number` | `0.5` | The interval to wait between checks. |
+
+###### Returns
+
+`Promise`\<`boolean`\>
+
+`true` if the command returned the result within the timeout, otherwise `false`.
+
+### write()
+
+```ts
+write(text: string, options: object): Promise<void>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+| `options` | `object` | An object containing the chunk size and delay between each chunk of text. |
+| `options.chunkSize` | `number` | The size of each chunk of text to write. Default is 25 characters. |
+| `options.delayInMs` | `number` | The delay between each chunk of text. Default is 75 ms. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### create()
+
+###### create(this, opts)
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+###### create(this, template, opts)
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+## Interfaces
+
+### SandboxOpts
+
+Configuration options for the Sandbox environment.
+ SandboxOpts
+
+#### Properties
+
+### display?
+
+```ts
+optional display: string;
+```
+
+Display identifier.
+
+### dpi?
+
+```ts
+optional dpi: number;
+```
+
+Dots per inch (DPI) setting for the display.
+
+### resolution?
+
+```ts
+optional resolution: [number, number];
+```
+
+The screen resolution in pixels, specified as [width, height].
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.7.2/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.7.2/sandbox/page.mdx
new file mode 100644
index 000000000..a4140fb94
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-js-sdk/v1.7.2/sandbox/page.mdx
@@ -0,0 +1,560 @@
+### Sandbox
+
+#### Properties
+
+| Property | Modifier | Type |
+| ------ | ------ | ------ |
+| `display` | `readonly` | `string` |
+| `stream` | `readonly` | `VNCServer` |
+
+#### Methods
+
+### doubleClick()
+
+```ts
+doubleClick(x?: number, y?: number): Promise<void>
+```
+
+Double left click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### drag()
+
+```ts
+drag(from: [number, number], to: [number, number]): Promise<void>
+```
+
+Drag the mouse from the given position to the given position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `from` | [`number`, `number`] | The starting position. |
+| `to` | [`number`, `number`] | The ending position. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### getApplicationWindows()
+
+```ts
+getApplicationWindows(application: string): Promise<string[]>
+```
+
+Get the window ID of the window with the given title.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `application` | `string` |
+
+###### Returns
+
+`Promise`\<`string`[]\>
+
+The ID of the window.
+
+### getCurrentWindowId()
+
+```ts
+getCurrentWindowId(): Promise<string>
+```
+
+Get the current window ID.
+
+###### Returns
+
+`Promise`\<`string`\>
+
+The ID of the current window.
+
+### getCursorPosition()
+
+```ts
+getCursorPosition(): Promise<CursorPosition>
+```
+
+Get the current cursor position.
+
+###### Returns
+
+`Promise`\<`CursorPosition`\>
+
+A object with the x and y coordinates
+
+###### Throws
+
+Error if cursor position cannot be determined
+
+### getScreenSize()
+
+```ts
+getScreenSize(): Promise<ScreenSize>
+```
+
+Get the current screen size.
+
+###### Returns
+
+`Promise`\<`ScreenSize`\>
+
+An ScreenSize object
+
+###### Throws
+
+Error if screen size cannot be determined
+
+### getWindowTitle()
+
+```ts
+getWindowTitle(windowId: string): Promise<string>
+```
+
+Get the title of the window with the given ID.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `windowId` | `string` | The ID of the window. |
+
+###### Returns
+
+`Promise`\<`string`\>
+
+The title of the window.
+
+### leftClick()
+
+```ts
+leftClick(x?: number, y?: number): Promise<void>
+```
+
+Left click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### middleClick()
+
+```ts
+middleClick(x?: number, y?: number): Promise<void>
+```
+
+Middle click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mousePress()
+
+```ts
+mousePress(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Press the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### mouseRelease()
+
+```ts
+mouseRelease(button: "left" | "right" | "middle"): Promise<void>
+```
+
+Release the mouse button.
+
+###### Parameters
+
+| Parameter | Type | Default value |
+| ------ | ------ | ------ |
+| `button` | `"left"` \| `"right"` \| `"middle"` | `'left'` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### moveMouse()
+
+```ts
+moveMouse(x: number, y: number): Promise<void>
+```
+
+Move the mouse to the given coordinates.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `x` | `number` | The x coordinate. |
+| `y` | `number` | The y coordinate. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### open()
+
+```ts
+open(fileOrUrl: string): Promise<void>
+```
+
+Open a file or a URL in the default application.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `fileOrUrl` | `string` | The file or URL to open. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### press()
+
+```ts
+press(key: string | string[]): Promise<void>
+```
+
+Press a key.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `key` | `string` \| `string`[] | The key to press (e.g. "enter", "space", "backspace", etc.). Can be a single key or an array of keys. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### rightClick()
+
+```ts
+rightClick(x?: number, y?: number): Promise<void>
+```
+
+Right click on the mouse position.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `x`? | `number` |
+| `y`? | `number` |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### screenshot()
+
+###### screenshot()
+
+```ts
+screenshot(): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "bytes"): Promise<Uint8Array<ArrayBufferLike>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `format` | `"bytes"` | The format of the screenshot. |
+
+###### Returns
+
+`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
+
+A Uint8Array bytes representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "blob"): Promise<Blob>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"blob"` |
+
+###### Returns
+
+`Promise`\<`Blob`\>
+
+A Blob representation of the screenshot.
+
+###### screenshot(format)
+
+```ts
+screenshot(format: "stream"): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>
+```
+
+Take a screenshot and save it to the given name.
+
+###### Parameters
+
+| Parameter | Type |
+| ------ | ------ |
+| `format` | `"stream"` |
+
+###### Returns
+
+`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\>
+
+A ReadableStream of bytes representation of the screenshot.
+
+### scroll()
+
+```ts
+scroll(direction: "down" | "up", amount: number): Promise<void>
+```
+
+Scroll the mouse wheel by the given amount.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `direction` | `"down"` \| `"up"` | `'down'` | The direction to scroll. Can be "up" or "down". |
+| `amount` | `number` | `1` | The amount to scroll. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### wait()
+
+```ts
+wait(ms: number): Promise<void>
+```
+
+Wait for the given amount of time.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `ms` | `number` | The amount of time to wait in milliseconds. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### waitAndVerify()
+
+```ts
+waitAndVerify(
+ cmd: string,
+ onResult: (result: CommandResult) => boolean,
+ timeout: number,
+interval: number): Promise<boolean>
+```
+
+Wait for a command to return a specific result.
+
+###### Parameters
+
+| Parameter | Type | Default value | Description |
+| ------ | ------ | ------ | ------ |
+| `cmd` | `string` | `undefined` | The command to run. |
+| `onResult` | (`result`: `CommandResult`) => `boolean` | `undefined` | The function to check the result of the command. |
+| `timeout` | `number` | `10` | The maximum time to wait for the command to return the result. |
+| `interval` | `number` | `0.5` | The interval to wait between checks. |
+
+###### Returns
+
+`Promise`\<`boolean`\>
+
+`true` if the command returned the result within the timeout, otherwise `false`.
+
+### write()
+
+```ts
+write(text: string, options: object): Promise<void>
+```
+
+Write the given text at the current cursor position.
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `text` | `string` | The text to write. |
+| `options` | `object` | An object containing the chunk size and delay between each chunk of text. |
+| `options.chunkSize` | `number` | The size of each chunk of text to write. Default is 25 characters. |
+| `options.delayInMs` | `number` | The delay between each chunk of text. Default is 75 ms. |
+
+###### Returns
+
+`Promise`\<`void`\>
+
+### create()
+
+###### create(this, opts)
+
+```ts
+static create<S>(this: S, opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the default `desktop` sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create()
+```
+
+###### Constructs
+
+Sandbox
+
+###### create(this, template, opts)
+
+```ts
+static create<S>(
+ this: S,
+ template: string,
+opts?: SandboxOpts): Promise<InstanceType<S>>
+```
+
+Create a new sandbox from the specified sandbox template.
+
+###### Type Parameters
+
+| Type Parameter |
+| ------ |
+| `S` *extends* *typeof* `Sandbox` |
+
+###### Parameters
+
+| Parameter | Type | Description |
+| ------ | ------ | ------ |
+| `this` | `S` | - |
+| `template` | `string` | sandbox template name or ID. |
+| `opts`? | `SandboxOpts` | connection options. |
+
+###### Returns
+
+`Promise`\<`InstanceType`\<`S`\>\>
+
+sandbox instance for the new sandbox.
+
+###### Example
+
+```ts
+const sandbox = await Sandbox.create('<template-name-or-id>')
+```
+
+###### Constructs
+
+Sandbox
+
+## Interfaces
+
+### SandboxOpts
+
+Configuration options for the Sandbox environment.
+ SandboxOpts
+
+#### Properties
+
+### display?
+
+```ts
+optional display: string;
+```
+
+Display identifier.
+
+### dpi?
+
+```ts
+optional dpi: number;
+```
+
+Dots per inch (DPI) setting for the display.
+
+### resolution?
+
+```ts
+optional resolution: [number, number];
+```
+
+The screen resolution in pixels, specified as [width, height].
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.0.2/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.0.2/sandbox/page.mdx
new file mode 100644
index 000000000..d7ffc70ab
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.0.2/sandbox/page.mdx
@@ -0,0 +1,228 @@
+
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxBase)
+```
+
+
+### \_\_init\_\_
+
+```python
+def __init__(resolution: Optional[Tuple[int, int]] = None,
+ dpi: Optional[int] = None,
+ display: Optional[str] = None,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None)
+```
+
+Create a new desktop sandbox.
+
+By default, the sandbox is created from the `desktop` template.
+
+**Arguments**:
+
+- `resolution`: Startup the desktop with custom screen resolution. Defaults to (1024, 768)
+- `dpi`: Startup the desktop with custom DPI. Defaults to 96
+- `display`: Startup the desktop with custom display. Defaults to ":0"
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: E2B domain to use for authentication, defaults to `E2B_DOMAIN` environment variable
+- `debug`: If True, the sandbox will be created in debug mode, defaults to `E2B_DEBUG` environment variable
+- `sandbox_id`: Sandbox ID to connect to, defaults to `E2B_SANDBOX_ID` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["stream"]) -> Iterator[bytes]
+```
+
+Take a screenshot and return it as a stream of bytes.
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["bytes"]) -> bytearray
+```
+
+Take a screenshot and return it as a bytearray.
+
+
+### screenshot
+
+```python
+def screenshot(format: Literal["bytes", "stream"] = "bytes")
+```
+
+Take a screenshot and return it in the specified format.
+
+**Arguments**:
+
+- `format`: The format of the screenshot. Can be 'bytes', 'blob', or 'stream'.
+
+**Returns**:
+
+The screenshot in the specified format.
+
+
+### left\_click
+
+```python
+def left_click()
+```
+
+Left click on the current mouse position.
+
+
+### double\_click
+
+```python
+def double_click()
+```
+
+Double left click on the current mouse position.
+
+
+### right\_click
+
+```python
+def right_click()
+```
+
+Right click on the current mouse position.
+
+
+### middle\_click
+
+```python
+def middle_click()
+```
+
+Middle click on the current mouse position.
+
+
+### scroll
+
+```python
+def scroll(direction: Literal["up", "down"] = "down", amount: int = 1)
+```
+
+Scroll the mouse wheel by the given amount.
+
+**Arguments**:
+
+- `direction`: The direction to scroll. Can be "up" or "down".
+- `amount`: The amount to scroll.
+
+
+### move\_mouse
+
+```python
+def move_mouse(x: int, y: int)
+```
+
+Move the mouse to the given coordinates.
+
+**Arguments**:
+
+- `x`: The x coordinate.
+- `y`: The y coordinate.
+
+
+### get\_cursor\_position
+
+```python
+def get_cursor_position() -> tuple[int, int]
+```
+
+Get the current cursor position.
+
+**Raises**:
+
+- `RuntimeError`: If the cursor position cannot be determined
+
+**Returns**:
+
+A tuple with the x and y coordinates
+
+
+### get\_screen\_size
+
+```python
+def get_screen_size() -> tuple[int, int]
+```
+
+Get the current screen size.
+
+**Raises**:
+
+- `RuntimeError`: If the screen size cannot be determined
+
+**Returns**:
+
+A tuple with the width and height
+
+
+### write
+
+```python
+def write(text: str, *, chunk_size: int = 25, delay_in_ms: int = 75) -> None
+```
+
+Write the given text at the current cursor position.
+
+**Arguments**:
+
+- `text`: The text to write.
+- `chunk_size`: The size of each chunk of text to write.
+- `delay_in_ms`: The delay between each chunk of text.
+
+
+### press
+
+```python
+def press(key: str)
+```
+
+Press a key.
+
+**Arguments**:
+
+- `key`: The key to press (e.g. "enter", "space", "backspace", etc.).
+
+
+### open
+
+```python
+def open(file_or_url: str)
+```
+
+Open a file or a URL in the default application.
+
+**Arguments**:
+
+- `file_or_url`: The file or URL to open.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.0.3/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.0.3/sandbox/page.mdx
new file mode 100644
index 000000000..d7ffc70ab
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.0.3/sandbox/page.mdx
@@ -0,0 +1,228 @@
+
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxBase)
+```
+
+
+### \_\_init\_\_
+
+```python
+def __init__(resolution: Optional[Tuple[int, int]] = None,
+ dpi: Optional[int] = None,
+ display: Optional[str] = None,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None)
+```
+
+Create a new desktop sandbox.
+
+By default, the sandbox is created from the `desktop` template.
+
+**Arguments**:
+
+- `resolution`: Startup the desktop with custom screen resolution. Defaults to (1024, 768)
+- `dpi`: Startup the desktop with custom DPI. Defaults to 96
+- `display`: Startup the desktop with custom display. Defaults to ":0"
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: E2B domain to use for authentication, defaults to `E2B_DOMAIN` environment variable
+- `debug`: If True, the sandbox will be created in debug mode, defaults to `E2B_DEBUG` environment variable
+- `sandbox_id`: Sandbox ID to connect to, defaults to `E2B_SANDBOX_ID` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["stream"]) -> Iterator[bytes]
+```
+
+Take a screenshot and return it as a stream of bytes.
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["bytes"]) -> bytearray
+```
+
+Take a screenshot and return it as a bytearray.
+
+
+### screenshot
+
+```python
+def screenshot(format: Literal["bytes", "stream"] = "bytes")
+```
+
+Take a screenshot and return it in the specified format.
+
+**Arguments**:
+
+- `format`: The format of the screenshot. Can be 'bytes', 'blob', or 'stream'.
+
+**Returns**:
+
+The screenshot in the specified format.
+
+
+### left\_click
+
+```python
+def left_click()
+```
+
+Left click on the current mouse position.
+
+
+### double\_click
+
+```python
+def double_click()
+```
+
+Double left click on the current mouse position.
+
+
+### right\_click
+
+```python
+def right_click()
+```
+
+Right click on the current mouse position.
+
+
+### middle\_click
+
+```python
+def middle_click()
+```
+
+Middle click on the current mouse position.
+
+
+### scroll
+
+```python
+def scroll(direction: Literal["up", "down"] = "down", amount: int = 1)
+```
+
+Scroll the mouse wheel by the given amount.
+
+**Arguments**:
+
+- `direction`: The direction to scroll. Can be "up" or "down".
+- `amount`: The amount to scroll.
+
+
+### move\_mouse
+
+```python
+def move_mouse(x: int, y: int)
+```
+
+Move the mouse to the given coordinates.
+
+**Arguments**:
+
+- `x`: The x coordinate.
+- `y`: The y coordinate.
+
+
+### get\_cursor\_position
+
+```python
+def get_cursor_position() -> tuple[int, int]
+```
+
+Get the current cursor position.
+
+**Raises**:
+
+- `RuntimeError`: If the cursor position cannot be determined
+
+**Returns**:
+
+A tuple with the x and y coordinates
+
+
+### get\_screen\_size
+
+```python
+def get_screen_size() -> tuple[int, int]
+```
+
+Get the current screen size.
+
+**Raises**:
+
+- `RuntimeError`: If the screen size cannot be determined
+
+**Returns**:
+
+A tuple with the width and height
+
+
+### write
+
+```python
+def write(text: str, *, chunk_size: int = 25, delay_in_ms: int = 75) -> None
+```
+
+Write the given text at the current cursor position.
+
+**Arguments**:
+
+- `text`: The text to write.
+- `chunk_size`: The size of each chunk of text to write.
+- `delay_in_ms`: The delay between each chunk of text.
+
+
+### press
+
+```python
+def press(key: str)
+```
+
+Press a key.
+
+**Arguments**:
+
+- `key`: The key to press (e.g. "enter", "space", "backspace", etc.).
+
+
+### open
+
+```python
+def open(file_or_url: str)
+```
+
+Open a file or a URL in the default application.
+
+**Arguments**:
+
+- `file_or_url`: The file or URL to open.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.1.1/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.1.1/sandbox/page.mdx
new file mode 100644
index 000000000..d7ffc70ab
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.1.1/sandbox/page.mdx
@@ -0,0 +1,228 @@
+
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxBase)
+```
+
+
+### \_\_init\_\_
+
+```python
+def __init__(resolution: Optional[Tuple[int, int]] = None,
+ dpi: Optional[int] = None,
+ display: Optional[str] = None,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None)
+```
+
+Create a new desktop sandbox.
+
+By default, the sandbox is created from the `desktop` template.
+
+**Arguments**:
+
+- `resolution`: Startup the desktop with custom screen resolution. Defaults to (1024, 768)
+- `dpi`: Startup the desktop with custom DPI. Defaults to 96
+- `display`: Startup the desktop with custom display. Defaults to ":0"
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: E2B domain to use for authentication, defaults to `E2B_DOMAIN` environment variable
+- `debug`: If True, the sandbox will be created in debug mode, defaults to `E2B_DEBUG` environment variable
+- `sandbox_id`: Sandbox ID to connect to, defaults to `E2B_SANDBOX_ID` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["stream"]) -> Iterator[bytes]
+```
+
+Take a screenshot and return it as a stream of bytes.
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["bytes"]) -> bytearray
+```
+
+Take a screenshot and return it as a bytearray.
+
+
+### screenshot
+
+```python
+def screenshot(format: Literal["bytes", "stream"] = "bytes")
+```
+
+Take a screenshot and return it in the specified format.
+
+**Arguments**:
+
+- `format`: The format of the screenshot. Can be 'bytes', 'blob', or 'stream'.
+
+**Returns**:
+
+The screenshot in the specified format.
+
+
+### left\_click
+
+```python
+def left_click()
+```
+
+Left click on the current mouse position.
+
+
+### double\_click
+
+```python
+def double_click()
+```
+
+Double left click on the current mouse position.
+
+
+### right\_click
+
+```python
+def right_click()
+```
+
+Right click on the current mouse position.
+
+
+### middle\_click
+
+```python
+def middle_click()
+```
+
+Middle click on the current mouse position.
+
+
+### scroll
+
+```python
+def scroll(direction: Literal["up", "down"] = "down", amount: int = 1)
+```
+
+Scroll the mouse wheel by the given amount.
+
+**Arguments**:
+
+- `direction`: The direction to scroll. Can be "up" or "down".
+- `amount`: The amount to scroll.
+
+
+### move\_mouse
+
+```python
+def move_mouse(x: int, y: int)
+```
+
+Move the mouse to the given coordinates.
+
+**Arguments**:
+
+- `x`: The x coordinate.
+- `y`: The y coordinate.
+
+
+### get\_cursor\_position
+
+```python
+def get_cursor_position() -> tuple[int, int]
+```
+
+Get the current cursor position.
+
+**Raises**:
+
+- `RuntimeError`: If the cursor position cannot be determined
+
+**Returns**:
+
+A tuple with the x and y coordinates
+
+
+### get\_screen\_size
+
+```python
+def get_screen_size() -> tuple[int, int]
+```
+
+Get the current screen size.
+
+**Raises**:
+
+- `RuntimeError`: If the screen size cannot be determined
+
+**Returns**:
+
+A tuple with the width and height
+
+
+### write
+
+```python
+def write(text: str, *, chunk_size: int = 25, delay_in_ms: int = 75) -> None
+```
+
+Write the given text at the current cursor position.
+
+**Arguments**:
+
+- `text`: The text to write.
+- `chunk_size`: The size of each chunk of text to write.
+- `delay_in_ms`: The delay between each chunk of text.
+
+
+### press
+
+```python
+def press(key: str)
+```
+
+Press a key.
+
+**Arguments**:
+
+- `key`: The key to press (e.g. "enter", "space", "backspace", etc.).
+
+
+### open
+
+```python
+def open(file_or_url: str)
+```
+
+Open a file or a URL in the default application.
+
+**Arguments**:
+
+- `file_or_url`: The file or URL to open.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.2.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.2.0/sandbox/page.mdx
new file mode 100644
index 000000000..d7ffc70ab
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.2.0/sandbox/page.mdx
@@ -0,0 +1,228 @@
+
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxBase)
+```
+
+
+### \_\_init\_\_
+
+```python
+def __init__(resolution: Optional[Tuple[int, int]] = None,
+ dpi: Optional[int] = None,
+ display: Optional[str] = None,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None)
+```
+
+Create a new desktop sandbox.
+
+By default, the sandbox is created from the `desktop` template.
+
+**Arguments**:
+
+- `resolution`: Startup the desktop with custom screen resolution. Defaults to (1024, 768)
+- `dpi`: Startup the desktop with custom DPI. Defaults to 96
+- `display`: Startup the desktop with custom display. Defaults to ":0"
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: E2B domain to use for authentication, defaults to `E2B_DOMAIN` environment variable
+- `debug`: If True, the sandbox will be created in debug mode, defaults to `E2B_DEBUG` environment variable
+- `sandbox_id`: Sandbox ID to connect to, defaults to `E2B_SANDBOX_ID` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["stream"]) -> Iterator[bytes]
+```
+
+Take a screenshot and return it as a stream of bytes.
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["bytes"]) -> bytearray
+```
+
+Take a screenshot and return it as a bytearray.
+
+
+### screenshot
+
+```python
+def screenshot(format: Literal["bytes", "stream"] = "bytes")
+```
+
+Take a screenshot and return it in the specified format.
+
+**Arguments**:
+
+- `format`: The format of the screenshot. Can be 'bytes', 'blob', or 'stream'.
+
+**Returns**:
+
+The screenshot in the specified format.
+
+
+### left\_click
+
+```python
+def left_click()
+```
+
+Left click on the current mouse position.
+
+
+### double\_click
+
+```python
+def double_click()
+```
+
+Double left click on the current mouse position.
+
+
+### right\_click
+
+```python
+def right_click()
+```
+
+Right click on the current mouse position.
+
+
+### middle\_click
+
+```python
+def middle_click()
+```
+
+Middle click on the current mouse position.
+
+
+### scroll
+
+```python
+def scroll(direction: Literal["up", "down"] = "down", amount: int = 1)
+```
+
+Scroll the mouse wheel by the given amount.
+
+**Arguments**:
+
+- `direction`: The direction to scroll. Can be "up" or "down".
+- `amount`: The amount to scroll.
+
+
+### move\_mouse
+
+```python
+def move_mouse(x: int, y: int)
+```
+
+Move the mouse to the given coordinates.
+
+**Arguments**:
+
+- `x`: The x coordinate.
+- `y`: The y coordinate.
+
+
+### get\_cursor\_position
+
+```python
+def get_cursor_position() -> tuple[int, int]
+```
+
+Get the current cursor position.
+
+**Raises**:
+
+- `RuntimeError`: If the cursor position cannot be determined
+
+**Returns**:
+
+A tuple with the x and y coordinates
+
+
+### get\_screen\_size
+
+```python
+def get_screen_size() -> tuple[int, int]
+```
+
+Get the current screen size.
+
+**Raises**:
+
+- `RuntimeError`: If the screen size cannot be determined
+
+**Returns**:
+
+A tuple with the width and height
+
+
+### write
+
+```python
+def write(text: str, *, chunk_size: int = 25, delay_in_ms: int = 75) -> None
+```
+
+Write the given text at the current cursor position.
+
+**Arguments**:
+
+- `text`: The text to write.
+- `chunk_size`: The size of each chunk of text to write.
+- `delay_in_ms`: The delay between each chunk of text.
+
+
+### press
+
+```python
+def press(key: str)
+```
+
+Press a key.
+
+**Arguments**:
+
+- `key`: The key to press (e.g. "enter", "space", "backspace", etc.).
+
+
+### open
+
+```python
+def open(file_or_url: str)
+```
+
+Open a file or a URL in the default application.
+
+**Arguments**:
+
+- `file_or_url`: The file or URL to open.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.3.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.3.0/sandbox/page.mdx
new file mode 100644
index 000000000..f3c2632db
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.3.0/sandbox/page.mdx
@@ -0,0 +1,255 @@
+
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxBase)
+```
+
+
+### \_\_init\_\_
+
+```python
+def __init__(resolution: Optional[Tuple[int, int]] = None,
+ dpi: Optional[int] = None,
+ display: Optional[str] = None,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None)
+```
+
+Create a new desktop sandbox.
+
+By default, the sandbox is created from the `desktop` template.
+
+**Arguments**:
+
+- `resolution`: Startup the desktop with custom screen resolution. Defaults to (1024, 768)
+- `dpi`: Startup the desktop with custom DPI. Defaults to 96
+- `display`: Startup the desktop with custom display. Defaults to ":0"
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: E2B domain to use for authentication, defaults to `E2B_DOMAIN` environment variable
+- `debug`: If True, the sandbox will be created in debug mode, defaults to `E2B_DEBUG` environment variable
+- `sandbox_id`: Sandbox ID to connect to, defaults to `E2B_SANDBOX_ID` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["stream"]) -> Iterator[bytes]
+```
+
+Take a screenshot and return it as a stream of bytes.
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["bytes"]) -> bytearray
+```
+
+Take a screenshot and return it as a bytearray.
+
+
+### screenshot
+
+```python
+def screenshot(format: Literal["bytes", "stream"] = "bytes")
+```
+
+Take a screenshot and return it in the specified format.
+
+**Arguments**:
+
+- `format`: The format of the screenshot. Can be 'bytes', 'blob', or 'stream'.
+
+**Returns**:
+
+The screenshot in the specified format.
+
+
+### left\_click
+
+```python
+def left_click()
+```
+
+Left click on the current mouse position.
+
+
+### double\_click
+
+```python
+def double_click()
+```
+
+Double left click on the current mouse position.
+
+
+### right\_click
+
+```python
+def right_click()
+```
+
+Right click on the current mouse position.
+
+
+### middle\_click
+
+```python
+def middle_click()
+```
+
+Middle click on the current mouse position.
+
+
+### scroll
+
+```python
+def scroll(direction: Literal["up", "down"] = "down", amount: int = 1)
+```
+
+Scroll the mouse wheel by the given amount.
+
+**Arguments**:
+
+- `direction`: The direction to scroll. Can be "up" or "down".
+- `amount`: The amount to scroll.
+
+
+### move\_mouse
+
+```python
+def move_mouse(x: int, y: int)
+```
+
+Move the mouse to the given coordinates.
+
+**Arguments**:
+
+- `x`: The x coordinate.
+- `y`: The y coordinate.
+
+
+### get\_cursor\_position
+
+```python
+def get_cursor_position() -> tuple[int, int]
+```
+
+Get the current cursor position.
+
+**Raises**:
+
+- `RuntimeError`: If the cursor position cannot be determined
+
+**Returns**:
+
+A tuple with the x and y coordinates
+
+
+### get\_screen\_size
+
+```python
+def get_screen_size() -> tuple[int, int]
+```
+
+Get the current screen size.
+
+**Raises**:
+
+- `RuntimeError`: If the screen size cannot be determined
+
+**Returns**:
+
+A tuple with the width and height
+
+
+### write
+
+```python
+def write(text: str, *, chunk_size: int = 25, delay_in_ms: int = 75) -> None
+```
+
+Write the given text at the current cursor position.
+
+**Arguments**:
+
+- `text`: The text to write.
+- `chunk_size`: The size of each chunk of text to write.
+- `delay_in_ms`: The delay between each chunk of text.
+
+
+### press
+
+```python
+def press(key: str | list[str])
+```
+
+Press a key.
+
+**Arguments**:
+
+- `key`: The key to press (e.g. "enter", "space", "backspace", etc.).
+
+
+### drag
+
+```python
+def drag(fr: tuple[int, int], to: tuple[int, int])
+```
+
+Drag the mouse from the given position to the given position.
+
+**Arguments**:
+
+- `from`: The starting position.
+- `to`: The ending position.
+
+
+### wait
+
+```python
+def wait(ms: int)
+```
+
+Wait for the given amount of time.
+
+**Arguments**:
+
+- `ms`: The amount of time to wait in milliseconds.
+
+
+### open
+
+```python
+def open(file_or_url: str)
+```
+
+Open a file or a URL in the default application.
+
+**Arguments**:
+
+- `file_or_url`: The file or URL to open.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.4.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.4.0/sandbox/page.mdx
new file mode 100644
index 000000000..89c24bcf5
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.4.0/sandbox/page.mdx
@@ -0,0 +1,273 @@
+
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxBase)
+```
+
+
+### \_\_init\_\_
+
+```python
+def __init__(resolution: Optional[Tuple[int, int]] = None,
+ dpi: Optional[int] = None,
+ display: Optional[str] = None,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None)
+```
+
+Create a new desktop sandbox.
+
+By default, the sandbox is created from the `desktop` template.
+
+**Arguments**:
+
+- `resolution`: Startup the desktop with custom screen resolution. Defaults to (1024, 768)
+- `dpi`: Startup the desktop with custom DPI. Defaults to 96
+- `display`: Startup the desktop with custom display. Defaults to ":0"
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: E2B domain to use for authentication, defaults to `E2B_DOMAIN` environment variable
+- `debug`: If True, the sandbox will be created in debug mode, defaults to `E2B_DEBUG` environment variable
+- `sandbox_id`: Sandbox ID to connect to, defaults to `E2B_SANDBOX_ID` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["stream"]) -> Iterator[bytes]
+```
+
+Take a screenshot and return it as a stream of bytes.
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["bytes"]) -> bytearray
+```
+
+Take a screenshot and return it as a bytearray.
+
+
+### screenshot
+
+```python
+def screenshot(format: Literal["bytes", "stream"] = "bytes")
+```
+
+Take a screenshot and return it in the specified format.
+
+**Arguments**:
+
+- `format`: The format of the screenshot. Can be 'bytes', 'blob', or 'stream'.
+
+**Returns**:
+
+The screenshot in the specified format.
+
+
+### left\_click
+
+```python
+def left_click()
+```
+
+Left click on the current mouse position.
+
+
+### double\_click
+
+```python
+def double_click()
+```
+
+Double left click on the current mouse position.
+
+
+### right\_click
+
+```python
+def right_click()
+```
+
+Right click on the current mouse position.
+
+
+### middle\_click
+
+```python
+def middle_click()
+```
+
+Middle click on the current mouse position.
+
+
+### scroll
+
+```python
+def scroll(direction: Literal["up", "down"] = "down", amount: int = 1)
+```
+
+Scroll the mouse wheel by the given amount.
+
+**Arguments**:
+
+- `direction`: The direction to scroll. Can be "up" or "down".
+- `amount`: The amount to scroll.
+
+
+### move\_mouse
+
+```python
+def move_mouse(x: int, y: int)
+```
+
+Move the mouse to the given coordinates.
+
+**Arguments**:
+
+- `x`: The x coordinate.
+- `y`: The y coordinate.
+
+
+### mouse\_press
+
+```python
+def mouse_press(button: Literal["left", "right", "middle"] = "left")
+```
+
+Press the mouse button.
+
+
+### mouse\_release
+
+```python
+def mouse_release(button: Literal["left", "right", "middle"] = "left")
+```
+
+Release the mouse button.
+
+
+### get\_cursor\_position
+
+```python
+def get_cursor_position() -> tuple[int, int]
+```
+
+Get the current cursor position.
+
+**Raises**:
+
+- `RuntimeError`: If the cursor position cannot be determined
+
+**Returns**:
+
+A tuple with the x and y coordinates
+
+
+### get\_screen\_size
+
+```python
+def get_screen_size() -> tuple[int, int]
+```
+
+Get the current screen size.
+
+**Raises**:
+
+- `RuntimeError`: If the screen size cannot be determined
+
+**Returns**:
+
+A tuple with the width and height
+
+
+### write
+
+```python
+def write(text: str, *, chunk_size: int = 25, delay_in_ms: int = 75) -> None
+```
+
+Write the given text at the current cursor position.
+
+**Arguments**:
+
+- `text`: The text to write.
+- `chunk_size`: The size of each chunk of text to write.
+- `delay_in_ms`: The delay between each chunk of text.
+
+
+### press
+
+```python
+def press(key: str | list[str])
+```
+
+Press a key.
+
+**Arguments**:
+
+- `key`: The key to press (e.g. "enter", "space", "backspace", etc.).
+
+
+### drag
+
+```python
+def drag(fr: tuple[int, int], to: tuple[int, int])
+```
+
+Drag the mouse from the given position to the given position.
+
+**Arguments**:
+
+- `from`: The starting position.
+- `to`: The ending position.
+
+
+### wait
+
+```python
+def wait(ms: int)
+```
+
+Wait for the given amount of time.
+
+**Arguments**:
+
+- `ms`: The amount of time to wait in milliseconds.
+
+
+### open
+
+```python
+def open(file_or_url: str)
+```
+
+Open a file or a URL in the default application.
+
+**Arguments**:
+
+- `file_or_url`: The file or URL to open.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.5.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.5.0/sandbox/page.mdx
new file mode 100644
index 000000000..89c24bcf5
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.5.0/sandbox/page.mdx
@@ -0,0 +1,273 @@
+
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxBase)
+```
+
+
+### \_\_init\_\_
+
+```python
+def __init__(resolution: Optional[Tuple[int, int]] = None,
+ dpi: Optional[int] = None,
+ display: Optional[str] = None,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None)
+```
+
+Create a new desktop sandbox.
+
+By default, the sandbox is created from the `desktop` template.
+
+**Arguments**:
+
+- `resolution`: Startup the desktop with custom screen resolution. Defaults to (1024, 768)
+- `dpi`: Startup the desktop with custom DPI. Defaults to 96
+- `display`: Startup the desktop with custom display. Defaults to ":0"
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: E2B domain to use for authentication, defaults to `E2B_DOMAIN` environment variable
+- `debug`: If True, the sandbox will be created in debug mode, defaults to `E2B_DEBUG` environment variable
+- `sandbox_id`: Sandbox ID to connect to, defaults to `E2B_SANDBOX_ID` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["stream"]) -> Iterator[bytes]
+```
+
+Take a screenshot and return it as a stream of bytes.
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["bytes"]) -> bytearray
+```
+
+Take a screenshot and return it as a bytearray.
+
+
+### screenshot
+
+```python
+def screenshot(format: Literal["bytes", "stream"] = "bytes")
+```
+
+Take a screenshot and return it in the specified format.
+
+**Arguments**:
+
+- `format`: The format of the screenshot. Can be 'bytes', 'blob', or 'stream'.
+
+**Returns**:
+
+The screenshot in the specified format.
+
+
+### left\_click
+
+```python
+def left_click()
+```
+
+Left click on the current mouse position.
+
+
+### double\_click
+
+```python
+def double_click()
+```
+
+Double left click on the current mouse position.
+
+
+### right\_click
+
+```python
+def right_click()
+```
+
+Right click on the current mouse position.
+
+
+### middle\_click
+
+```python
+def middle_click()
+```
+
+Middle click on the current mouse position.
+
+
+### scroll
+
+```python
+def scroll(direction: Literal["up", "down"] = "down", amount: int = 1)
+```
+
+Scroll the mouse wheel by the given amount.
+
+**Arguments**:
+
+- `direction`: The direction to scroll. Can be "up" or "down".
+- `amount`: The amount to scroll.
+
+
+### move\_mouse
+
+```python
+def move_mouse(x: int, y: int)
+```
+
+Move the mouse to the given coordinates.
+
+**Arguments**:
+
+- `x`: The x coordinate.
+- `y`: The y coordinate.
+
+
+### mouse\_press
+
+```python
+def mouse_press(button: Literal["left", "right", "middle"] = "left")
+```
+
+Press the mouse button.
+
+
+### mouse\_release
+
+```python
+def mouse_release(button: Literal["left", "right", "middle"] = "left")
+```
+
+Release the mouse button.
+
+
+### get\_cursor\_position
+
+```python
+def get_cursor_position() -> tuple[int, int]
+```
+
+Get the current cursor position.
+
+**Raises**:
+
+- `RuntimeError`: If the cursor position cannot be determined
+
+**Returns**:
+
+A tuple with the x and y coordinates
+
+
+### get\_screen\_size
+
+```python
+def get_screen_size() -> tuple[int, int]
+```
+
+Get the current screen size.
+
+**Raises**:
+
+- `RuntimeError`: If the screen size cannot be determined
+
+**Returns**:
+
+A tuple with the width and height
+
+
+### write
+
+```python
+def write(text: str, *, chunk_size: int = 25, delay_in_ms: int = 75) -> None
+```
+
+Write the given text at the current cursor position.
+
+**Arguments**:
+
+- `text`: The text to write.
+- `chunk_size`: The size of each chunk of text to write.
+- `delay_in_ms`: The delay between each chunk of text.
+
+
+### press
+
+```python
+def press(key: str | list[str])
+```
+
+Press a key.
+
+**Arguments**:
+
+- `key`: The key to press (e.g. "enter", "space", "backspace", etc.).
+
+
+### drag
+
+```python
+def drag(fr: tuple[int, int], to: tuple[int, int])
+```
+
+Drag the mouse from the given position to the given position.
+
+**Arguments**:
+
+- `from`: The starting position.
+- `to`: The ending position.
+
+
+### wait
+
+```python
+def wait(ms: int)
+```
+
+Wait for the given amount of time.
+
+**Arguments**:
+
+- `ms`: The amount of time to wait in milliseconds.
+
+
+### open
+
+```python
+def open(file_or_url: str)
+```
+
+Open a file or a URL in the default application.
+
+**Arguments**:
+
+- `file_or_url`: The file or URL to open.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.5.1/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.5.1/sandbox/page.mdx
new file mode 100644
index 000000000..89c24bcf5
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.5.1/sandbox/page.mdx
@@ -0,0 +1,273 @@
+
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxBase)
+```
+
+
+### \_\_init\_\_
+
+```python
+def __init__(resolution: Optional[Tuple[int, int]] = None,
+ dpi: Optional[int] = None,
+ display: Optional[str] = None,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None)
+```
+
+Create a new desktop sandbox.
+
+By default, the sandbox is created from the `desktop` template.
+
+**Arguments**:
+
+- `resolution`: Startup the desktop with custom screen resolution. Defaults to (1024, 768)
+- `dpi`: Startup the desktop with custom DPI. Defaults to 96
+- `display`: Startup the desktop with custom display. Defaults to ":0"
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: E2B domain to use for authentication, defaults to `E2B_DOMAIN` environment variable
+- `debug`: If True, the sandbox will be created in debug mode, defaults to `E2B_DEBUG` environment variable
+- `sandbox_id`: Sandbox ID to connect to, defaults to `E2B_SANDBOX_ID` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["stream"]) -> Iterator[bytes]
+```
+
+Take a screenshot and return it as a stream of bytes.
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["bytes"]) -> bytearray
+```
+
+Take a screenshot and return it as a bytearray.
+
+
+### screenshot
+
+```python
+def screenshot(format: Literal["bytes", "stream"] = "bytes")
+```
+
+Take a screenshot and return it in the specified format.
+
+**Arguments**:
+
+- `format`: The format of the screenshot. Can be 'bytes', 'blob', or 'stream'.
+
+**Returns**:
+
+The screenshot in the specified format.
+
+
+### left\_click
+
+```python
+def left_click()
+```
+
+Left click on the current mouse position.
+
+
+### double\_click
+
+```python
+def double_click()
+```
+
+Double left click on the current mouse position.
+
+
+### right\_click
+
+```python
+def right_click()
+```
+
+Right click on the current mouse position.
+
+
+### middle\_click
+
+```python
+def middle_click()
+```
+
+Middle click on the current mouse position.
+
+
+### scroll
+
+```python
+def scroll(direction: Literal["up", "down"] = "down", amount: int = 1)
+```
+
+Scroll the mouse wheel by the given amount.
+
+**Arguments**:
+
+- `direction`: The direction to scroll. Can be "up" or "down".
+- `amount`: The amount to scroll.
+
+
+### move\_mouse
+
+```python
+def move_mouse(x: int, y: int)
+```
+
+Move the mouse to the given coordinates.
+
+**Arguments**:
+
+- `x`: The x coordinate.
+- `y`: The y coordinate.
+
+
+### mouse\_press
+
+```python
+def mouse_press(button: Literal["left", "right", "middle"] = "left")
+```
+
+Press the mouse button.
+
+
+### mouse\_release
+
+```python
+def mouse_release(button: Literal["left", "right", "middle"] = "left")
+```
+
+Release the mouse button.
+
+
+### get\_cursor\_position
+
+```python
+def get_cursor_position() -> tuple[int, int]
+```
+
+Get the current cursor position.
+
+**Raises**:
+
+- `RuntimeError`: If the cursor position cannot be determined
+
+**Returns**:
+
+A tuple with the x and y coordinates
+
+
+### get\_screen\_size
+
+```python
+def get_screen_size() -> tuple[int, int]
+```
+
+Get the current screen size.
+
+**Raises**:
+
+- `RuntimeError`: If the screen size cannot be determined
+
+**Returns**:
+
+A tuple with the width and height
+
+
+### write
+
+```python
+def write(text: str, *, chunk_size: int = 25, delay_in_ms: int = 75) -> None
+```
+
+Write the given text at the current cursor position.
+
+**Arguments**:
+
+- `text`: The text to write.
+- `chunk_size`: The size of each chunk of text to write.
+- `delay_in_ms`: The delay between each chunk of text.
+
+
+### press
+
+```python
+def press(key: str | list[str])
+```
+
+Press a key.
+
+**Arguments**:
+
+- `key`: The key to press (e.g. "enter", "space", "backspace", etc.).
+
+
+### drag
+
+```python
+def drag(fr: tuple[int, int], to: tuple[int, int])
+```
+
+Drag the mouse from the given position to the given position.
+
+**Arguments**:
+
+- `from`: The starting position.
+- `to`: The ending position.
+
+
+### wait
+
+```python
+def wait(ms: int)
+```
+
+Wait for the given amount of time.
+
+**Arguments**:
+
+- `ms`: The amount of time to wait in milliseconds.
+
+
+### open
+
+```python
+def open(file_or_url: str)
+```
+
+Open a file or a URL in the default application.
+
+**Arguments**:
+
+- `file_or_url`: The file or URL to open.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.5.2/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.5.2/sandbox/page.mdx
new file mode 100644
index 000000000..88e0f0cbe
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.5.2/sandbox/page.mdx
@@ -0,0 +1,264 @@
+
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxBase)
+```
+
+
+### \_\_init\_\_
+
+```python
+def __init__(resolution: Optional[Tuple[int, int]] = None,
+ dpi: Optional[int] = None,
+ display: Optional[str] = None,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None)
+```
+
+Create a new desktop sandbox.
+
+By default, the sandbox is created from the `desktop` template.
+
+**Arguments**:
+
+- `resolution`: Startup the desktop with custom screen resolution. Defaults to (1024, 768)
+- `dpi`: Startup the desktop with custom DPI. Defaults to 96
+- `display`: Startup the desktop with custom display. Defaults to ":0"
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: E2B domain to use for authentication, defaults to `E2B_DOMAIN` environment variable
+- `debug`: If True, the sandbox will be created in debug mode, defaults to `E2B_DEBUG` environment variable
+- `sandbox_id`: Sandbox ID to connect to, defaults to `E2B_SANDBOX_ID` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["stream"]) -> Iterator[bytes]
+```
+
+Take a screenshot and return it as a stream of bytes.
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["bytes"]) -> bytearray
+```
+
+Take a screenshot and return it as a bytearray.
+
+
+### screenshot
+
+```python
+def screenshot(format: Literal["bytes", "stream"] = "bytes")
+```
+
+Take a screenshot and return it in the specified format.
+
+**Arguments**:
+
+- `format`: The format of the screenshot. Can be 'bytes', 'blob', or 'stream'.
+
+**Returns**:
+
+The screenshot in the specified format.
+
+
+### left\_click
+
+```python
+def left_click(x: Optional[int] = None, y: Optional[int] = None)
+```
+
+Left click on the mouse position.
+
+
+### double\_click
+
+```python
+def double_click(x: Optional[int] = None, y: Optional[int] = None)
+```
+
+Double left click on the mouse position.
+
+
+### middle\_click
+
+```python
+def middle_click(x: Optional[int] = None, y: Optional[int] = None)
+```
+
+Middle click on the mouse position.
+
+
+### scroll
+
+```python
+def scroll(direction: Literal["up", "down"] = "down", amount: int = 1)
+```
+
+Scroll the mouse wheel by the given amount.
+
+**Arguments**:
+
+- `direction`: The direction to scroll. Can be "up" or "down".
+- `amount`: The amount to scroll.
+
+
+### move\_mouse
+
+```python
+def move_mouse(x: int, y: int)
+```
+
+Move the mouse to the given coordinates.
+
+**Arguments**:
+
+- `x`: The x coordinate.
+- `y`: The y coordinate.
+
+
+### mouse\_press
+
+```python
+def mouse_press(button: Literal["left", "right", "middle"] = "left")
+```
+
+Press the mouse button.
+
+
+### mouse\_release
+
+```python
+def mouse_release(button: Literal["left", "right", "middle"] = "left")
+```
+
+Release the mouse button.
+
+
+### get\_cursor\_position
+
+```python
+def get_cursor_position() -> tuple[int, int]
+```
+
+Get the current cursor position.
+
+**Raises**:
+
+- `RuntimeError`: If the cursor position cannot be determined
+
+**Returns**:
+
+A tuple with the x and y coordinates
+
+
+### get\_screen\_size
+
+```python
+def get_screen_size() -> tuple[int, int]
+```
+
+Get the current screen size.
+
+**Raises**:
+
+- `RuntimeError`: If the screen size cannot be determined
+
+**Returns**:
+
+A tuple with the width and height
+
+
+### write
+
+```python
+def write(text: str, *, chunk_size: int = 25, delay_in_ms: int = 75) -> None
+```
+
+Write the given text at the current cursor position.
+
+**Arguments**:
+
+- `text`: The text to write.
+- `chunk_size`: The size of each chunk of text to write.
+- `delay_in_ms`: The delay between each chunk of text.
+
+
+### press
+
+```python
+def press(key: str | list[str])
+```
+
+Press a key.
+
+**Arguments**:
+
+- `key`: The key to press (e.g. "enter", "space", "backspace", etc.).
+
+
+### drag
+
+```python
+def drag(fr: tuple[int, int], to: tuple[int, int])
+```
+
+Drag the mouse from the given position to the given position.
+
+**Arguments**:
+
+- `from`: The starting position.
+- `to`: The ending position.
+
+
+### wait
+
+```python
+def wait(ms: int)
+```
+
+Wait for the given amount of time.
+
+**Arguments**:
+
+- `ms`: The amount of time to wait in milliseconds.
+
+
+### open
+
+```python
+def open(file_or_url: str)
+```
+
+Open a file or a URL in the default application.
+
+**Arguments**:
+
+- `file_or_url`: The file or URL to open.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.6.0/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.6.0/sandbox/page.mdx
new file mode 100644
index 000000000..88e0f0cbe
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.6.0/sandbox/page.mdx
@@ -0,0 +1,264 @@
+
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxBase)
+```
+
+
+### \_\_init\_\_
+
+```python
+def __init__(resolution: Optional[Tuple[int, int]] = None,
+ dpi: Optional[int] = None,
+ display: Optional[str] = None,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None)
+```
+
+Create a new desktop sandbox.
+
+By default, the sandbox is created from the `desktop` template.
+
+**Arguments**:
+
+- `resolution`: Startup the desktop with custom screen resolution. Defaults to (1024, 768)
+- `dpi`: Startup the desktop with custom DPI. Defaults to 96
+- `display`: Startup the desktop with custom display. Defaults to ":0"
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: E2B domain to use for authentication, defaults to `E2B_DOMAIN` environment variable
+- `debug`: If True, the sandbox will be created in debug mode, defaults to `E2B_DEBUG` environment variable
+- `sandbox_id`: Sandbox ID to connect to, defaults to `E2B_SANDBOX_ID` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["stream"]) -> Iterator[bytes]
+```
+
+Take a screenshot and return it as a stream of bytes.
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["bytes"]) -> bytearray
+```
+
+Take a screenshot and return it as a bytearray.
+
+
+### screenshot
+
+```python
+def screenshot(format: Literal["bytes", "stream"] = "bytes")
+```
+
+Take a screenshot and return it in the specified format.
+
+**Arguments**:
+
+- `format`: The format of the screenshot. Can be 'bytes', 'blob', or 'stream'.
+
+**Returns**:
+
+The screenshot in the specified format.
+
+
+### left\_click
+
+```python
+def left_click(x: Optional[int] = None, y: Optional[int] = None)
+```
+
+Left click on the mouse position.
+
+
+### double\_click
+
+```python
+def double_click(x: Optional[int] = None, y: Optional[int] = None)
+```
+
+Double left click on the mouse position.
+
+
+### middle\_click
+
+```python
+def middle_click(x: Optional[int] = None, y: Optional[int] = None)
+```
+
+Middle click on the mouse position.
+
+
+### scroll
+
+```python
+def scroll(direction: Literal["up", "down"] = "down", amount: int = 1)
+```
+
+Scroll the mouse wheel by the given amount.
+
+**Arguments**:
+
+- `direction`: The direction to scroll. Can be "up" or "down".
+- `amount`: The amount to scroll.
+
+
+### move\_mouse
+
+```python
+def move_mouse(x: int, y: int)
+```
+
+Move the mouse to the given coordinates.
+
+**Arguments**:
+
+- `x`: The x coordinate.
+- `y`: The y coordinate.
+
+
+### mouse\_press
+
+```python
+def mouse_press(button: Literal["left", "right", "middle"] = "left")
+```
+
+Press the mouse button.
+
+
+### mouse\_release
+
+```python
+def mouse_release(button: Literal["left", "right", "middle"] = "left")
+```
+
+Release the mouse button.
+
+
+### get\_cursor\_position
+
+```python
+def get_cursor_position() -> tuple[int, int]
+```
+
+Get the current cursor position.
+
+**Raises**:
+
+- `RuntimeError`: If the cursor position cannot be determined
+
+**Returns**:
+
+A tuple with the x and y coordinates
+
+
+### get\_screen\_size
+
+```python
+def get_screen_size() -> tuple[int, int]
+```
+
+Get the current screen size.
+
+**Raises**:
+
+- `RuntimeError`: If the screen size cannot be determined
+
+**Returns**:
+
+A tuple with the width and height
+
+
+### write
+
+```python
+def write(text: str, *, chunk_size: int = 25, delay_in_ms: int = 75) -> None
+```
+
+Write the given text at the current cursor position.
+
+**Arguments**:
+
+- `text`: The text to write.
+- `chunk_size`: The size of each chunk of text to write.
+- `delay_in_ms`: The delay between each chunk of text.
+
+
+### press
+
+```python
+def press(key: str | list[str])
+```
+
+Press a key.
+
+**Arguments**:
+
+- `key`: The key to press (e.g. "enter", "space", "backspace", etc.).
+
+
+### drag
+
+```python
+def drag(fr: tuple[int, int], to: tuple[int, int])
+```
+
+Drag the mouse from the given position to the given position.
+
+**Arguments**:
+
+- `from`: The starting position.
+- `to`: The ending position.
+
+
+### wait
+
+```python
+def wait(ms: int)
+```
+
+Wait for the given amount of time.
+
+**Arguments**:
+
+- `ms`: The amount of time to wait in milliseconds.
+
+
+### open
+
+```python
+def open(file_or_url: str)
+```
+
+Open a file or a URL in the default application.
+
+**Arguments**:
+
+- `file_or_url`: The file or URL to open.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.6.1/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.6.1/sandbox/page.mdx
new file mode 100644
index 000000000..88e0f0cbe
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.6.1/sandbox/page.mdx
@@ -0,0 +1,264 @@
+
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxBase)
+```
+
+
+### \_\_init\_\_
+
+```python
+def __init__(resolution: Optional[Tuple[int, int]] = None,
+ dpi: Optional[int] = None,
+ display: Optional[str] = None,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None)
+```
+
+Create a new desktop sandbox.
+
+By default, the sandbox is created from the `desktop` template.
+
+**Arguments**:
+
+- `resolution`: Startup the desktop with custom screen resolution. Defaults to (1024, 768)
+- `dpi`: Startup the desktop with custom DPI. Defaults to 96
+- `display`: Startup the desktop with custom display. Defaults to ":0"
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: E2B domain to use for authentication, defaults to `E2B_DOMAIN` environment variable
+- `debug`: If True, the sandbox will be created in debug mode, defaults to `E2B_DEBUG` environment variable
+- `sandbox_id`: Sandbox ID to connect to, defaults to `E2B_SANDBOX_ID` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["stream"]) -> Iterator[bytes]
+```
+
+Take a screenshot and return it as a stream of bytes.
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["bytes"]) -> bytearray
+```
+
+Take a screenshot and return it as a bytearray.
+
+
+### screenshot
+
+```python
+def screenshot(format: Literal["bytes", "stream"] = "bytes")
+```
+
+Take a screenshot and return it in the specified format.
+
+**Arguments**:
+
+- `format`: The format of the screenshot. Can be 'bytes', 'blob', or 'stream'.
+
+**Returns**:
+
+The screenshot in the specified format.
+
+
+### left\_click
+
+```python
+def left_click(x: Optional[int] = None, y: Optional[int] = None)
+```
+
+Left click on the mouse position.
+
+
+### double\_click
+
+```python
+def double_click(x: Optional[int] = None, y: Optional[int] = None)
+```
+
+Double left click on the mouse position.
+
+
+### middle\_click
+
+```python
+def middle_click(x: Optional[int] = None, y: Optional[int] = None)
+```
+
+Middle click on the mouse position.
+
+
+### scroll
+
+```python
+def scroll(direction: Literal["up", "down"] = "down", amount: int = 1)
+```
+
+Scroll the mouse wheel by the given amount.
+
+**Arguments**:
+
+- `direction`: The direction to scroll. Can be "up" or "down".
+- `amount`: The amount to scroll.
+
+
+### move\_mouse
+
+```python
+def move_mouse(x: int, y: int)
+```
+
+Move the mouse to the given coordinates.
+
+**Arguments**:
+
+- `x`: The x coordinate.
+- `y`: The y coordinate.
+
+
+### mouse\_press
+
+```python
+def mouse_press(button: Literal["left", "right", "middle"] = "left")
+```
+
+Press the mouse button.
+
+
+### mouse\_release
+
+```python
+def mouse_release(button: Literal["left", "right", "middle"] = "left")
+```
+
+Release the mouse button.
+
+
+### get\_cursor\_position
+
+```python
+def get_cursor_position() -> tuple[int, int]
+```
+
+Get the current cursor position.
+
+**Raises**:
+
+- `RuntimeError`: If the cursor position cannot be determined
+
+**Returns**:
+
+A tuple with the x and y coordinates
+
+
+### get\_screen\_size
+
+```python
+def get_screen_size() -> tuple[int, int]
+```
+
+Get the current screen size.
+
+**Raises**:
+
+- `RuntimeError`: If the screen size cannot be determined
+
+**Returns**:
+
+A tuple with the width and height
+
+
+### write
+
+```python
+def write(text: str, *, chunk_size: int = 25, delay_in_ms: int = 75) -> None
+```
+
+Write the given text at the current cursor position.
+
+**Arguments**:
+
+- `text`: The text to write.
+- `chunk_size`: The size of each chunk of text to write.
+- `delay_in_ms`: The delay between each chunk of text.
+
+
+### press
+
+```python
+def press(key: str | list[str])
+```
+
+Press a key.
+
+**Arguments**:
+
+- `key`: The key to press (e.g. "enter", "space", "backspace", etc.).
+
+
+### drag
+
+```python
+def drag(fr: tuple[int, int], to: tuple[int, int])
+```
+
+Drag the mouse from the given position to the given position.
+
+**Arguments**:
+
+- `from`: The starting position.
+- `to`: The ending position.
+
+
+### wait
+
+```python
+def wait(ms: int)
+```
+
+Wait for the given amount of time.
+
+**Arguments**:
+
+- `ms`: The amount of time to wait in milliseconds.
+
+
+### open
+
+```python
+def open(file_or_url: str)
+```
+
+Open a file or a URL in the default application.
+
+**Arguments**:
+
+- `file_or_url`: The file or URL to open.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.6.2/sandbox/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.6.2/sandbox/page.mdx
new file mode 100644
index 000000000..4201da639
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/desktop-python-sdk/v1.6.2/sandbox/page.mdx
@@ -0,0 +1,291 @@
+
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxBase)
+```
+
+
+### \_\_init\_\_
+
+```python
+def __init__(resolution: Optional[Tuple[int, int]] = None,
+ dpi: Optional[int] = None,
+ display: Optional[str] = None,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None)
+```
+
+Create a new desktop sandbox.
+
+By default, the sandbox is created from the `desktop` template.
+
+**Arguments**:
+
+- `resolution`: Startup the desktop with custom screen resolution. Defaults to (1024, 768)
+- `dpi`: Startup the desktop with custom DPI. Defaults to 96
+- `display`: Startup the desktop with custom display. Defaults to ":0"
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: E2B domain to use for authentication, defaults to `E2B_DOMAIN` environment variable
+- `debug`: If True, the sandbox will be created in debug mode, defaults to `E2B_DEBUG` environment variable
+- `sandbox_id`: Sandbox ID to connect to, defaults to `E2B_SANDBOX_ID` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["stream"]) -> Iterator[bytes]
+```
+
+Take a screenshot and return it as a stream of bytes.
+
+
+### screenshot
+
+```python
+@overload
+def screenshot(format: Literal["bytes"]) -> bytearray
+```
+
+Take a screenshot and return it as a bytearray.
+
+
+### screenshot
+
+```python
+def screenshot(format: Literal["bytes", "stream"] = "bytes")
+```
+
+Take a screenshot and return it in the specified format.
+
+**Arguments**:
+
+- `format`: The format of the screenshot. Can be 'bytes', 'blob', or 'stream'.
+
+**Returns**:
+
+The screenshot in the specified format.
+
+
+### left\_click
+
+```python
+def left_click(x: Optional[int] = None, y: Optional[int] = None)
+```
+
+Left click on the mouse position.
+
+
+### double\_click
+
+```python
+def double_click(x: Optional[int] = None, y: Optional[int] = None)
+```
+
+Double left click on the mouse position.
+
+
+### middle\_click
+
+```python
+def middle_click(x: Optional[int] = None, y: Optional[int] = None)
+```
+
+Middle click on the mouse position.
+
+
+### scroll
+
+```python
+def scroll(direction: Literal["up", "down"] = "down", amount: int = 1)
+```
+
+Scroll the mouse wheel by the given amount.
+
+**Arguments**:
+
+- `direction`: The direction to scroll. Can be "up" or "down".
+- `amount`: The amount to scroll.
+
+
+### move\_mouse
+
+```python
+def move_mouse(x: int, y: int)
+```
+
+Move the mouse to the given coordinates.
+
+**Arguments**:
+
+- `x`: The x coordinate.
+- `y`: The y coordinate.
+
+
+### mouse\_press
+
+```python
+def mouse_press(button: Literal["left", "right", "middle"] = "left")
+```
+
+Press the mouse button.
+
+
+### mouse\_release
+
+```python
+def mouse_release(button: Literal["left", "right", "middle"] = "left")
+```
+
+Release the mouse button.
+
+
+### get\_cursor\_position
+
+```python
+def get_cursor_position() -> tuple[int, int]
+```
+
+Get the current cursor position.
+
+**Raises**:
+
+- `RuntimeError`: If the cursor position cannot be determined
+
+**Returns**:
+
+A tuple with the x and y coordinates
+
+
+### get\_screen\_size
+
+```python
+def get_screen_size() -> tuple[int, int]
+```
+
+Get the current screen size.
+
+**Raises**:
+
+- `RuntimeError`: If the screen size cannot be determined
+
+**Returns**:
+
+A tuple with the width and height
+
+
+### write
+
+```python
+def write(text: str, *, chunk_size: int = 25, delay_in_ms: int = 75) -> None
+```
+
+Write the given text at the current cursor position.
+
+**Arguments**:
+
+- `text`: The text to write.
+- `chunk_size`: The size of each chunk of text to write.
+- `delay_in_ms`: The delay between each chunk of text.
+
+
+### press
+
+```python
+def press(key: str | list[str])
+```
+
+Press a key.
+
+**Arguments**:
+
+- `key`: The key to press (e.g. "enter", "space", "backspace", etc.).
+
+
+### drag
+
+```python
+def drag(fr: tuple[int, int], to: tuple[int, int])
+```
+
+Drag the mouse from the given position to the given position.
+
+**Arguments**:
+
+- `from`: The starting position.
+- `to`: The ending position.
+
+
+### wait
+
+```python
+def wait(ms: int)
+```
+
+Wait for the given amount of time.
+
+**Arguments**:
+
+- `ms`: The amount of time to wait in milliseconds.
+
+
+### open
+
+```python
+def open(file_or_url: str)
+```
+
+Open a file or a URL in the default application.
+
+**Arguments**:
+
+- `file_or_url`: The file or URL to open.
+
+
+### get\_current\_window\_id
+
+```python
+def get_current_window_id() -> str
+```
+
+Get the current window ID.
+
+
+### get\_application\_windows
+
+```python
+def get_application_windows(application: str) -> list[str]
+```
+
+Get the window IDs of all windows for the given application.
+
+
+### get\_window\_title
+
+```python
+def get_window_title(window_id: str) -> str
+```
+
+Get the title of the window with the given ID.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/python-sdk/v1.3.5/exceptions/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/python-sdk/v1.3.5/exceptions/page.mdx
new file mode 100644
index 000000000..17864645d
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/python-sdk/v1.3.5/exceptions/page.mdx
@@ -0,0 +1,84 @@
+
+
+
+## SandboxException
+
+```python
+class SandboxException(Exception)
+```
+
+Base class for all sandbox errors.
+
+Raised when a general sandbox exception occurs.
+
+
+## TimeoutException
+
+```python
+class TimeoutException(SandboxException)
+```
+
+Raised when a timeout occurs.
+
+The `unavailable` exception type is caused by sandbox timeout.
+
+The `canceled` exception type is caused by exceeding request timeout.
+
+The `deadline_exceeded` exception type is caused by exceeding the timeout for process, watch, etc.
+
+The `unknown` exception type is sometimes caused by the sandbox timeout when the request is not processed correctly.
+
+
+## InvalidArgumentException
+
+```python
+class InvalidArgumentException(SandboxException)
+```
+
+Raised when an invalid argument is provided.
+
+
+## NotEnoughSpaceException
+
+```python
+class NotEnoughSpaceException(SandboxException)
+```
+
+Raised when there is not enough disk space.
+
+
+## NotFoundException
+
+```python
+class NotFoundException(SandboxException)
+```
+
+Raised when a resource is not found.
+
+
+## AuthenticationException
+
+```python
+class AuthenticationException(SandboxException)
+```
+
+Raised when authentication fails.
+
+
+## TemplateException
+
+```python
+class TemplateException(SandboxException)
+```
+
+Exception raised when the template uses old envd version. It isn't compatible with the new SDK.
+
+
+## RateLimitException
+
+```python
+class RateLimitException(SandboxException)
+```
+
+Raised when the API rate limit is exceeded.
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/python-sdk/v1.3.5/sandbox_async/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/python-sdk/v1.3.5/sandbox_async/page.mdx
new file mode 100644
index 000000000..88438b0cb
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/python-sdk/v1.3.5/sandbox_async/page.mdx
@@ -0,0 +1,1030 @@
+
+
+
+## AsyncWatchHandle
+
+```python
+class AsyncWatchHandle()
+```
+
+Handle for watching a directory in the sandbox filesystem.
+
+Use `.stop()` to stop watching the directory.
+
+
+### stop
+
+```python
+async def stop()
+```
+
+Stop watching the directory.
+
+
+
+
+## Filesystem
+
+```python
+class Filesystem()
+```
+
+Module for interacting with the filesystem in the sandbox.
+
+
+### read
+
+```python
+@overload
+async def read(path: str,
+ format: Literal["text"] = "text",
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> str
+```
+
+Read file content as a `str`.
+
+**Arguments**:
+
+- `path`: Path to the file
+- `user`: Run the operation as this user
+- `format`: Format of the file content—`text` by default
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+File content as a `str`
+
+
+### read
+
+```python
+@overload
+async def read(path: str,
+ format: Literal["bytes"],
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> bytearray
+```
+
+Read file content as a `bytearray`.
+
+**Arguments**:
+
+- `path`: Path to the file
+- `user`: Run the operation as this user
+- `format`: Format of the file content—`bytes`
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+File content as a `bytearray`
+
+
+### read
+
+```python
+@overload
+async def read(
+ path: str,
+ format: Literal["stream"],
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> AsyncIterator[bytes]
+```
+
+Read file content as a `AsyncIterator[bytes]`.
+
+**Arguments**:
+
+- `path`: Path to the file
+- `user`: Run the operation as this user
+- `format`: Format of the file content—`stream`
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+File content as an `AsyncIterator[bytes]`
+
+
+### write
+
+```python
+@overload
+async def write(path: str,
+ data: Union[str, bytes, IO],
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> EntryInfo
+```
+
+Write content to a file on the path.
+
+Writing to a file that doesn't exist creates the file.
+
+Writing to a file that already exists overwrites the file.
+
+Writing to a file at path that doesn't exist creates the necessary directories.
+
+**Arguments**:
+
+- `path`: Path to the file
+- `data`: Data to write to the file, can be a `str`, `bytes`, or `IO`.
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+Information about the written file
+
+
+### write
+
+```python
+@overload
+async def write(files: List[WriteEntry],
+ user: Optional[Username] = "user",
+ request_timeout: Optional[float] = None) -> List[EntryInfo]
+```
+
+Writes multiple files.
+
+**Arguments**:
+
+- `files`: list of files to write
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request
+
+**Returns**:
+
+Information about the written files
+
+
+### write
+
+```python
+async def write(
+ path_or_files: Union[str, List[WriteEntry]],
+ data_or_user: Union[str, bytes, IO, Username] = "user",
+ user_or_request_timeout: Optional[Union[float, Username]] = None,
+ request_timeout_or_none: Optional[float] = None
+) -> Union[EntryInfo, List[EntryInfo]]
+```
+
+Writes content to a file on the path.
+When writing to a file that doesn't exist, the file will get created.
+When writing to a file that already exists, the file will get overwritten.
+When writing to a file that's in a directory that doesn't exist, you'll get an error.
+
+
+### list
+
+```python
+async def list(path: str,
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> List[EntryInfo]
+```
+
+List entries in a directory.
+
+**Arguments**:
+
+- `path`: Path to the directory
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+List of entries in the directory
+
+
+### exists
+
+```python
+async def exists(path: str,
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> bool
+```
+
+Check if a file or a directory exists.
+
+**Arguments**:
+
+- `path`: Path to a file or a directory
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`True` if the file or directory exists, `False` otherwise
+
+
+### remove
+
+```python
+async def remove(path: str,
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> None
+```
+
+Remove a file or a directory.
+
+**Arguments**:
+
+- `path`: Path to a file or a directory
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+
+
+### rename
+
+```python
+async def rename(old_path: str,
+ new_path: str,
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> EntryInfo
+```
+
+Rename a file or directory.
+
+**Arguments**:
+
+- `old_path`: Path to the file or directory to rename
+- `new_path`: New path to the file or directory
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+Information about the renamed file or directory
+
+
+### make\_dir
+
+```python
+async def make_dir(path: str,
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> bool
+```
+
+Create a new directory and all directories along the way if needed on the specified path.
+
+**Arguments**:
+
+- `path`: Path to a new directory. For example '/dirA/dirB' when creating 'dirB'.
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`True` if the directory was created, `False` if the directory already exists
+
+
+### watch\_dir
+
+```python
+async def watch_dir(path: str,
+ on_event: OutputHandler[FilesystemEvent],
+ on_exit: Optional[OutputHandler[Exception]] = None,
+ user: Username = "user",
+ request_timeout: Optional[float] = None,
+ timeout: Optional[float] = 60,
+ recursive: bool = False) -> AsyncWatchHandle
+```
+
+Watch directory for filesystem events.
+
+**Arguments**:
+
+- `path`: Path to a directory to watch
+- `on_event`: Callback to call on each event in the directory
+- `on_exit`: Callback to call when the watching ends
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+- `timeout`: Timeout for the watch operation in **seconds**. Using `0` will not limit the watch time
+- `recursive`: Watch directory recursively
+
+**Returns**:
+
+`AsyncWatchHandle` object for stopping watching directory
+
+
+
+
+## AsyncSandbox
+
+```python
+class AsyncSandbox(SandboxSetup, SandboxApi)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `AsyncSandbox.create()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b import AsyncSandbox
+
+sandbox = await AsyncSandbox.create()
+```
+
+
+### files
+
+```python
+@property
+def files() -> Filesystem
+```
+
+Module for interacting with the sandbox filesystem.
+
+
+### commands
+
+```python
+@property
+def commands() -> Commands
+```
+
+Module for running commands in the sandbox.
+
+
+### pty
+
+```python
+@property
+def pty() -> Pty
+```
+
+Module for interacting with the sandbox pseudo-terminal.
+
+
+### sandbox\_id
+
+```python
+@property
+def sandbox_id() -> str
+```
+
+Unique identifier of the sandbox.
+
+
+### \_\_init\_\_
+
+```python
+def __init__(**opts: Unpack[AsyncSandboxOpts])
+```
+
+Use `AsyncSandbox.create()` to create a new sandbox instead.
+
+
+### is\_running
+
+```python
+async def is_running(request_timeout: Optional[float] = None) -> bool
+```
+
+Check if the sandbox is running.
+
+**Arguments**:
+
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`True` if the sandbox is running, `False` otherwise
+Example
+```python
+sandbox = await AsyncSandbox.create()
+await sandbox.is_running() # Returns True
+
+await sandbox.kill()
+await sandbox.is_running() # Returns False
+```
+
+
+### create
+
+```python
+@classmethod
+async def create(cls,
+ template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ request_timeout: Optional[float] = None,
+ proxy: Optional[ProxyTypes] = None)
+```
+
+Create a new sandbox.
+
+By default, the sandbox is created from the default `base` sandbox template.
+
+**Arguments**:
+
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users.
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+- `proxy`: Proxy to use for the request and for the **requests made to the returned sandbox**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+Use this method instead of using the constructor to create a new sandbox.
+
+
+### connect
+
+```python
+@classmethod
+async def connect(cls,
+ sandbox_id: str,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ proxy: Optional[ProxyTypes] = None)
+```
+
+Connect to an existing sandbox.
+
+With sandbox ID you can connect to the same sandbox from different places or environments (serverless functions, etc).
+
+**Arguments**:
+
+- `sandbox_id`: Sandbox ID
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `proxy`: Proxy to use for the request and for the **requests made to the returned sandbox**
+
+**Returns**:
+
+sandbox instance for the existing sandbox
+@example
+```python
+sandbox = await AsyncSandbox.create()
+sandbox_id = sandbox.sandbox_id
+
+same_sandbox = await AsyncSandbox.connect(sandbox_id)
+
+
+### kill
+
+```python
+@overload
+async def kill(request_timeout: Optional[float] = None) -> bool
+```
+
+Kill the sandbox.
+
+**Arguments**:
+
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`True` if the sandbox was killed, `False` if the sandbox was not found
+
+
+### kill
+
+```python
+@overload
+@staticmethod
+async def kill(sandbox_id: str,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ request_timeout: Optional[float] = None,
+ proxy: Optional[ProxyTypes] = None) -> bool
+```
+
+Kill the sandbox specified by sandbox ID.
+
+**Arguments**:
+
+- `sandbox_id`: Sandbox ID
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+- `proxy`: Proxy to use for the request
+
+**Returns**:
+
+`True` if the sandbox was killed, `False` if the sandbox was not found
+
+
+### set\_timeout
+
+```python
+@overload
+async def set_timeout(timeout: int,
+ request_timeout: Optional[float] = None) -> None
+```
+
+Set the timeout of the sandbox.
+
+After the timeout expires the sandbox will be automatically killed.
+This method can extend or reduce the sandbox timeout set when creating the sandbox or from the last call to `.set_timeout`.
+
+Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users.
+
+**Arguments**:
+
+- `timeout`: Timeout for the sandbox in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+
+### set\_timeout
+
+```python
+@overload
+@staticmethod
+async def set_timeout(sandbox_id: str,
+ timeout: int,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ request_timeout: Optional[float] = None,
+ proxy: Optional[ProxyTypes] = None) -> None
+```
+
+Set the timeout of the specified sandbox.
+
+After the timeout expires the sandbox will be automatically killed.
+This method can extend or reduce the sandbox timeout set when creating the sandbox or from the last call to `.set_timeout`.
+
+Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users.
+
+**Arguments**:
+
+- `sandbox_id`: Sandbox ID
+- `timeout`: Timeout for the sandbox in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+- `proxy`: Proxy to use for the request
+
+
+### get\_info
+
+```python
+async def get_info(request_timeout: Optional[float] = None) -> SandboxInfo
+```
+
+Get sandbox information like sandbox ID, template, metadata, started at/end at date.
+
+**Arguments**:
+
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+Sandbox info
+
+
+
+
+## Pty
+
+```python
+class Pty()
+```
+
+Module for interacting with PTYs (pseudo-terminals) in the sandbox.
+
+
+### kill
+
+```python
+async def kill(pid: int, request_timeout: Optional[float] = None) -> bool
+```
+
+Kill PTY.
+
+**Arguments**:
+
+- `pid`: Process ID of the PTY
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`true` if the PTY was killed, `false` if the PTY was not found
+
+
+### send\_stdin
+
+```python
+async def send_stdin(pid: int,
+ data: bytes,
+ request_timeout: Optional[float] = None) -> None
+```
+
+Send input to a PTY.
+
+**Arguments**:
+
+- `pid`: Process ID of the PTY
+- `data`: Input data to send
+- `request_timeout`: Timeout for the request in **seconds**
+
+
+### create
+
+```python
+async def create(
+ size: PtySize,
+ on_data: OutputHandler[PtyOutput],
+ user: Username = "user",
+ cwd: Optional[str] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = 60,
+ request_timeout: Optional[float] = None) -> AsyncCommandHandle
+```
+
+Start a new PTY (pseudo-terminal).
+
+**Arguments**:
+
+- `size`: Size of the PTY
+- `on_data`: Callback to handle PTY data
+- `user`: User to use for the PTY
+- `cwd`: Working directory for the PTY
+- `envs`: Environment variables for the PTY
+- `timeout`: Timeout for the PTY in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+Handle to interact with the PTY
+
+
+### resize
+
+```python
+async def resize(pid: int,
+ size: PtySize,
+ request_timeout: Optional[float] = None)
+```
+
+Resize PTY.
+
+Call this when the terminal window is resized and the number of columns and rows has changed.
+
+**Arguments**:
+
+- `pid`: Process ID of the PTY
+- `size`: New size of the PTY
+- `request_timeout`: Timeout for the request in **seconds**
+
+
+
+
+## Commands
+
+```python
+class Commands()
+```
+
+Module for executing commands in the sandbox.
+
+
+### list
+
+```python
+async def list(request_timeout: Optional[float] = None) -> List[ProcessInfo]
+```
+
+Lists all running commands and PTY sessions.
+
+**Arguments**:
+
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+List of running commands and PTY sessions
+
+
+### kill
+
+```python
+async def kill(pid: int, request_timeout: Optional[float] = None) -> bool
+```
+
+Kill a running command specified by its process ID.
+
+It uses `SIGKILL` signal to kill the command.
+
+**Arguments**:
+
+- `pid`: Process ID of the command. You can get the list of processes using `sandbox.commands.list()`
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`True` if the command was killed, `False` if the command was not found
+
+
+### send\_stdin
+
+```python
+async def send_stdin(pid: int,
+ data: str,
+ request_timeout: Optional[float] = None) -> None
+```
+
+Send data to command stdin.
+
+:param pid Process ID of the command. You can get the list of processes using `sandbox.commands.list()`.
+:param data: Data to send to the command
+:param request_timeout: Timeout for the request in **seconds**
+
+
+
+### run
+
+```python
+@overload
+async def run(cmd: str,
+ background: Union[Literal[False], None] = None,
+ envs: Optional[Dict[str, str]] = None,
+ user: Username = "user",
+ cwd: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[Stdout]] = None,
+ on_stderr: Optional[OutputHandler[Stderr]] = None,
+ timeout: Optional[float] = 60,
+ request_timeout: Optional[float] = None) -> CommandResult
+```
+
+Start a new command and wait until it finishes executing.
+
+**Arguments**:
+
+- `cmd`: Command to execute
+- `background`: **`False` if the command should be executed in the foreground**, `True` if the command should be executed in the background
+- `envs`: Environment variables used for the command
+- `user`: User to run the command as
+- `cwd`: Working directory to run the command
+- `on_stdout`: Callback for command stdout output
+- `on_stderr`: Callback for command stderr output
+- `timeout`: Timeout for the command connection in **seconds**. Using `0` will not limit the command connection time
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`CommandResult` result of the command execution
+
+
+### run
+
+```python
+@overload
+async def run(cmd: str,
+ background: Literal[True],
+ envs: Optional[Dict[str, str]] = None,
+ user: Username = "user",
+ cwd: Optional[str] = None,
+ on_stdout: Optional[OutputHandler[Stdout]] = None,
+ on_stderr: Optional[OutputHandler[Stderr]] = None,
+ timeout: Optional[float] = 60,
+ request_timeout: Optional[float] = None) -> AsyncCommandHandle
+```
+
+Start a new command and return a handle to interact with it.
+
+**Arguments**:
+
+- `cmd`: Command to execute
+- `background`: `False` if the command should be executed in the foreground, **`True` if the command should be executed in the background**
+- `envs`: Environment variables used for the command
+- `user`: User to run the command as
+- `cwd`: Working directory to run the command
+- `on_stdout`: Callback for command stdout output
+- `on_stderr`: Callback for command stderr output
+- `timeout`: Timeout for the command connection in **seconds**. Using `0` will not limit the command connection time
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`AsyncCommandHandle` handle to interact with the running command
+
+
+### connect
+
+```python
+async def connect(
+ pid: int,
+ timeout: Optional[float] = 60,
+ request_timeout: Optional[float] = None,
+ on_stdout: Optional[OutputHandler[Stdout]] = None,
+ on_stderr: Optional[OutputHandler[Stderr]] = None
+) -> AsyncCommandHandle
+```
+
+Connects to a running command.
+
+You can use `AsyncCommandHandle.wait()` to wait for the command to finish and get execution results.
+
+**Arguments**:
+
+- `pid`: Process ID of the command to connect to. You can get the list of processes using `sandbox.commands.list()`
+- `request_timeout`: Request timeout in **seconds**
+- `timeout`: Timeout for the command connection in **seconds**. Using `0` will not limit the command connection time
+- `on_stdout`: Callback for command stdout output
+- `on_stderr`: Callback for command stderr output
+
+**Returns**:
+
+`AsyncCommandHandle` handle to interact with the running command
+
+
+
+
+## AsyncCommandHandle
+
+```python
+class AsyncCommandHandle()
+```
+
+Command execution handle.
+
+It provides methods for waiting for the command to finish, retrieving stdout/stderr, and killing the command.
+
+
+### pid
+
+```python
+@property
+def pid()
+```
+
+Command process ID.
+
+
+### stdout
+
+```python
+@property
+def stdout()
+```
+
+Command stdout output.
+
+
+### stderr
+
+```python
+@property
+def stderr()
+```
+
+Command stderr output.
+
+
+### error
+
+```python
+@property
+def error()
+```
+
+Command execution error message.
+
+
+### exit\_code
+
+```python
+@property
+def exit_code()
+```
+
+Command execution exit code.
+
+`0` if the command finished successfully.
+
+It is `None` if the command is still running.
+
+
+### disconnect
+
+```python
+async def disconnect() -> None
+```
+
+Disconnects from the command.
+
+The command is not killed, but SDK stops receiving events from the command.
+You can reconnect to the command using `sandbox.commands.connect` method.
+
+
+### wait
+
+```python
+async def wait() -> CommandResult
+```
+
+Wait for the command to finish and return the result.
+
+If the command exits with a non-zero exit code, it throws a `CommandExitException`.
+
+**Returns**:
+
+`CommandResult` result of command execution
+
+
+### kill
+
+```python
+async def kill() -> bool
+```
+
+Kills the command.
+
+It uses `SIGKILL` signal to kill the command
+
+**Returns**:
+
+`True` if the command was killed successfully, `False` if the command was not found
+
+
+
+
+
+
+## SandboxApi
+
+```python
+class SandboxApi(SandboxApiBase)
+```
+
+
+### list
+
+```python
+@classmethod
+async def list(cls,
+ api_key: Optional[str] = None,
+ query: Optional[SandboxQuery] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ request_timeout: Optional[float] = None,
+ headers: Optional[Dict[str, str]] = None,
+ proxy: Optional[ProxyTypes] = None) -> List[SandboxInfo]
+```
+
+List all running sandboxes.
+
+**Arguments**:
+
+- `api_key`: API key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `query`: Filter the list of sandboxes, e.g. by metadata `SandboxQuery(metadata={"key": "value"})`, if there are multiple filters they are combined with AND.
+- `domain`: Domain to use for the request, only relevant for self-hosted environments
+- `debug`: Enable debug mode, all requested are then sent to localhost
+- `request_timeout`: Timeout for the request in **seconds**
+- `headers`: Additional headers to send with the request
+- `proxy`: Proxy to use for the request
+
+**Returns**:
+
+List of running sandboxes
+
+
+### get\_info
+
+```python
+@classmethod
+async def get_info(cls,
+ sandbox_id: str,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ request_timeout: Optional[float] = None,
+ headers: Optional[Dict[str, str]] = None,
+ proxy: Optional[ProxyTypes] = None) -> SandboxInfo
+```
+
+Get the sandbox info.
+
+**Arguments**:
+
+- `sandbox_id`: Sandbox ID
+- `api_key`: API key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: Domain to use for the request, defaults to `E2B_DOMAIN` environment variable
+- `debug`: Debug mode, defaults to `E2B_DEBUG` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+- `headers`: Additional headers to send with the request
+- `proxy`: Proxy to use for the request
+
+**Returns**:
+
+Sandbox info
+
diff --git a/apps/web/src/app/(docs)/docs/sdk-reference/python-sdk/v1.3.5/sandbox_sync/page.mdx b/apps/web/src/app/(docs)/docs/sdk-reference/python-sdk/v1.3.5/sandbox_sync/page.mdx
new file mode 100644
index 000000000..b08714995
--- /dev/null
+++ b/apps/web/src/app/(docs)/docs/sdk-reference/python-sdk/v1.3.5/sandbox_sync/page.mdx
@@ -0,0 +1,994 @@
+
+
+
+## WatchHandle
+
+```python
+class WatchHandle()
+```
+
+Handle for watching filesystem events.
+It is used to get the latest events that have occurred in the watched directory.
+
+Use `.stop()` to stop watching the directory.
+
+
+### stop
+
+```python
+def stop()
+```
+
+Stop watching the directory.
+After you stop the watcher you won't be able to get the events anymore.
+
+
+### get\_new\_events
+
+```python
+def get_new_events() -> List[FilesystemEvent]
+```
+
+Get the latest events that have occurred in the watched directory since the last call, or from the beginning of the watching, up until now.
+
+**Returns**:
+
+List of filesystem events
+
+
+
+
+## Filesystem
+
+```python
+class Filesystem()
+```
+
+Module for interacting with the filesystem in the sandbox.
+
+
+### read
+
+```python
+@overload
+def read(path: str,
+ format: Literal["text"] = "text",
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> str
+```
+
+Read file content as a `str`.
+
+**Arguments**:
+
+- `path`: Path to the file
+- `user`: Run the operation as this user
+- `format`: Format of the file content—`text` by default
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+File content as a `str`
+
+
+### read
+
+```python
+@overload
+def read(path: str,
+ format: Literal["bytes"],
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> bytearray
+```
+
+Read file content as a `bytearray`.
+
+**Arguments**:
+
+- `path`: Path to the file
+- `user`: Run the operation as this user
+- `format`: Format of the file content—`bytes`
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+File content as a `bytearray`
+
+
+### read
+
+```python
+@overload
+def read(path: str,
+ format: Literal["stream"],
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> Iterator[bytes]
+```
+
+Read file content as a `Iterator[bytes]`.
+
+**Arguments**:
+
+- `path`: Path to the file
+- `user`: Run the operation as this user
+- `format`: Format of the file content—`stream`
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+File content as an `Iterator[bytes]`
+
+
+### write
+
+```python
+@overload
+def write(path: str,
+ data: Union[str, bytes, IO],
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> EntryInfo
+```
+
+Write content to a file on the path.
+
+Writing to a file that doesn't exist creates the file.
+
+Writing to a file that already exists overwrites the file.
+
+Writing to a file at path that doesn't exist creates the necessary directories.
+
+**Arguments**:
+
+- `path`: Path to the file
+- `data`: Data to write to the file, can be a `str`, `bytes`, or `IO`.
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+Information about the written file
+
+
+### write
+
+```python
+@overload
+def write(files: List[WriteEntry],
+ user: Optional[Username] = "user",
+ request_timeout: Optional[float] = None) -> List[EntryInfo]
+```
+
+Writes a list of files to the filesystem.
+
+When writing to a file that doesn't exist, the file will get created.
+When writing to a file that already exists, the file will get overwritten.
+When writing to a file that's in a directory that doesn't exist, you'll get an error.
+
+**Arguments**:
+
+- `files`: list of files to write
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request
+
+**Returns**:
+
+Information about the written files
+
+
+### list
+
+```python
+def list(path: str,
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> List[EntryInfo]
+```
+
+List entries in a directory.
+
+**Arguments**:
+
+- `path`: Path to the directory
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+List of entries in the directory
+
+
+### exists
+
+```python
+def exists(path: str,
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> bool
+```
+
+Check if a file or a directory exists.
+
+**Arguments**:
+
+- `path`: Path to a file or a directory
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`True` if the file or directory exists, `False` otherwise
+
+
+### remove
+
+```python
+def remove(path: str,
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> None
+```
+
+Remove a file or a directory.
+
+**Arguments**:
+
+- `path`: Path to a file or a directory
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+
+
+### rename
+
+```python
+def rename(old_path: str,
+ new_path: str,
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> EntryInfo
+```
+
+Rename a file or directory.
+
+**Arguments**:
+
+- `old_path`: Path to the file or directory to rename
+- `new_path`: New path to the file or directory
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+Information about the renamed file or directory
+
+
+### make\_dir
+
+```python
+def make_dir(path: str,
+ user: Username = "user",
+ request_timeout: Optional[float] = None) -> bool
+```
+
+Create a new directory and all directories along the way if needed on the specified path.
+
+**Arguments**:
+
+- `path`: Path to a new directory. For example '/dirA/dirB' when creating 'dirB'.
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`True` if the directory was created, `False` if the directory already exists
+
+
+### watch\_dir
+
+```python
+def watch_dir(path: str,
+ user: Username = "user",
+ request_timeout: Optional[float] = None,
+ recursive: bool = False) -> WatchHandle
+```
+
+Watch directory for filesystem events.
+
+**Arguments**:
+
+- `path`: Path to a directory to watch
+- `user`: Run the operation as this user
+- `request_timeout`: Timeout for the request in **seconds**
+- `recursive`: Watch directory recursively
+
+**Returns**:
+
+`WatchHandle` object for stopping watching directory
+
+
+
+
+## Sandbox
+
+```python
+class Sandbox(SandboxSetup, SandboxApi)
+```
+
+E2B cloud sandbox is a secure and isolated cloud environment.
+
+The sandbox allows you to:
+- Access Linux OS
+- Create, list, and delete files and directories
+- Run commands
+- Run isolated code
+- Access the internet
+
+Check docs [here](https://e2b.dev/docs).
+
+Use the `Sandbox()` to create a new sandbox.
+
+**Example**:
+
+```python
+from e2b import Sandbox
+
+sandbox = Sandbox()
+```
+
+
+### files
+
+```python
+@property
+def files() -> Filesystem
+```
+
+Module for interacting with the sandbox filesystem.
+
+
+### commands
+
+```python
+@property
+def commands() -> Commands
+```
+
+Module for running commands in the sandbox.
+
+
+### pty
+
+```python
+@property
+def pty() -> Pty
+```
+
+Module for interacting with the sandbox pseudo-terminal.
+
+
+### sandbox\_id
+
+```python
+@property
+def sandbox_id() -> str
+```
+
+Unique identifier of the sandbox
+
+
+### \_\_init\_\_
+
+```python
+def __init__(template: Optional[str] = None,
+ timeout: Optional[int] = None,
+ metadata: Optional[Dict[str, str]] = None,
+ envs: Optional[Dict[str, str]] = None,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ sandbox_id: Optional[str] = None,
+ request_timeout: Optional[float] = None,
+ proxy: Optional[ProxyTypes] = None)
+```
+
+Create a new sandbox.
+
+By default, the sandbox is created from the default `base` sandbox template.
+
+**Arguments**:
+
+- `template`: Sandbox template name or ID
+- `timeout`: Timeout for the sandbox in **seconds**, default to 300 seconds. Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users
+- `metadata`: Custom metadata for the sandbox
+- `envs`: Custom environment variables for the sandbox
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+- `proxy`: Proxy to use for the request and for the **requests made to the returned sandbox**
+
+**Returns**:
+
+sandbox instance for the new sandbox
+
+
+### is\_running
+
+```python
+def is_running(request_timeout: Optional[float] = None) -> bool
+```
+
+Check if the sandbox is running.
+
+**Arguments**:
+
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`True` if the sandbox is running, `False` otherwise
+Example
+```python
+sandbox = Sandbox()
+sandbox.is_running() # Returns True
+
+sandbox.kill()
+sandbox.is_running() # Returns False
+```
+
+
+### connect
+
+```python
+@classmethod
+def connect(cls,
+ sandbox_id: str,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ proxy: Optional[ProxyTypes] = None)
+```
+
+Connects to an existing Sandbox.
+
+With sandbox ID you can connect to the same sandbox from different places or environments (serverless functions, etc).
+
+**Arguments**:
+
+- `sandbox_id`: Sandbox ID
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `proxy`: Proxy to use for the request and for the **requests made to the returned sandbox**
+
+**Returns**:
+
+sandbox instance for the existing sandbox
+@example
+```python
+sandbox = Sandbox()
+sandbox_id = sandbox.sandbox_id
+
+same_sandbox = Sandbox.connect(sandbox_id)
+```
+
+
+### kill
+
+```python
+@overload
+def kill(request_timeout: Optional[float] = None) -> bool
+```
+
+Kill the sandbox.
+
+**Arguments**:
+
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`True` if the sandbox was killed, `False` if the sandbox was not found
+
+
+### kill
+
+```python
+@overload
+@staticmethod
+def kill(sandbox_id: str,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ request_timeout: Optional[float] = None,
+ proxy: Optional[ProxyTypes] = None) -> bool
+```
+
+Kill the sandbox specified by sandbox ID.
+
+**Arguments**:
+
+- `sandbox_id`: Sandbox ID
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+- `proxy`: Proxy to use for the request
+
+**Returns**:
+
+`True` if the sandbox was killed, `False` if the sandbox was not found
+
+
+### kill
+
+```python
+@class_method_variant("_cls_kill")
+def kill(request_timeout: Optional[float] = None) -> bool
+```
+
+Kill the sandbox.
+
+**Arguments**:
+
+- `request_timeout`: Timeout for the request
+
+**Returns**:
+
+`True` if the sandbox was killed, `False` if the sandbox was not found
+
+
+### set\_timeout
+
+```python
+@overload
+def set_timeout(timeout: int, request_timeout: Optional[float] = None) -> None
+```
+
+Set the timeout of the sandbox.
+
+After the timeout expires the sandbox will be automatically killed.
+This method can extend or reduce the sandbox timeout set when creating the sandbox or from the last call to `.set_timeout`.
+
+Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users.
+
+**Arguments**:
+
+- `timeout`: Timeout for the sandbox in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+
+### set\_timeout
+
+```python
+@overload
+@staticmethod
+def set_timeout(sandbox_id: str,
+ timeout: int,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ request_timeout: Optional[float] = None,
+ proxy: Optional[ProxyTypes] = None) -> None
+```
+
+Set the timeout of the sandbox specified by sandbox ID.
+
+After the timeout expires the sandbox will be automatically killed.
+This method can extend or reduce the sandbox timeout set when creating the sandbox or from the last call to `.set_timeout`.
+
+Maximum time a sandbox can be kept alive is 24 hours (86_400 seconds) for Pro users and 1 hour (3_600 seconds) for Hobby users.
+
+**Arguments**:
+
+- `sandbox_id`: Sandbox ID
+- `timeout`: Timeout for the sandbox in **seconds**
+- `api_key`: E2B API Key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+- `proxy`: Proxy to use for the request
+
+
+### get\_info
+
+```python
+def get_info(request_timeout: Optional[float] = None) -> SandboxInfo
+```
+
+Get sandbox information like sandbox ID, template, metadata, started at/end at date.
+
+**Arguments**:
+
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+Sandbox info
+
+
+
+
+## Pty
+
+```python
+class Pty()
+```
+
+Module for interacting with PTYs (pseudo-terminals) in the sandbox.
+
+
+### kill
+
+```python
+def kill(pid: int, request_timeout: Optional[float] = None) -> bool
+```
+
+Kill PTY.
+
+**Arguments**:
+
+- `pid`: Process ID of the PTY
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`true` if the PTY was killed, `false` if the PTY was not found
+
+
+### send\_stdin
+
+```python
+def send_stdin(pid: int,
+ data: bytes,
+ request_timeout: Optional[float] = None) -> None
+```
+
+Send input to a PTY.
+
+**Arguments**:
+
+- `pid`: Process ID of the PTY
+- `data`: Input data to send
+- `request_timeout`: Timeout for the request in **seconds**
+
+
+### create
+
+```python
+def create(size: PtySize,
+ user: Username = "user",
+ cwd: Optional[str] = None,
+ envs: Optional[Dict[str, str]] = None,
+ timeout: Optional[float] = 60,
+ request_timeout: Optional[float] = None) -> CommandHandle
+```
+
+Start a new PTY (pseudo-terminal).
+
+**Arguments**:
+
+- `size`: Size of the PTY
+- `user`: User to use for the PTY
+- `cwd`: Working directory for the PTY
+- `envs`: Environment variables for the PTY
+- `timeout`: Timeout for the PTY in **seconds**
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+Handle to interact with the PTY
+
+
+### resize
+
+```python
+def resize(pid: int,
+ size: PtySize,
+ request_timeout: Optional[float] = None) -> None
+```
+
+Resize PTY.
+
+Call this when the terminal window is resized and the number of columns and rows has changed.
+
+**Arguments**:
+
+- `pid`: Process ID of the PTY
+- `size`: New size of the PTY
+- `request_timeout`: Timeout for the request in **seconds**s
+
+
+
+
+## Commands
+
+```python
+class Commands()
+```
+
+Module for executing commands in the sandbox.
+
+
+### list
+
+```python
+def list(request_timeout: Optional[float] = None) -> List[ProcessInfo]
+```
+
+Lists all running commands and PTY sessions.
+
+**Arguments**:
+
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+List of running commands and PTY sessions
+
+
+### kill
+
+```python
+def kill(pid: int, request_timeout: Optional[float] = None) -> bool
+```
+
+Kills a running command specified by its process ID.
+
+It uses `SIGKILL` signal to kill the command.
+
+**Arguments**:
+
+- `pid`: Process ID of the command. You can get the list of processes using `sandbox.commands.list()`
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`True` if the command was killed, `False` if the command was not found
+
+
+### send\_stdin
+
+```python
+def send_stdin(pid: int, data: str, request_timeout: Optional[float] = None)
+```
+
+Send data to command stdin.
+
+:param pid Process ID of the command. You can get the list of processes using `sandbox.commands.list()`.
+:param data: Data to send to the command
+:param request_timeout: Timeout for the request in **seconds**
+
+
+
+### run
+
+```python
+@overload
+def run(cmd: str,
+ background: Union[Literal[False], None] = None,
+ envs: Optional[Dict[str, str]] = None,
+ user: Username = "user",
+ cwd: Optional[str] = None,
+ on_stdout: Optional[Callable[[str], None]] = None,
+ on_stderr: Optional[Callable[[str], None]] = None,
+ timeout: Optional[float] = 60,
+ request_timeout: Optional[float] = None) -> CommandResult
+```
+
+Start a new command and wait until it finishes executing.
+
+**Arguments**:
+
+- `cmd`: Command to execute
+- `background`: **`False` if the command should be executed in the foreground**, `True` if the command should be executed in the background
+- `envs`: Environment variables used for the command
+- `user`: User to run the command as
+- `cwd`: Working directory to run the command
+- `on_stdout`: Callback for command stdout output
+- `on_stderr`: Callback for command stderr output
+- `timeout`: Timeout for the command connection in **seconds**. Using `0` will not limit the command connection time
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`CommandResult` result of the command execution
+
+
+### run
+
+```python
+@overload
+def run(cmd: str,
+ background: Literal[True],
+ envs: Optional[Dict[str, str]] = None,
+ user: Username = "user",
+ cwd: Optional[str] = None,
+ on_stdout: None = None,
+ on_stderr: None = None,
+ timeout: Optional[float] = 60,
+ request_timeout: Optional[float] = None) -> CommandHandle
+```
+
+Start a new command and return a handle to interact with it.
+
+**Arguments**:
+
+- `cmd`: Command to execute
+- `background`: `False` if the command should be executed in the foreground, **`True` if the command should be executed in the background**
+- `envs`: Environment variables used for the command
+- `user`: User to run the command as
+- `cwd`: Working directory to run the command
+- `timeout`: Timeout for the command connection in **seconds**. Using `0` will not limit the command connection time
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`CommandHandle` handle to interact with the running command
+
+
+### connect
+
+```python
+def connect(pid: int,
+ timeout: Optional[float] = 60,
+ request_timeout: Optional[float] = None)
+```
+
+Connects to a running command.
+
+You can use `CommandHandle.wait()` to wait for the command to finish and get execution results.
+
+**Arguments**:
+
+- `pid`: Process ID of the command to connect to. You can get the list of processes using `sandbox.commands.list()`
+- `timeout`: Timeout for the connection in **seconds**. Using `0` will not limit the connection time
+- `request_timeout`: Timeout for the request in **seconds**
+
+**Returns**:
+
+`CommandHandle` handle to interact with the running command
+
+
+
+
+## CommandHandle
+
+```python
+class CommandHandle()
+```
+
+Command execution handle.
+
+It provides methods for waiting for the command to finish, retrieving stdout/stderr, and killing the command.
+
+
+### pid
+
+```python
+@property
+def pid()
+```
+
+Command process ID.
+
+
+### \_\_iter\_\_
+
+```python
+def __iter__()
+```
+
+Iterate over the command output.
+
+**Returns**:
+
+Generator of command outputs
+
+
+### disconnect
+
+```python
+def disconnect() -> None
+```
+
+Disconnect from the command.
+
+The command is not killed, but SDK stops receiving events from the command.
+You can reconnect to the command using `sandbox.commands.connect` method.
+
+
+### wait
+
+```python
+def wait(on_pty: Optional[Callable[[PtyOutput], None]] = None,
+ on_stdout: Optional[Callable[[str], None]] = None,
+ on_stderr: Optional[Callable[[str], None]] = None) -> CommandResult
+```
+
+Wait for the command to finish and returns the result.
+
+If the command exits with a non-zero exit code, it throws a `CommandExitException`.
+
+**Arguments**:
+
+- `on_pty`: Callback for pty output
+- `on_stdout`: Callback for stdout output
+- `on_stderr`: Callback for stderr output
+
+**Returns**:
+
+`CommandResult` result of command execution
+
+
+### kill
+
+```python
+def kill() -> bool
+```
+
+Kills the command.
+
+It uses `SIGKILL` signal to kill the command.
+
+**Returns**:
+
+Whether the command was killed successfully
+
+
+
+
+## SandboxApi
+
+```python
+class SandboxApi(SandboxApiBase)
+```
+
+
+### list
+
+```python
+@classmethod
+def list(cls,
+ api_key: Optional[str] = None,
+ query: Optional[SandboxQuery] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ request_timeout: Optional[float] = None,
+ headers: Optional[Dict[str, str]] = None,
+ proxy: Optional[ProxyTypes] = None) -> List[SandboxInfo]
+```
+
+List all running sandboxes.
+
+**Arguments**:
+
+- `api_key`: API key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `query`: Filter the list of sandboxes, e.g. by metadata `SandboxQuery(metadata={"key": "value"})`, if there are multiple filters they are combined with AND.
+- `domain`: Domain to use for the request, only relevant for self-hosted environments
+- `debug`: Enable debug mode, all requested are then sent to localhost
+- `request_timeout`: Timeout for the request in **seconds**
+- `headers`: Additional headers to send with the request
+- `proxy`: Proxy to use for the request
+
+**Returns**:
+
+List of running sandboxes
+
+
+### get\_info
+
+```python
+@classmethod
+def get_info(cls,
+ sandbox_id: str,
+ api_key: Optional[str] = None,
+ domain: Optional[str] = None,
+ debug: Optional[bool] = None,
+ request_timeout: Optional[float] = None,
+ headers: Optional[Dict[str, str]] = None,
+ proxy: Optional[ProxyTypes] = None) -> SandboxInfo
+```
+
+Get the sandbox info.
+
+**Arguments**:
+
+- `sandbox_id`: Sandbox ID
+- `api_key`: API key to use for authentication, defaults to `E2B_API_KEY` environment variable
+- `domain`: Domain to use for the request, defaults to `E2B_DOMAIN` environment variable
+- `debug`: Debug mode, defaults to `E2B_DEBUG` environment variable
+- `request_timeout`: Timeout for the request in **seconds**
+- `headers`: Additional headers to send with the request
+
+**Returns**:
+
+Sandbox info
+
diff --git a/packages/python-sdk/package.json b/packages/python-sdk/package.json
index fd0b395fb..b70a354c5 100644
--- a/packages/python-sdk/package.json
+++ b/packages/python-sdk/package.json
@@ -1,7 +1,7 @@
{
"name": "@e2b/python-sdk",
"private": true,
- "version": "1.3.4",
+ "version": "1.3.5",
"scripts": {
"example": "poetry run python example.py",
"test": "poetry run pytest -n 4 --verbose -x",
diff --git a/packages/python-sdk/pyproject.toml b/packages/python-sdk/pyproject.toml
index 4849f5bbe..aba580593 100644
--- a/packages/python-sdk/pyproject.toml
+++ b/packages/python-sdk/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "e2b"
-version = "1.3.4"
+version = "1.3.5"
description = "E2B SDK that give agents cloud environments"
authors = ["e2b <[email protected]>"]
license = "MIT"