> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yolocode.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Sandbox

> Create a new E2B sandbox

**name** `string` *required*

Sandbox name.

**taskDescription** `string`

Description used to generate a display name via AI.

**template** `string` (default: yolocode)

Template: `yolocode`, `yolocode-dev`, or `default`.

**gitHubRepo** `string`

GitHub repo to clone (format: `owner/repo`).

**githubToken** `string`

GitHub token for repo access.

**githubBranch** `string`

Branch to checkout.

**claudeCredentials** `object`

Claude OAuth credentials to inject.

**repositorySetup** `object`

Setup config with `environmentVariables` map.

**metadata** `object`

Additional metadata key-value pairs.

### Response

**id** `string`

Sandbox ID.

**name** `string`

Sandbox name.

**displayName** `string`

AI-generated display name.

**status** `string`

`running`

**host** `string`

Sandbox host URL.

**websshHost** `string`

WebSSH URL (port 8888).

**claudeHost** `string`

Claude WebSocket URL (port 9999).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.