Data: import
data_importBulk import records into an entity from CSV, JSON, or JSONL files, validating rows against field types and rejecting unknown columns. Run a dry run first, then create one record per row.
Instructions
Create records from a CSV, JSON array or JSONL file. Always run with --dry-run first and only add --yes after the dry run is approved. Reads a file on the machine running the CLI and creates one new record per row, checking values against the entity's field types; rows with unknown columns are rejected unless told to ignore them. System columns such as id are ignored, so it never updates existing records. For a single record, use data_create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | CSV, JSON array or JSONL file | |
| entity | Yes | Entity name | |
| errors | No | Write rows that were skipped or failed, with an _error column, so they can be fixed and re-imported | |
| format | No | csv, json or jsonl (default: from the file extension, else sniffed) | |
| dry_run | No | Validate every row and report what would be created; sends nothing | |
| concurrency | No | Parallel create requests (default: 4, max: 16) | |
| ignore_unknown | No | Drop columns that aren't fields on the entity instead of rejecting the row |