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

# gtm granola

> Command reference for gtm granola — Granola local export commands. Generated from the CLI help text.

Granola local export commands.

Every command follows the [CLI contract](/concepts/cli-contract): JSON on stdout, errors on stderr, and command-specific mutation safety controls. Keys resolve as described in [Secrets and API keys](/secrets).

## Commands

### `gtm granola export`

```bash theme={"system"}
uv run gtm granola export [OPTIONS]
```

| Option     | Type    | Default                                                    | Description                    |
| ---------- | ------- | ---------------------------------------------------------- | ------------------------------ |
| `--source` | choice  | `hybrid`                                                   | Export source strategy         |
| `--output` | path    | `/Users/elvis/Documents/elviskahoro/zotero/zotero-granola` | Output root                    |
| `--since`  | text    | —                                                          | Optional ISO timestamp filter  |
| `--debug`  | boolean | `false`                                                    | Print debug output             |
| `--json`   | text    | —                                                          | JSON payload (overrides flags) |


## Related topics

- [CLI overview](/cli/index.md)
- [gtm-sdk: Go-To-Market SDK and CLI for Modal](/index.md)
- [Secrets and API keys](/secrets.md)
- [Architecture](/concepts/architecture.md)
- [CLI contract](/concepts/cli-contract.md)
