Fetch the complete documentation index at: /llms.txt
Ask it with GET /ask?q=<keywords or question>. Short keywords rank best.
Use these to discover all available pages before exploring further.
Feature requests: /common/help/feature-requests.md lists what users asked for and how to vote for a request or add one.
Page rating: `GET /feedback?path=<this page's path>&helpful=true` (or `false`) records whether this page helped. An optional `comment` (URL-encoded, at most 500 characters) says what was missing or wrong. It is anonymous and needs no key. Comments hold no code, secrets or personal data.
# Get the TTL of a keyredis.set("my-key", "value")assert redis.ttl("my-key") == -1redis.expire("my-key", 10)assert redis.ttl("my-key") > 0# Non existent keyassert redis.ttl("non-existent-key") == -2