Cockroach Labs · Schema
ListNodesResponse
List of nodes in the CockroachDB cluster with pagination metadata.
Cluster ManagementCloudDatabaseDistributed SQLInfrastructurePostgreSQL CompatibleSQL
Properties
| Name | Type | Description |
|---|---|---|
| nodes | array | Array of node status objects. |
| next | integer | Offset value to use to retrieve the next page of results. Absent when there are no more results. |
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-list-nodes-response-schema.json",
"title": "ListNodesResponse",
"description": "List of nodes in the CockroachDB cluster with pagination metadata.",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cockroach-labs-nodes-api-openapi.yml#/components/schemas/ListNodesResponse",
"type": "object",
"properties": {
"nodes": {
"type": "array",
"description": "Array of node status objects.",
"items": {
"$ref": "#/$defs/NodeStatus"
}
},
"next": {
"type": "integer",
"description": "Offset value to use to retrieve the next page of results. Absent when there are no more results."
}
},
"$defs": {
"Address": {
"type": "object",
"description": "Network address of a CockroachDB node.",
"properties": {
"network_field": {
"type": "string",
"description": "Network protocol (e.g. tcp)."
},
"address_field": {
"type": "string",
"description": "Host and port of the node (e.g. 10.0.0.1:26257)."
}
}
},
"BuildInfo": {
"type": "object",
"description": "Build and version metadata for the CockroachDB binary on a node.",
"properties": {
"go_version": {
"type": "string",
"description": "Go runtime version used to build CockroachDB."
},
"tag": {
"type": "string",
"description": "Git tag of the CockroachDB release."
},
"time": {
"type": "string",
"description": "Build timestamp."
},
"revision": {
"type": "string",
"description": "Git revision hash of the build."
},
"cgo_compiler": {
"type": "string",
"description": "CGO compiler version used in the build."
},
"platform": {
"type": "string",
"description": "Target platform for the build (e.g. linux amd64)."
},
"distribution": {
"type": "string",
"description": "CockroachDB distribution type (e.g. CCL or OSS)."
},
"type": {
"type": "string",
"description": "Build type (e.g. release or development)."
},
"channel": {
"type": "string",
"description": "Release channel the binary belongs to."
}
}
},
"Locality": {
"type": "object",
"description": "Geographic or topological locality tiers assigned to the node, used for zone configuration and replica placement.",
"properties": {
"tiers": {
"type": "array",
"description": "Ordered list of locality tiers from most general to most specific.",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "Locality tier key (e.g. region, zone, rack)."
},
"value": {
"type": "string",
"description": "Locality tier value (e.g. us-east-1, us-east-1a)."
}
}
}
}
}
},
"NodeDescriptor": {
"type": "object",
"description": "Identifies and locates a specific node within the CockroachDB cluster.",
"properties": {
"node_id": {
"type": "integer",
"format": "int32",
"description": "Numeric identifier of the node."
},
"address": {
"$ref": "#/$defs/Address"
},
"attrs": {
"type": "object",
"description": "Node attribute key-value pairs used for zone configuration."
},
"locality": {
"$ref": "#/$defs/Locality"
},
"server_version": {
"type": "object",
"description": "CockroachDB server version running on this node."
},
"build_tag": {
"type": "string",
"description": "Build tag string for the CockroachDB binary."
},
"started_at": {
"type": "integer",
"format": "int64",
"description": "Unix nanosecond timestamp when the node started."
},
"cluster_name": {
"type": "string",
"description": "Name of the cluster this node belongs to."
},
"sql_address": {
"$ref": "#/$defs/Address"
}
}
},
"NodeStatus": {
"type": "object",
"description": "Status and metadata for a single node in the CockroachDB cluster, including address, build details, locality, store information, and activity metrics.",
"properties": {
"desc": {
"$ref": "#/$defs/NodeDescriptor"
},
"build_info": {
"$ref": "#/$defs/BuildInfo"
},
"started_at": {
"type": "integer",
"format": "int64",
"description": "Unix nanosecond timestamp when the node process started."
},
"updated_at": {
"type": "integer",
"format": "int64",
"description": "Unix nanosecond timestamp of the most recent status update."
},
"metrics": {
"type": "object",
"description": "Map of metric name to value for this node, covering CPU, memory, disk, network, and SQL throughput metrics.",
"additionalProperties": {
"type": "number"
}
},
"store_statuses": {
"type": "array",
"description": "Status objects for each store (disk) on this node.",
"items": {
"type": "object"
}
},
"args": {
"type": "array",
"description": "Command-line arguments the node process was started with.",
"items": {
"type": "string"
}
},
"env": {
"type": "array",
"description": "Environment variables set in the node process.",
"items": {
"type": "string"
}
},
"activity": {
"type": "object",
"description": "Per-node activity metrics including bytes sent and received."
}
}
}
}
}
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-list-nodes-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.