lookup-caches
In-memory key-value stores for deduplication, cross-reference resolution, and state tracking during flow execution.
REST API: Lookup Caches
Subcommands
List every lookup cache on the account.
Fetch one cache definition by id.
Create a new cache from a JSON body (--file <path> or stdin).
Full-replace PUT from a JSON body (--file <path> or stdin).
Patch fields with key=value assignments. Supports key=file://<path>.
Delete a cache definition.
List resources that depend on this cache (alias used-by).
Show the audit log (change history) for one cache.
Upsert entries into a cache (auto-batched).
Read entries from a cache.
Delete specific keys from a cache.
Purge every entry from a cache.
celigo lookup-caches list
List every lookup cache. Columns: _id, name, size, lastModified.
Corresponds to: GET /v1/lookupcaches
celigo lookup-caches get
Fetch one cache by id.
Corresponds to: GET /v1/lookupcaches/{_id}
celigo lookup-caches create
Create a cache from a JSON body. Read the body from a file with -f, --file (recommended), or pipe it on stdin (--file - also means stdin).
-f, --file <path>
Read the JSON body from a file instead of stdin (--file - also means stdin). Added in celigo-cli 2026.6.1.
Corresponds to: POST /v1/lookupcaches
celigo lookup-caches update
Full-replace PUT. Reads the complete cache document from -f, --file or stdin — omitted fields are erased.
⚠️
updatereplaces the entire cache definition. Any field you omit from the body is erased. GET the current document first, modify it, then PUT the complete object back — or usesetfor targeted edits.
-f, --file <path>
Read the JSON body from a file instead of stdin (--file - also means stdin). Added in celigo-cli 2026.6.1.
--force
Submit even if the body contains masked credential values (***) copied from a GET.
Corresponds to: PUT /v1/lookupcaches/{_id}
celigo lookup-caches set
Patch individual fields with key=value assignments. Whitelisted fields (for example name, debugUntil, schedule.*) are applied via an atomic PATCH; other fields go through GET → modify → PUT so omitted fields are preserved. Values are auto-parsed as JSON (disabled=false is a boolean, debugUntil=null removes the field). Dot notation and array indexing are supported. A key=file://<path> value loads that field from a file instead of the command line (a leading ~ and relative paths are supported). Added in celigo-cli 2026.6.1.
Corresponds to: GET /v1/lookupcaches/{_id} then PUT /v1/lookupcaches/{_id}
celigo lookup-caches delete
Delete the cache definition. Prompts for confirmation unless -y is supplied.
⚠️ Deleting a cache removes its definition. Run
dependenciesfirst — flows and imports that reference this cache will break.
-y, --yes
Skip confirmation.
Corresponds to: DELETE /v1/lookupcaches/{_id}
celigo lookup-caches dependencies
List resources that depend on this cache (alias: used-by). Use it to check whether a cache is safe to delete — an empty result means nothing references it.
Corresponds to: GET /v1/lookupcaches/{_id}/dependencies
celigo lookup-caches audit
Show the audit log (change history) for one cache.
Corresponds to: GET /v1/lookupcaches/{_id}/audit
celigo lookup-caches put-data
Upsert entries into the cache. Reads { "data": [{ "key", "value" }, ...] } on stdin and auto-batches by count (1000) and size (5 MB).
Corresponds to: POST /v1/lookupcaches/{_id}/data
celigo lookup-caches get-data
Read entries from the cache. Behaviour depends on stdin:
No stdin — returns the first page (max 1000 keys).
{ "keys": ["k1", "k2"] }— returns only those entries.{ "startsWith": "abc" }— returns entries whose key matches the prefix.
Corresponds to: POST /v1/lookupcaches/{_id}/getData
celigo lookup-caches delete-data
Delete specific keys. Reads { "keys": ["k1", "k2", ...] } on stdin. Prompts for confirmation unless -y is supplied.
⚠️ Deleting cache entries is irreversible. The specified keys are removed; the cache definition itself is untouched.
-y, --yes
Skip confirmation.
Corresponds to: DELETE /v1/lookupcaches/{_id}/data
celigo lookup-caches purge-data
Purge every entry from the cache. Prompts for confirmation unless -y is supplied.
⚠️ Purging clears every entry in the cache. This cannot be undone. The cache definition remains, but all stored data is removed.
-y, --yes
Skip confirmation.
Corresponds to: DELETE /v1/lookupcaches/{_id}/data/purge
Gotchas
Cache data writes use
POST, notPUT.put-datamaps toPOST /v1/lookupcaches/{_id}/data; there is no PUT on the/dataendpoint.Reads also use
POST.get-dataposts to/getDataso the key list or prefix filter can ride in the request body.5 MB / 1000-entry batch ceiling.
put-dataauto-splits large payloads; size is measured in bytes of the JSON-encoded entry.Definition vs. contents.
deleteremoves the cache itself.delete-dataandpurge-dataonly clear entries — the cache definition stays put.Empty
dataarray is rejected.put-dataerrors out if the parseddataarray has zero entries.
Related
Last updated
Was this helpful?