[egulu CLI reference](../../index.md) / [egulu ai](../index.md) / [egulu ai placement](index.md)

# egulu ai placement verify

Verify a Merkle-batched C1 AI placement record (offline or online)

```sh
egulu ai placement verify [options]
```

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--attestation-digest` | value | no | Observed host C1 attestation digest |
| `--batch-id` | value | no | Batch identifier |
| `--expected-digest` | value | no | Expected host C1 attestation digest, from a source you trust (never from the proof file); required for an offline verdict |
| `--file` | value | no | Offline JSON placement proof file to verify locally without calling the API |
| `--leaf-hash` | value | no | SHA-256 leaf digest (hex) |
| `--leaf-index` | value | no | 0-based leaf index within the batch |
| `--location` | value | no | Location ID (default PLAT_LOCATION when calling online API) |
| `--merkle-root` | value | no | Expected Merkle batch root (hex) |
| `--offline` | switch | no | Verify Merkle inclusion and attestation digest locally without calling the API |
| `--platform-key` | value | no | Pinned platform placement public key (PEM or base64 SubjectPublicKeyInfo file); required for an offline verdict |
| `--project` | value | no | Project ID (default PLAT_PROJECT when calling online API) |
| `--proof` | value | no | Comma-separated sibling hashes in the Merkle proof |
| `--root-signature` | value | no | Platform signature over the batch root (base64); default: the proof file's rootSignature |

The [global options](../../index.md) apply too.
