← Tools Reference

Cockroach Labs

Cockroach Labs integration (Developer Tools, Data). Imported from open-connector.

API key7 toolshttps://cockroachlabs.cloud
GET
cockroach_labs_get_organization
Get information about the caller's CockroachDB Cloud organization.

/api/v1/organization

GET
cockroach_labs_list_clusters
List CockroachDB Cloud clusters in the organization.

/api/v1/clusters

6 parameters
ParamTypeRequiredDescription
showInactivebooleanoptionalWhether to include deleted or failed clusters when allowed.
sortBystringoptionalField used to sort clusters.
pagestringoptionalOpaque pagination page token returned by CockroachDB Cloud.
limitintegeroptionalMaximum number of records to return.
asOfTimestringoptionalRead data as of this RFC 3339 timestamp when supported.
sortOrderstringoptionalPagination sort order.
GET
cockroach_labs_get_cluster
Get extended information about a CockroachDB Cloud cluster.

/api/v1/clusters/{clusterId}

1 parameter
ParamTypeRequiredDescription
clusterIdstringrequiredCockroachDB Cloud cluster ID.
GET
cockroach_labs_list_available_regions
List cloud regions available for new CockroachDB Cloud clusters and nodes.

/api/v1/clusters/available-regions

6 parameters
ParamTypeRequiredDescription
providerstringoptionalCloud provider to filter by.
serverlessbooleanoptionalWhether to only show regions available for serverless clusters.
pagestringoptionalOpaque pagination page token returned by CockroachDB Cloud.
limitintegeroptionalMaximum number of records to return.
asOfTimestringoptionalRead data as of this RFC 3339 timestamp when supported.
sortOrderstringoptionalPagination sort order.
GET
cockroach_labs_list_cluster_nodes
List nodes for a CockroachDB Cloud cluster.

/api/v1/clusters/{clusterId}/nodes

6 parameters
ParamTypeRequiredDescription
clusterIdstringrequiredCockroachDB Cloud cluster ID.
regionNamestringoptionalOptional region name used to filter cluster nodes.
pagestringoptionalOpaque pagination page token returned by CockroachDB Cloud.
limitintegeroptionalMaximum number of records to return.
asOfTimestringoptionalRead data as of this RFC 3339 timestamp when supported.
sortOrderstringoptionalPagination sort order.
GET
cockroach_labs_list_databases
List databases for a CockroachDB Cloud cluster.

/api/v1/clusters/{clusterId}/databases

5 parameters
ParamTypeRequiredDescription
clusterIdstringrequiredCockroachDB Cloud cluster ID.
pagestringoptionalOpaque pagination page token returned by CockroachDB Cloud.
limitintegeroptionalMaximum number of records to return.
asOfTimestringoptionalRead data as of this RFC 3339 timestamp when supported.
sortOrderstringoptionalPagination sort order.
GET
cockroach_labs_list_sql_users
List SQL users for a CockroachDB Cloud cluster.

/api/v1/clusters/{clusterId}/sql-users

5 parameters
ParamTypeRequiredDescription
clusterIdstringrequiredCockroachDB Cloud cluster ID.
pagestringoptionalOpaque pagination page token returned by CockroachDB Cloud.
limitintegeroptionalMaximum number of records to return.
asOfTimestringoptionalRead data as of this RFC 3339 timestamp when supported.
sortOrderstringoptionalPagination sort order.