# Agentuity CLI Cloud Sandbox Files

> List files in a sandbox directory. Requires authentication. Use for Agentuity cloud platform operations

- Skill: `agentuity-docs/agentuity-cli-cloud-sandbox-files` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentuity-docs/agentuity-cli-cloud-sandbox-files`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentuity-docs/agentuity-cli-cloud-sandbox-files/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- License: Apache-2.0
- Author: agentuity (https://skillmd.com/u/agentuity-docs)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/agentuity-docs/agentuity-cli-cloud-sandbox-files

---


# Cloud Sandbox Files

List files in a sandbox directory

## Prerequisites

- Authenticated with `agentuity auth login`
- Organization context required (`--org-id` or default org)

## Usage

```bash
agentuity cloud sandbox files <sandboxId> [path] [options]
```

## Arguments

| Argument | Type | Required | Description |
|----------|------|----------|-------------|
| `<sandboxId>` | string | Yes | - |
| `<path>` | string | No | - |

## Options

| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| `--long` | boolean | No | `false` | Use long listing format with permissions and timestamps |

## Examples

List files in the sandbox root directory:

```bash
bunx @agentuity/cli cloud sandbox files sbx_abc123
```

List files in a specific directory:

```bash
bunx @agentuity/cli cloud sandbox files sbx_abc123 /path/to/dir
```

List files with permissions and modification time:

```bash
bunx @agentuity/cli cloud sandbox files sbx_abc123 -l
```

List files with JSON output:

```bash
bunx @agentuity/cli cloud sandbox files sbx_abc123 --json
```

## Output

Returns JSON object:

```json
{
  "files": "array",
  "total": "number"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `files` | array | - |
| `total` | number | - |

