> ## 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.

# Document Summary Info

> Use kdx document info to display a summary of a KDDB document including UUID, version, source metadata, labels, statistics, and custom fields.

Show a summary of a KDDB document including UUID, version, source metadata, labels, node statistics, and custom metadata fields.

## Usage

```bash theme={null}
kdx document info <file.kddb>
```

## Output Fields

| Field             | Description                                 |
| ----------------- | ------------------------------------------- |
| `uuid`            | Document unique identifier                  |
| `version`         | Document version string                     |
| `source`          | Original source metadata (connector, path)  |
| `labels`          | Document labels                             |
| `contentNodeType` | Root node type                              |
| `metadata`        | Custom metadata key-value pairs             |
| `statistics`      | Node counts, page count, tag/feature counts |

## Examples

### Basic Info

```bash theme={null}
kdx document info invoice.kddb
```

```json theme={null}
{
  "uuid": "e25dab60-cbdf-499f-857e-ff9c82a19d87",
  "version": "6.0.0",
  "contentNodeType": "root",
  "statistics": {
    "nodeCount": 1247,
    "pageCount": 3,
    "tagCount": 42
  }
}
```

### JSON Output for Scripting

```bash theme={null}
kdx document info report.kddb -o json | jq '.statistics.pageCount'
```

<Tip>
  Use `info` as the first step when exploring an unfamiliar document to understand its size and structure.
</Tip>
