---
title: "file.getHiddenInfo: Find hidden information — PDF kit command — Kition"
description: "What Remove Hidden Information would remove, by category (metadata, attachments, comments, form-fields, hidden-text, hidden-layers, bookmarks, links-actions-scripts, private-data) with counts."
canonical: "https://developer.kition.ai/docs/kits/pdf/commands/file.getHiddenInfo"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/pdf/commands/file.getHiddenInfo](https://developer.kition.ai/docs/kits/pdf/commands/file.getHiddenInfo)

# file.getHiddenInfo

**Find hidden information.** What Remove Hidden Information would remove, by category (metadata, attachments, comments, form-fields, hidden-text, hidden-layers, bookmarks, links-actions-scripts, private-data) with counts.

- Kit: PDF 0.1.0 (.pdf); reference: [PDF kit commands](https://developer.kition.ai/docs/kits/pdf.md)
- Changes the document: no

## Parameters

None.

## Call through pdf_run

```text
pdf_run {
  "path": "<file>.pdf",
  "steps": [{ "command": "file.getHiddenInfo" }]
}
```

The required parameters, with placeholders for their types: not a tested example. pdf_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `categories` | `object[]` | no |  |
| `total` | `number` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "categories": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "category": {
            "type": "string"
          },
          "count": {
            "type": "number"
          },
          "label": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "total": {
      "type": "number"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/pdf-darwin-arm64@0.1.0 and the kit itself (pdf_commands through @kition/cli@0.1.1, built from KitionAI/kition-pdf@b0d2725).
