# Daytona integration

> Secure, elastic infrastructure for running AI-generated code in isolated sandboxes

- Authentication: apiKey

## Tools (28)

- **Archive Sandbox**: Archive a stopped sandbox to cheaper storage; can be restored later by starting it
- **Create Sandbox**: Provision a new sandbox from a snapshot or image with optional resources, env vars, volumes, and labels
- **Create Session**: Create a persistent shell session inside a sandbox for stateful or long-running commands
- **Create Snapshot**: Create a reusable snapshot from a Dockerfile or registry image
- **Create Volume**: Create a persistent volume that can be mounted into sandboxes
- **Delete File**: Delete a file or directory inside a sandbox
- **Delete Sandbox**: Permanently delete a sandbox and all of its disk state
- **Delete Session**: Terminate and clean up a session inside a sandbox
- **Delete Snapshot**: Delete a snapshot by id
- **Delete Volume**: Delete a persistent volume
- **Download File**: Download a file from a sandbox
- **Execute Command in Sandbox**: Run a shell command inside a sandbox synchronously and get stdout/stderr and exit code
- **Execute Command in Session**: Run a command inside a session, optionally async, and retrieve its output
- **Get Sandbox**: Get details and current state of a sandbox by id or name
- **Get Sandbox Preview URL**: Generate a preview URL for an exposed port on a sandbox
- **Get Session Command Logs**: Retrieve stdout/stderr and exit code for a command running in a session
- **Git Clone Repository**: Clone a Git repository into a sandbox
- **List Files**: List files and directories at a path inside a sandbox
- **List Sandboxes**: List sandboxes in the organization with optional label filtering and pagination
- **List Snapshots**: List all snapshots available to the organization
- **List Volumes**: List persistent volumes in the organization
- **Resize Sandbox**: Change CPU, memory, or disk allocation for an existing sandbox
- **Run Code in Sandbox**: Execute a snippet of code (e.g. Python or JS) inside a sandbox via the code-run endpoint
- **Send Input to Session Command**: Send stdin to an interactive command running in a session
- **Set Auto-Stop / Auto-Archive / Auto-Delete Intervals**: Update the inactivity intervals that automatically stop, archive, or delete a sandbox
- **Start Sandbox**: Start a stopped or archived sandbox
- **Stop Sandbox**: Stop a running sandbox without deleting its disk
- **Upload File**: Upload a file to a path inside a sandbox

## Related prompts

- [Monthly SaaS cohort retention and MRR report in Slack](https://www.generalinput.com/prompts/monthly-saas-cohort-retention-and-mrr-report-in-slack.md)
- [Weekly HubSpot pipeline health report in Slack](https://www.generalinput.com/prompts/weekly-hubspot-pipeline-health-report-in-slack.md)
- [Auto-reproduce new GitHub bug reports in a sandbox](https://www.generalinput.com/prompts/auto-reproduce-new-github-bug-reports-in-a-sandbox.md)
- [Weekly competitor pricing tracker logged to Google Sheets](https://www.generalinput.com/prompts/weekly-competitor-pricing-tracker-logged-to-google-sheets.md)
- [Run affected tests on every PR with an AI failure explainer](https://www.generalinput.com/prompts/run-affected-tests-on-every-pr-with-an-ai-failure-explainer.md)

Connect Daytona in General Input: https://www.generalinput.com/apps/daytona