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

YugabyteDB Universe database management API

The Universe database management API from YugabyteDB — 6 operation(s) for universe database management.

YugabyteDB Universe database management API is one of 73 APIs that YugabyteDB publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Universe database management. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, and authentication docs.

This API exposes 6 operations across 6 paths, and defines 22 schemas. It is described by OpenAPI 3.1.0, at version v1.

Requests are made against a single base URL, https://cloud.yugabyte.com/api/public/v1.

6 operations 6 paths 22 schemas 6 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.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

YugabyteDB Universe database management API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — API key obtained from the YugabyteDB Aeon UI under User Profile API Keys. Pass the key as a Bearer token in the Authorization header.

Paths & Operations 6

Across 6 paths, the API surfaces 6 operations — 6 POST. Each is listed below with its method, path, parameters, and response codes.

Universe database management 6
POST
/api/v1/customers/{cUUID}/universes/{uniUUID}/create_db_credentials
YugabyteDB Anywhere Create a Database User for a Universe
createUserInDB 3 params body → 200
POST
/api/v1/customers/{cUUID}/universes/{uniUUID}/run_query
YugabyteDB Anywhere Run a YSQL Query in a Universe
runYsqlQueryUniverse 3 params body → 200
POST
/api/v1/customers/{cUUID}/universes/{uniUUID}/update_db_credentials
YugabyteDB Anywhere Set a Universe's Database Credentials
setDatabaseCredentials 3 params body → 200
POST
/api/v1/customers/{cUUID}/universes/{univUUID}/configure/ycql
YugabyteDB Anywhere Configure YCQL
configureYCQL 3 params body → 200
POST
/api/v1/customers/{cUUID}/universes/{univUUID}/configure/ysql
YugabyteDB Anywhere Configure YSQL
configureYSQL 3 params body → 200
POST
/api/v1/customers/{cUUID}/universes/{uniUUID}/run_in_shell
Run a shell command
runInShell 2 params → 200

Schemas 22

The contract defines 22 schemas that model the data the API accepts and returns. The most detailed are CommunicationPorts (15 properties), CommunicationPorts_2 (15 properties), DatabaseUserFormData_2 (8 properties), DatabaseUserFormData (8 properties). Each schema is shown below with its type and property counts.

ConfigureYSQLFormData
object
YSQL properties
6 properties
ConfigureYCQLFormData
object
YCQL properties
4 properties
RoleAttribute
object
1 property 1 required
DatabaseSecurityFormData
object
Database security properties
7 properties
RunQueryFormData
object
4 properties 4 required
PerProcessFlags
object
1 property 1 required
CommunicationPorts
object
Communication ports
15 properties
YBPSuccess
object
2 properties
YBPTask
object
2 properties
SpecificGFlags
object
GFlags for current cluster
4 properties
DatabaseUserFormData
object
8 properties 7 required
ConfigureYSQLFormData_2
object
YSQL properties
6 properties
ConfigureYCQLFormData_2
object
YCQL properties
4 properties
RoleAttribute_2
object
1 property 1 required
DatabaseSecurityFormData_2
object
Database security properties
7 properties
RunQueryFormData_2
object
4 properties 4 required
PerProcessFlags_2
object
1 property 1 required
CommunicationPorts_2
object
Communication ports
15 properties
YBPSuccess_2
object
2 properties
YBPTask_2
object
2 properties
SpecificGFlags_2
object
GFlags for current cluster
4 properties
DatabaseUserFormData_2
object
8 properties 7 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

yugabytedb-universe-database-management-api-openapi.yml Raw ↑

Other APIs YugabyteDB publishes across the network.

YugabyteDB Access Keys API
YugabyteDB Accounts API
YugabyteDB Alerts API
YugabyteDB AllowLists API
YugabyteDB Asynchronous Replication API
YugabyteDB Audit API
YugabyteDB Authentication API
YugabyteDB Availability Zones API
YugabyteDB Backup and Restore API
YugabyteDB Backups API
YugabyteDB Certificate Info API
YugabyteDB Cloud providers API