Redis · JSON Structure

Redis Key Value Structure

JSON structure for a Redis key and its value, supporting all core data types.

Type: object Properties: 0
CacheDatabaseIn-MemoryKey-Value StoreNoSQLOpen-SourceStreaming

Redis Key Value Structure is a JSON Structure definition published by Redis.

Meta-schema:

JSON Structure

redis-key-value-structure.json Raw ↑
{
  "title": "Redis Key-Value Structure",
  "description": "JSON structure for a Redis key and its value, supporting all core data types.",
  "type": "object",
  "fields": [
    { "name": "key", "type": "string", "required": true, "description": "The Redis key name." },
    { "name": "type", "type": "string", "required": false, "description": "Redis data type.", "enum": ["string", "list", "set", "zset", "hash", "stream", "json", "none"] },
    { "name": "value", "type": "any", "required": false, "description": "The stored value. Shape depends on type." },
    { "name": "ttl", "type": "integer", "required": false, "description": "Time-to-live in seconds. -1 means no expiry." },
    { "name": "encoding", "type": "string", "required": false, "description": "Internal Redis encoding (embstr, raw, ziplist, etc.)." }
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/redis-key-value-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.