Redis · Schema

Redis Server Info

Key metrics from the Redis INFO command, covering server, clients, memory, persistence, replication, and stats sections.

CacheDatabaseIn-MemoryKey-Value StoreNoSQLOpen-SourceStreaming

Properties

Name Type Description
redis_version string Redis server version string (e.g., 7.2.0).
redis_mode string Redis operational mode.
uptime_in_seconds integer Number of seconds since server start.
connected_clients integer Number of client connections (excluding replica connections).
used_memory integer Total bytes allocated by Redis using its allocator.
used_memory_human string Human-readable used memory (e.g., 1.23M).
maxmemory integer Maximum memory configured. 0 means no limit.
maxmemory_policy string Eviction policy when maxmemory is reached.
rdb_last_save_time integer Unix timestamp of last successful RDB save.
aof_enabled integer Whether AOF persistence is enabled (1) or disabled (0).
role string Replication role of this instance.
connected_slaves integer Number of connected replicas.
total_commands_processed integer Total number of commands processed since server start.
total_connections_received integer Total connections accepted since server start.
keyspace_hits integer Number of successful key lookups.
keyspace_misses integer Number of failed key lookups.
expired_keys integer Total number of key expiration events.
evicted_keys integer Number of keys evicted due to maxmemory policy.
db object Per-database key statistics.
View JSON Schema on GitHub

JSON Schema

redis-server-info-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://redis.io/schemas/server-info.json",
  "title": "Redis Server Info",
  "description": "Key metrics from the Redis INFO command, covering server, clients, memory, persistence, replication, and stats sections.",
  "type": "object",
  "properties": {
    "redis_version": {
      "type": "string",
      "description": "Redis server version string (e.g., 7.2.0)."
    },
    "redis_mode": {
      "type": "string",
      "enum": ["standalone", "sentinel", "cluster"],
      "description": "Redis operational mode."
    },
    "uptime_in_seconds": {
      "type": "integer",
      "description": "Number of seconds since server start."
    },
    "connected_clients": {
      "type": "integer",
      "description": "Number of client connections (excluding replica connections)."
    },
    "used_memory": {
      "type": "integer",
      "description": "Total bytes allocated by Redis using its allocator."
    },
    "used_memory_human": {
      "type": "string",
      "description": "Human-readable used memory (e.g., 1.23M)."
    },
    "maxmemory": {
      "type": "integer",
      "description": "Maximum memory configured. 0 means no limit."
    },
    "maxmemory_policy": {
      "type": "string",
      "enum": ["noeviction", "allkeys-lru", "volatile-lru", "allkeys-random", "volatile-random", "volatile-ttl", "allkeys-lfu", "volatile-lfu"],
      "description": "Eviction policy when maxmemory is reached."
    },
    "rdb_last_save_time": {
      "type": "integer",
      "description": "Unix timestamp of last successful RDB save."
    },
    "aof_enabled": {
      "type": "integer",
      "enum": [0, 1],
      "description": "Whether AOF persistence is enabled (1) or disabled (0)."
    },
    "role": {
      "type": "string",
      "enum": ["master", "replica", "slave"],
      "description": "Replication role of this instance."
    },
    "connected_slaves": {
      "type": "integer",
      "description": "Number of connected replicas."
    },
    "total_commands_processed": {
      "type": "integer",
      "description": "Total number of commands processed since server start."
    },
    "total_connections_received": {
      "type": "integer",
      "description": "Total connections accepted since server start."
    },
    "keyspace_hits": {
      "type": "integer",
      "description": "Number of successful key lookups."
    },
    "keyspace_misses": {
      "type": "integer",
      "description": "Number of failed key lookups."
    },
    "expired_keys": {
      "type": "integer",
      "description": "Total number of key expiration events."
    },
    "evicted_keys": {
      "type": "integer",
      "description": "Number of keys evicted due to maxmemory policy."
    },
    "db": {
      "type": "object",
      "description": "Per-database key statistics.",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "keys": { "type": "integer" },
          "expires": { "type": "integer" },
          "avg_ttl": { "type": "integer" }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/redis-server-info"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.