Cockroach Labs · Schema
RangeResponse
Detailed information about a specific range from all replicas.
Cluster ManagementCloudDatabaseDistributed SQLInfrastructurePostgreSQL CompatibleSQL
Properties
| Name | Type | Description |
|---|---|---|
| range_id | integer | Unique identifier of the range. |
| responses_by_node_id | object | Map of node ID to the range information reported by that node's replica. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/cockroach-labs/main/json-schema/cockroach-labs-range-response-schema.json",
"title": "RangeResponse",
"description": "Detailed information about a specific range from all replicas.",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cockroach-labs-ranges-api-openapi.yml#/components/schemas/RangeResponse",
"type": "object",
"properties": {
"range_id": {
"type": "integer",
"format": "int64",
"description": "Unique identifier of the range."
},
"responses_by_node_id": {
"type": "object",
"description": "Map of node ID to the range information reported by that node's replica.",
"additionalProperties": {
"$ref": "#/$defs/RangeInfo"
}
}
},
"$defs": {
"RangeDescriptor": {
"type": "object",
"description": "Describes a range's identity, key bounds, and replica set.",
"properties": {
"range_id": {
"type": "integer",
"format": "int64",
"description": "Unique identifier of the range."
},
"start_key": {
"type": "string",
"description": "Base64-encoded start key of the range."
},
"end_key": {
"type": "string",
"description": "Base64-encoded end key of the range."
},
"internal_replicas": {
"type": "array",
"description": "List of replicas for this range.",
"items": {
"type": "object",
"properties": {
"node_id": {
"type": "integer",
"description": "Node hosting this replica."
},
"store_id": {
"type": "integer",
"description": "Store on the node hosting this replica."
},
"replica_id": {
"type": "integer",
"description": "Unique identifier of this replica within the range."
}
}
}
}
}
},
"RangeInfo": {
"type": "object",
"description": "Information about a single range, including span, replica placement, lease holder, and per-replica statistics.",
"properties": {
"desc": {
"$ref": "#/$defs/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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cockroach-labs-range-response"
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.