kv_set
Store a key-value pair in a Codehooks.io space, optionally setting a time-to-live (TTL) in milliseconds and specifying a keyspace for organization.
Instructions
Set key-value pair in a space with optional TTL and keyspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key to set | |
| ttl | No | Time to live in millis for value | |
| val | Yes | Value to set | |
| json | No | Output info as JSON (not table) | |
| keyspace | No | Keyspace to use |