Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Yugabyte cluster API

APIs for cluster CRUD

Yugabyte cluster API is one of 10 APIs that Yugabyte publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include cluster. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 3 operations across 1 path, and defines 15 schemas. It is described by OpenAPI 3.0.0, at version v1.

Requests are made against a single base URL, {protocol}://{host_port}/api.

3 operations 1 paths 15 schemas 1 DELETE1 GET1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
v1
Base URL
https://cloud.yugabyte.com/api/public/v1
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Yugabyte cluster API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (BearerAuthToken). By default, every request must be authenticated.

Paths & Operations 3

Across 1 path, the API surfaces 3 operations — 1 DELETE, 1 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

cluster 3

APIs for cluster CRUD

DELETE
/cluster
Submit task to delete a cluster
deleteCluster → 200400500
GET
/cluster
Get a cluster
getCluster → 200400500
PUT
/cluster
Submit task to edit a cluster
editCluster body → 200400500

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are ClusterNodeInfo (6 properties), ClusterInfo (6 properties), ClusterSpec (5 properties), ClusterDataInfo (5 properties). Each schema is shown below with its type and property counts.

PlacementInfo
object
2 properties 2 required
ClusterInfo
object
Cluster level information
6 properties 5 required
Cluster_Response
object
1 property
EntityMetadata
object
Common metadata for entities
2 properties
ClusterRegionInfo
object
Cluster region info list
1 property 1 required
ClusterNodeInfo
object
Node level information
6 properties 4 required
EncryptionInfo
object
Cluster encryption info
2 properties
CloudInfo
object
Cloud deployment information
2 properties 2 required
ClusterSpec
object
Cluster spec
5 properties 6 required
ApiError
object
1 property
ClusterFaultTolerance
string
The level of fault tolerance for the cluster
ApiError_error
object
2 properties
ClusterData
object
Cluster data
2 properties 2 required
ClusterDataInfo
object
5 properties 5 required
CloudEnum
string
Which cloud the cluster is deployed in

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

yugabyte-cluster-api-openapi.yml Raw ↑

Other APIs Yugabyte publishes across the network.

YugabyteDB Aeon REST API
Yugabyte backup-info API
Yugabyte cluster-info API
Yugabyte pitr-info API
Yugabyte restore-info API
Yugabyte voyager-info API
Yugabyte voyager-metrics API
Yugabyte Xcluster Metrics API
Yugabyte Xcluster Namespace Details API