Skip to main content
Usage
algolia dictionary entries import <dictionary> -F <file> [--wait] [--continue-on-errors] [flags]

Examples

Import entries from the “entries.ndjson” file to the “stopwords” dictionary:
algolia dictionary import stopwords -F entries.ndjson
Import entries from the “entries.ndjson” file to the “plurals” dictionary and continue importing entries even if some entries are invalid:
algolia dictionary import plurals -F entries.ndjson --continue-on-errors

Flags

-C, --continue-on-error
Continue importing entries even if some entries are invalid.
--dry-run
Validate and preview the import request without sending it
-F, --file
Read entries to import from file (use ”-” to read from standard input)
-w, --wait
Wait for the operation to complete before returning

Output formatting flags

--allow-missing-template-keys
If true, ignore errors in templates due to missing fields or map keys. This only applies to golang and jsonpath output formats.
-o, --output
Output format. One of: (json, jsonl, ndjson, jsonpath, jsonpath-as-json, jsonpath-file).
--template
Template string or path to a template file to use when —output=jsonpath, —output=jsonpath-file.
Last modified on May 12, 2026