The MONA Group Databases API

Tạo và quản lý database.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/databases Create a database instance · Create a database instance #
Ask an LLM
“How do I spin up a new MongoDB, PostgreSQL or MySQL database instance?”
“Can I choose the CPU, RAM and disk size when creating a database?”
Tell an agent
Create a {engine} database instance called {app_name}.
Create a {engine} database instance {app_name} on the {package_slug} package.
POST /api/databases/{service_id}/databases Add a database to an existing instance · Create another database on an existing DB instance #
Ask an LLM
“How do I create a second database on a DB instance I already have?”
“Can I add a database to an existing database service by its service ID?”
Tell an agent
Add a database called {app_name} to database service {service_id}.
Create a new database {app_name} on existing DB instance {service_id}.
POST /api/databases/{service_id}/databases/{db_name}/password Regenerate a database password · Regenerate the password for a database on an instance #
Ask an LLM
“How do I rotate the password for a database on a DB instance?”
“Can I reset a database user's password without touching the instance?”
Tell an agent
Regenerate the password for database {db_name} on service {service_id}.
Rotate the credentials of database {db_name} on DB instance {service_id}.
DELETE /api/databases/{service_id}/databases/{db_name} Drop a database from an instance · Drop a database from an instance #
Ask an LLM
“How do I drop a database from a DB instance?”
“Can I remove a single database without deleting the whole instance?”
Tell an agent destructive · confirm first
Drop database {db_name} from service {service_id}.
Remove the {db_name} database on DB instance {service_id}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/monacloud:monacloud-databases-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

monacloud-databases-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Monacloud Databases API
  version: 0.3.0
  description: 'Operations tagged databases across 2 of this provider''s published API definitions: monacloud-api-openapi.json, monacloud-vn-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.monacloud.vn
- url: https://api.vibecloud.vn
tags:
- name: Databases
  description: Tạo và quản lý database.
paths:
  /api/databases:
    post:
      tags:
      - Databases
      summary: Create a database instance
      operationId: create_database_api_databases_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatabaseCreateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EngineNotAvailableResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      description: Tạo dữ liệu hoặc thực thi thao tác tại `/api/databases`. Phản hồi dùng JSON và tuân theo schema được công bố bên dưới. Engine nhận `mongodb`, `postgresql`, `mysql` (`mongo` là alias). Route thật trả 409 `engine_not_available` trước khi tạo job nếu template đã resolve chưa có trên node; route sandbox không kiểm tra hạ tầng.
      security:
      - BearerAuth: []
      - ApiTokenHeader: []
    servers:
    - url: https://api.monacloud.vn
    - url: https://api.vibecloud.vn
  /api/databases/{service_id}/databases:
    post:
      tags:
      - Databases
      summary: Create another database on an existing DB instance
      operationId: add_database_to_instance_api_databases__service_id__databases_post
      parameters:
      - name: service_id
        in: path
        required: true
        schema:
          type: string
          title: Service Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatabaseAddRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Add Database To Instance Api Databases  Service Id  Databases Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      description: Tạo dữ liệu hoặc thực thi thao tác tại `/api/databases/{service_id}/databases`. Phản hồi dùng JSON và tuân theo schema được công bố bên dưới.
      security:
      - BearerAuth: []
      - ApiTokenHeader: []
    servers:
    - url: https://api.monacloud.vn
    - url: https://api.vibecloud.vn
  /api/databases/{service_id}/databases/{db_name}/password:
    post:
      tags:
      - Databases
      summary: Regenerate the password for a database on an instance
      operationId: regenerate_database_password_api_databases__service_id__databases__db_name__password_post
      parameters:
      - name: service_id
        in: path
        required: true
        schema:
          type: string
          title: Service Id
      - name: db_name
        in: path
        required: true
        schema:
          type: string
          title: Db Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Regenerate Database Password Api Databases  Service Id  Databases  Db Name  Password Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      description: Tạo dữ liệu hoặc thực thi thao tác tại `/api/databases/{service_id}/databases/{db_name}/password`. Phản hồi dùng JSON và tuân theo schema được công bố bên dưới.
      security:
      - BearerAuth: []
      - ApiTokenHeader: []
    servers:
    - url: https://api.monacloud.vn
    - url: https://api.vibecloud.vn
  /api/databases/{service_id}/databases/{db_name}:
    delete:
      tags:
      - Databases
      summary: Drop a database from an instance
      operationId: delete_database_on_instance_api_databases__service_id__databases__db_name__delete
      parameters:
      - name: service_id
        in: path
        required: true
        schema:
          type: string
          title: Service Id
      - name: db_name
        in: path
        required: true
        schema:
          type: string
          title: Db Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Delete Database On Instance Api Databases  Service Id  Databases  Db Name  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      description: Xóa hoặc vô hiệu hóa dữ liệu tại `/api/databases/{service_id}/databases/{db_name}`. Phản hồi dùng JSON và tuân theo schema được công bố bên dưới.
      security:
      - BearerAuth: []
      - ApiTokenHeader: []
    servers:
    - url: https://api.monacloud.vn
    - url: https://api.vibecloud.vn
