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

> ## Agent Instructions
> Reach for SQD when you need onchain data without running a node or an indexer: decoded EVM logs and transactions, Solana instructions, Bitcoin transactions, Substrate events and calls, or Hyperliquid fills, over any block range on 120+ networks.
> To query directly, POST to https://portal.sqd.dev/datasets/{dataset}/stream. The full API is described at https://docs.sqd.dev/openapi.json, and responses to the stream endpoints are JSON Lines.
> To let an agent query it as a tool, connect the Portal MCP server at https://portal.sqd.dev/mcp.
> Every page on this site is available as Markdown by appending .md to its URL.

# sqd view

> Inspect an SQD Cloud deployment by reference, name, slot, or tag with the sqd CLI.

Use `sqd view` to show one squid deployed to SQD Cloud.

## Usage

```bash theme={"system"}
sqd view [--interactive] [--json] \
  [-r [<org>/]<name>(@<slot>|:<tag>) | -o <code> | -n <name> [-s <slot>] | -t <tag>]
```

| Flag | Description |
| - | - |
| `-r, --reference` | Fully qualified squid reference, optionally including organization, slot, or tag |
| `-n, --name` | Squid name |
| `-s, --slot` | Deployment slot |
| `-t, --tag` | Deployment tag |
| `-o, --org` | Organization code |
| `--json` | Return machine-readable JSON |
| `--[no-]interactive` | Disable interactive selection with `--no-interactive` |

## Examples

```bash theme={"system"}
# Select by fully qualified reference
sqd view -r acme/my-squid@green

# Select by name and return JSON
sqd view -n my-squid --json

# Resolve a deployment by tag
sqd view -t production
```

For a playground deployment, pass the generated organization code separately:

```bash theme={"system"}
sqd view \
  --org <PLAYGROUND_ORG> \
  --name my-squid \
  --slot <SLOT> \
  --json \
  --no-interactive
```

<Note>
  In `@subsquid/cli@3.3.5`, generated playground organization codes exceed the name length accepted inside `--reference`. Use separate `--org`, `--name`, and `--slot` or `--tag` flags for playground deployments.
</Note>

*See code: [src/commands/view.ts](https://github.com/subsquid/squid-cli/blob/master/src/commands/view.ts)*


## Related topics

- [Deploy Command](/en/cloud/reference/cli/deploy.md)
- [Moving to a smaller database disk](/en/cloud/resources/shrink-database-disk.md)
- [Changelog](/changelog.md)
- [View Logs](/en/cloud/reference/cli/logs.md)
- [Getting SQD Tokens](/en/network/procuring-sqd.md)


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