Actions37
- Append
- Blocking Pop Left
- Blocking Pop Right
- Delete
- Eval
- Exists
- Expire At
- Get
- Get Set
- Hash Exists
- Hash Keys
- Hash Length
- Hash Values
- Increment
- Info
- JSON Get
- JSON Set
- Keys
- List Length
- Multi Get
- Multi Set
- Persist
- Pop
- Publish
- Push
- Scan
- Set
- Set Add
- Set Cardinality
- Set Is Member
- Set Remove
- Sorted Set Add
- Sorted Set Cardinality
- Sorted Set Range
- Sorted Set Remove
- String Length
- TTL
Exists
AI-generatedSummary
Check the existence of one or more Redis keys by specifying their names as a space-separated string.
Inputs
- Keys (required) — Space-separated names of the Redis keys to check for existence.
Output shape
A single JSON object indicating the number of existing keys and listing the keys checked.
Returns a JSON object with 'exists' property indicating how many of the specified keys exist, and 'keys' property listing the keys that were checked.
Examples
Example 1: Check if keys 'key1', 'key2', and 'key3' exist in Redis.
Set 'Keys' parameter to 'key1 key2 key3'. The output will show how many of these keys exist and which keys were checked.