Skip to content
Fourohtwo

Audit a Redis key list (key, TTL, size, type, element count)

code.halowerk.com/v1/redis-key-audit

Audit a Redis key list (key, TTL, size, type, element count): keys without TTL by prefix, big strings and collections, encoding limits, long key names, mass expiry and memory per prefix. Works on a key list you export yourself (e.g. SCAN with TTL, MEMORY USAGE, TYPE and HLEN/ZCARD/SCARD/LLEN) as JSON or CSV; nothing connects to Redis. Groups keys by prefix and by pattern (numeric, UUID and hex seg

BaseAnswering
POSThttps://code.halowerk.com/v1/redis-key-audit

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://code.halowerk.com/v1/redis-key-audit", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"keys":[{"bytes":300,"key":"session:8f3a9c2e","ttl":-1,"type":"string"},{"bytes":900000,"elements":12000,"key":"feed:global","ttl":-1,"type":"zset"}]}),
});
console.log(await res.json());

Example input

{
  "keys": [
    {
      "bytes": 300,
      "key": "session:8f3a9c2e",
      "ttl": -1,
      "type": "string"
    },
    {
      "bytes": 900000,
      "elements": 12000,
      "key": "feed:global",
      "ttl": -1,
      "type": "zset"
    }
  ]
}