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

# plog export

> Export verifiable evidence packages

`plog export` creates self-contained `.plog` files with hash chains and Merkle inclusion proofs for offline verification.

## Usage

```bash theme={null}
plog export --agent-id my-agent
plog export --agent-id my-agent --since 2026-02-01T00:00:00Z --until 2026-02-17T00:00:00Z
```

## Flags

| Flag             | Default                  | Description                                                   |
| ---------------- | ------------------------ | ------------------------------------------------------------- |
| `--agent-id`     | —                        | **Required.** Agent ID to export                              |
| `--since`        | —                        | Start of time range (RFC 3339)                                |
| `--until`        | —                        | End of time range (RFC 3339)                                  |
| `-o`, `--output` | —                        | Output file path (default: `export-<agent>-<timestamp>.plog`) |
| `--server`       | —                        | Export from a remote server                                   |
| `--api-key`      | —                        | API key for server authentication                             |
| `--db`           | `~/.provenlog/events.db` | Local SQLite database path                                    |

## Verifying an export

```bash theme={null}
plog verify-export package.plog
```

See [Verifiable Exports](/features/verifiable-exports) for details on the package format and verification process.
