/databases | List databases | Get all databases in the cluster. | Stable |
/databases/{database} | Get database details | Get the descriptor ID of a specified database. | Stable |
/databases/{database}/grants | List database grants | List all privileges granted to users for a specified database. | Stable |
/databases/{database}/tables | List database tables | List all tables in a specified database. | Stable |
/databases/{database}/tables/{table} | Get table details | Get details on a specified table, including schema, grants, indexes, range count, and zone configurations. | Stable |
/events | List events | List the latest events on the cluster, in descending order. | Unstable |
/health | Check node health | Determine if the node is running and ready to accept SQL connections. | Stable |
/nodes | List nodes | Get details on all nodes in the cluster, including node IDs, software versions, and hardware. | Stable |
/nodes/{node_id}/ranges | List node ranges | Get details on the ranges on a specified node. | Unstable |
/ranges/hot | List hot ranges | Get information on ranges receiving a high number of reads or writes. | Stable |
/ranges/{range_id} | Get range details | Get detailed technical information on a range. Typically used by Cockroach Labs engineers. | Unstable |
/sessions | List sessions | Get SQL session details of all current users or a specified user. | Unstable |
/users | List users | List all SQL users on the cluster. | Stable |
/login | Log in | Authenticate as a SQL role that is a member of the admin role to retrieve a session token to use with further API calls. | Stable |
/logout | Log out | Invalidate the session token. | Stable |