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

# Inspect a Content Node

> Use kdx document node to inspect a single content node by ID, with optional features, tags, children, and bounding box detail in JSON output.

Show detailed information about a specific content node including its content, type, page, bounding box, parent path, and optionally its features, tags, and children.

## Usage

```bash theme={null}
kdx document node <node-id> <file.kddb> [flags]
```

## Flags

| Flag         | Description              | Default |
| ------------ | ------------------------ | ------- |
| `--features` | Include node features    | false   |
| `--tags`     | Include tags list        | false   |
| `--children` | Include children summary | false   |

## Examples

### Basic Node Inspection

```bash theme={null}
kdx document node 42 doc.kddb
```

```json theme={null}
{
  "nodeId": 42,
  "type": "line",
  "content": "Total Revenue: $1,234,567",
  "page": 3,
  "bbox": {"x1": 72.0, "y1": 340.2, "x2": 540.0, "y2": 352.8},
  "parentPath": "root/page/content-area"
}
```

### With Tags and Features

```bash theme={null}
kdx document node 42 doc.kddb --tags --features
```

```json theme={null}
{
  "nodeId": 42,
  "type": "line",
  "content": "Total Revenue: $1,234,567",
  "page": 3,
  "parentPath": "root/page/content-area",
  "tags": [
    {"name": "invoice/total", "value": "$1,234,567", "confidence": 0.95}
  ],
  "features": [
    {"type": "spatial:bbox", "data": {"x1": 72.0, "y1": 340.2}}
  ]
}
```

### With Children

```bash theme={null}
kdx document node 1 doc.kddb --children
```

<Tip>
  Use `node` to inspect nodes found via `locate` or `find` before tagging them, to verify you have the right content.
</Tip>
