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

# Sandbox API

> Create isolated sessions, run commands, and manage files.

For API groups, see [Sandbox API](/docs/cloud/apis/sandbox).

## Queries

| Operation | Description |
| - | - |
| [`sandboxBackgroundCommand`](/docs/cloud/graphql/operations/sandbox-api/queries/sandboxbackgroundcommand) | Returns the status of a background command in a sandbox session. |
| [`sandboxBackgroundCommandOutput`](/docs/cloud/graphql/operations/sandbox-api/queries/sandboxbackgroundcommandoutput) | Returns output from a background sandbox command. |
| [`sandboxBackgroundCommands`](/docs/cloud/graphql/operations/sandbox-api/queries/sandboxbackgroundcommands) | Lists background commands in a sandbox session. |
| [`sandboxSession`](/docs/cloud/graphql/operations/sandbox-api/queries/sandboxsession) | Returns a sandbox session and its status. |

## Mutations

| Operation | Description |
| - | - |
| [`cancelSandboxBackgroundCommand`](/docs/cloud/graphql/operations/sandbox-api/mutations/cancelsandboxbackgroundcommand) | Requests cancellation of a background sandbox command. |
| [`createSandboxSession`](/docs/cloud/graphql/operations/sandbox-api/mutations/createsandboxsession) | Creates an isolated sandbox session for a billing project. |
| [`deleteSandboxSession`](/docs/cloud/graphql/operations/sandbox-api/mutations/deletesandboxsession) | Requests deletion of a sandbox session. |
| [`runSandboxCommand`](/docs/cloud/graphql/operations/sandbox-api/mutations/runsandboxcommand) | Runs a command in a sandbox session. |
| [`sandboxSessionHeartbeat`](/docs/cloud/graphql/operations/sandbox-api/mutations/sandboxsessionheartbeat) | Updates the session’s activity timestamp for idle-timeout handling. |
| [`startSandboxBackgroundCommand`](/docs/cloud/graphql/operations/sandbox-api/mutations/startsandboxbackgroundcommand) | Starts a background command in a sandbox session. |
| [`updateSandboxSessionLifetime`](/docs/cloud/graphql/operations/sandbox-api/mutations/updatesandboxsessionlifetime) | Updates the lifetime policy of a sandbox session. |


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