# subnet-identity (/docs/query/subnet-identity)

**Category:** Subnets

## Parameters [#parameters]

| Parameter | Type    | Description                    |
| --------- | ------- | ------------------------------ |
| `netuid`  | integer | Subnet whose identity to read. |

## CLI [#cli]

```bash
btcli query subnet-identity --netuid <integer> --json
```

## Python [#python]

Typed namespace method (autocomplete, signature help):

```python
import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.subnets.subnet_identity(netuid=1)
```

Or dispatch by name, as an agent would:

```python
result = await client.read("subnet_identity", netuid=1)
```
