RocksDB · Schema

RocksDB Key-Value Entry

Schema representing a key-value entry in a RocksDB database, including optional column family and metadata.

RocksDBKey-Value StoreEmbedded DatabaseStorage EngineOpen-Source

Properties

Name Type Description
key string The key as a string or base64-encoded byte string for binary keys.
value object The value associated with the key. Can be a string, object, or base64 bytes.
column_family string Name of the column family containing this entry. Defaults to 'default'.
sequence_number integer Internal RocksDB sequence number at which this entry was written.
type string Type of the RocksDB write operation.
timestamp string Timestamp of the write operation (when user-defined timestamps are enabled).
ttl_seconds integer Time-to-live in seconds from the creation time. Key expires after this duration.
View JSON Schema on GitHub

JSON Schema

rocksdb-key-value-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/rocksdb/json-schema/rocksdb-key-value-schema.json",
  "title": "RocksDB Key-Value Entry",
  "description": "Schema representing a key-value entry in a RocksDB database, including optional column family and metadata.",
  "type": "object",
  "required": ["key", "value"],
  "properties": {
    "key": {
      "type": "string",
      "description": "The key as a string or base64-encoded byte string for binary keys.",
      "examples": ["user:12345", "session:abc123"]
    },
    "value": {
      "description": "The value associated with the key. Can be a string, object, or base64 bytes.",
      "examples": ["{\"name\": \"Alice\"}", "binary-data-base64"]
    },
    "column_family": {
      "type": "string",
      "description": "Name of the column family containing this entry. Defaults to 'default'.",
      "default": "default"
    },
    "sequence_number": {
      "type": "integer",
      "description": "Internal RocksDB sequence number at which this entry was written.",
      "minimum": 0
    },
    "type": {
      "type": "string",
      "enum": ["put", "delete", "merge", "single_delete"],
      "description": "Type of the RocksDB write operation.",
      "default": "put"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of the write operation (when user-defined timestamps are enabled)."
    },
    "ttl_seconds": {
      "type": "integer",
      "description": "Time-to-live in seconds from the creation time. Key expires after this duration.",
      "minimum": 0
    }
  },
  "additionalProperties": false
}

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/rocksdb-key-value"
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 email required.

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