Skip to main content
Overview
Redis
Vector
QStash
Workflow
Search
Box
Realtime
Developer API
Search
⌘K
Ask AI
⌘I
Discord
Blog
Twitter
Console
Redis
/
/
SDKs
/
Typescript
/
Commands
/
Generic
TOUCH
Alters the last access time of one or more keys
1 min read
Copy as Markdown
Arguments
#
keys
...string[]
required
#
One or more keys.
Response
#
SCAN
TTL
Example
await
redis.
touch
(
"key1"
,
"key2"
,
"key3"
);