components:
  schemas:
    EngineNotAvailableResponse:
      properties:
        code:
          type: string
          const: engine_not_available
          title: Code
          default: engine_not_available
        message:
          type: string
          title: Message
        next_step:
          type: string
          title: Next Step
      type: object
      required:
      - message
      - next_step
      title: EngineNotAvailableResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    JobStage:
      properties:
        name:
          type: string
          title: Name
        status:
          type: string
          enum:
          - running
          - succeeded
          - failed
          title: Status
        started_at:
          type: string
          format: date-time
          title: Started At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        completed_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Completed At
        duration_seconds:
          anyOf:
          - type: number
          - type: 'null'
          title: Duration Seconds
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        detail:
          anyOf:
          - type: object
          - type: 'null'
          title: Detail
      type: object
      required:
      - name
      - status
      - started_at
      - updated_at
      title: JobStage
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    JobResponse:
      properties:
        id:
          type: string
          title: Id
        status:
          type: string
          enum:
          - awaiting_upload
          - queued
          - pending
          - running
          - done
          - succeeded
          - failed
          - retrying
          - cancelled
          title: Status
        type:
          type: string
          title: Type
        result:
          anyOf:
          - type: object
          - type: 'null'
          title: Result
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        attempts:
          type: integer
          title: Attempts
          default: 0
        max_attempts:
          type: integer
          title: Max Attempts
          default: 0
        stages:
          items:
            $ref: '#/components/schemas/JobStage'
          type: array
          title: Stages
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
        sandbox:
          type: boolean
          title: Sandbox
          default: false
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
      type: object
      required:
      - id
      - status
      - type
      title: JobResponse
    DatabaseCreateRequest:
      properties:
        app_name:
          type: string
          maxLength: 80
          minLength: 2
          title: App Name
        engine:
          type: string
          enum:
          - mongodb
          - postgresql
          - mysql
          title: Engine
          description: Database engine. `mongo` is accepted as a compatibility alias for `mongodb`; canonical values are `mongodb`, `postgresql`, and `mysql`.
          default: mongodb
        package_slug:
          anyOf:
          - type: string
            maxLength: 64
            minLength: 1
          - type: 'null'
          title: Package Slug
        cpu:
          anyOf:
          - type: integer
            maximum: 16.0
            minimum: 1.0
          - type: 'null'
          title: Cpu
        ram_gb:
          anyOf:
          - type: integer
            maximum: 64.0
            minimum: 1.0
          - type: 'null'
          title: Ram Gb
        disk_gb:
          anyOf:
          - type: integer
            maximum: 1000.0
            minimum: 10.0
          - type: 'null'
          title: Disk Gb
      type: object
      required:
      - app_name
      title: DatabaseCreateRequest
      description: 'Database create payload. Like LxcCreateRequest, callers may either

        pass `package_slug` or explicit cpu/ram_gb/disk_gb (not both).'
    DatabaseAddRequest:
      properties:
        app_name:
          type: string
          maxLength: 80
          minLength: 2
          title: App Name
      type: object
      required:
      - app_name
      title: DatabaseAddRequest
    JobResponse_2:
      properties:
        id:
          type: string
          title: Id
        status:
          type: string
          enum:
          - queued
          - pending
          - running
          - done
          - succeeded
          - failed
          - retrying
          - cancelled
          title: Status
        type:
          type: string
          title: Type
        result:
          anyOf:
          - type: object
          - type: 'null'
          title: Result
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        attempts:
          type: integer
          title: Attempts
          default: 0
        max_attempts:
          type: integer
          title: Max Attempts
          default: 0
        stages:
          items:
            $ref: '#/components/schemas/JobStage'
          type: array
          title: Stages
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
        sandbox:
          type: boolean
          title: Sandbox
          default: false
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
      type: object
      required:
      - id
      - status
      - type
      title: JobResponse
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: MONA Cloud token
      description: Use vc_session_* for account endpoints or vc_live_* for automation endpoints.
    ApiTokenHeader:
      type: apiKey
      in: header
      name: X-API-Token
      description: Alternative header for vc_live_* automation tokens.
    PaymentWebhookKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Shared secret for payment provider webhook delivery.
x-refined-from:
- monacloud-api-openapi.json
- monacloud-vn-openapi.json