> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://platform.bctrl.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://platform.bctrl.ai/_mcp/server.

# View Commands

> Create, list, inspect, and revoke expiring human-facing views.

Create, list, inspect, and revoke expiring human-facing views.

Output formatting flags (`--json`, `--jq`, and `--template`) are documented once in [Output Formatting](/cli/output) and are omitted from the tables below.

## `bctrl view list`

List active views

```bash
bctrl view list [flags]
```

| Flag                   | Description                         |
| ---------------------- | ----------------------------------- |
| `-L, --limit <number>` | Maximum number of results to return |
| `--cursor <cursor>`    | Pagination cursor                   |

## `bctrl view create`

Create a hosted link or origin-restricted website embed (pass scope, components, presentation, and TTL with --body)

```bash
bctrl view create
```

## `bctrl view get`

Get a view

```bash
bctrl view get <viewId>
```

## `bctrl view delete`

Revoke a view

```bash
bctrl view delete <viewId> [flags]
```

| Flag        | Description      |
| ----------- | ---------------- |
| `-y, --yes` | Confirm deletion |