Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

cache_read

Reads a key from a cache connector (Redis or the built-in in-memory backend). Missing keys yield null.

Synopsis

{
  "name": "cache_read",
  "input": {
    "connector": "redis",
    "key": "rate:42",
    "output": "data.cached"
  }
}

Description

cache_read is a connector function. It names a connector for its credentials and endpoint. Orion validates its input when the workflow is saved, and the call runs through the connector’s circuit breaker.

Retry safety: read. See Retry safety for what the answer costs.

Fields

FieldTypeRequiredDefaultDescription
connectorstringyesName of the cache connector
keystringyesCache key to read
outputstring | JSONLogicno"data"Dotted path where the value is written

Examples

{ "name": "cache_read", "input": { "connector": "redis", "key": "rate:42", "output": "data.cached" } }

Last verified 14 September 2026