CockroachDB · Schema

RangeInfo

Information about a single range, including span, replica placement, lease holder, and per-replica statistics.

Cluster ManagementCloudDatabaseDistributed SQLInfrastructurePostgreSQL CompatibleSQL

Properties

Name Type Description
desc object
span object Key span covered by this range.
source_node_id integer Node ID that provided this range information.
source_store_id integer Store ID on the source node that holds this range.
error_message string Error message if range information could not be retrieved.
lease_holder integer Store ID of the current leaseholder replica.
raft_state string Raft consensus state of this range (e.g. Leader, Follower).
stats object Aggregate statistics for the range including key/value counts.
View JSON Schema on GitHub

JSON Schema

cockroachdb-rangeinfo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RangeInfo",
  "title": "RangeInfo",
  "type": "object",
  "description": "Information about a single range, including span, replica placement, lease holder, and per-replica statistics.",
  "properties": {
    "desc": {
      "$ref": "#/components/schemas/RangeDescriptor"
    },
    "span": {
      "type": "object",
      "description": "Key span covered by this range."
    },
    "source_node_id": {
      "type": "integer",
      "description": "Node ID that provided this range information."
    },
    "source_store_id": {
      "type": "integer",
      "description": "Store ID on the source node that holds this range."
    },
    "error_message": {
      "type": "string",
      "description": "Error message if range information could not be retrieved."
    },
    "lease_holder": {
      "type": "integer",
      "description": "Store ID of the current leaseholder replica."
    },
    "raft_state": {
      "type": "string",
      "description": "Raft consensus state of this range (e.g. Leader, Follower)."
    },
    "stats": {
      "type": "object",
      "description": "Aggregate statistics for the range including key/value counts."
    }
  }
}

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/cockroachdb-rangeinfo"
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.