Registry stack documentation: machine-readable Markdown.
Index of all pages: https://docs.registrystack.org/dev/llms.txt
Full corpus: https://docs.registrystack.org/dev/llms-full.txt

# bregctl data import command reference

> Generated syntax and options for bregctl data import.

{/* Generated from Clap command definitions by scripts/generate-cli-reference.mjs. Run npm run generate. */}

Import JSONL records through the ordinary authenticated batch API.

## Contract status

This page is generated from the public Clap command tree for Registry Stack source version `0.30.0` and catalog SHA-256 `2221f17eae216048d4cfaf7f66e3dcd68a250f6f6de4e24b177441819192b475`. Hidden implementation commands are omitted.

## Usage

```text
bregctl data import [OPTIONS] --package <ABSOLUTE_DIRECTORY> --breg-url <URL> --access-token-file <ABSOLUTE_FILE> --entity <ID> --profile <ID> --operation <OPERATION> --input <FILE> --checkpoint <FILE>
```

## Options

| Option | Always required | Default | Values | Environment | Description |
| --- | --- | --- | --- | --- | --- |
| `--package <ABSOLUTE_DIRECTORY>` | Yes | n/a | n/a | n/a | Absolute closed package directory used only for deterministic planning. A symbolic link at any component of this path is refused. |
| `--breg-url <URL>` | Yes | n/a | n/a | n/a | Base Registry Engine base URL. HTTP is accepted only for loopback hosts |
| `--access-token-file <ABSOLUTE_FILE>` | Yes | n/a | n/a | n/a | File containing one bearer access token and no other credential material. A symbolic link at any component of this path is refused. |
| `--entity <ID>` | Yes | n/a | n/a | n/a | Compiled entity identifier |
| `--profile <ID>` | Yes | n/a | n/a | n/a | Compiled non-anonymous access profile identifier |
| `--operation <OPERATION>` | Yes | n/a | `create`, `patch` | n/a | Import item operation |
| `--input <FILE>` | Yes | n/a | n/a | n/a | JSON Lines import file. A symbolic link at any component of this path is refused. |
| `--checkpoint <FILE>` | Yes | n/a | n/a | n/a | Import checkpoint file. A ctl-held .state sidecar is created beside it. A symbolic link at any component of this path is refused. |
| `--max-chunks <COUNT>` | No | n/a | n/a | n/a | Stop after this many committed chunks, for resumable operator runs |
| `--format <FORMAT>` | No | `human` | `human`, `json` | n/a | Emit the selected command's report in this format |
| `-h, --help` | No | n/a | n/a | n/a | Print help |

## Generation contract

Run `npm run generate` from `docs/site` after changing a public command, argument, option, default, environment binding, or help description.