# get_backup_contents

> Show what is inside one backup — which databases, which mailboxes, which DNS zones and certificates, and the home directory's files.

- Tier: R
- Required scope: read:hosting
- Annotations: readOnlyHint, idempotentHint
- Docs: https://api.inleed.com/tools/get-backup-contents

## Description

Show what is inside one backup — which databases, which mailboxes, which DNS zones and certificates, and the home directory's files. Returns `components` (a per-component count and size), `items[]` with `id`, `component`, `name` and `sizeBytes`, and `permissions` — which components this hosting plan is allowed to restore. Pass `path` (e.g. `/domains/example.com/public_html`) to list the files and folders at that path inside the backup, and follow `entries[].name` down one level at a time.

## Input schema

- `input` — string (required). A domain, email address, website URL, numeric service id, or hosting-account username the customer actually owns. Resolved to the owning account automatically; the resolved target is echoed back in the response.
- `backup_id` — string (required). The backup to look inside, from list_backups → backups[].id (24 hex characters).
- `path` — string. An absolute path inside the backup's home directory to list, e.g. /domains/example.com/public_html.
- `item_id` — string. Browse a specific home-directory item instead of the snapshot's default one. Take it from this tool's own items[].id where browsable is true.

## Example call

```json
{
  "name": "get_backup_contents",
  "arguments": {
    "input": "example.se",
    "backup_id": "res_01hx8n3k5p7q9r2s4t6v8w0y57"
  }
}
```

