# `npx @sanity/cli blueprints info`

Read the current state and deployed resources of one remote Stack, including the status of its most recent deploy or destroy operation. Use it to verify a target before mutation.

## Run

Use the locally configured Stack:

```sh
npx @sanity/cli blueprints info --json
```

Query a specific target when local configuration is absent or should not be trusted:

```sh
npx @sanity/cli blueprints info --project-id PROJECT_ID --stack NAME_OR_ID --json
```

Use `--organization-id` instead of `--project-id` for an organization scope. `--stack` accepts a Stack name or ID. `--verbose` (`-v`) adds each resource's ID and external ID to human-readable output.

The JSON result contains a `stack` object with `id`, `name`, `scopeType`, `scopeId`, `resources`, and `recentOperation`. Check `recentOperation.status` rather than relying on a successful exit alone.

Run this command after `deploy --no-wait`, `destroy --no-wait`, or exit code `75`. Use `blueprints stacks --json` first when the Stack ID is unknown.
