The MONA Group Databases API

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

Operations 4

POST /api/databases Create a database instance #
POST /api/databases/{service_id}/databases Create another database on an existing DB instance #
POST /api/databases/{service_id}/databases/{db_name}/password Regenerate the password for a database on an instance #
DELETE /api/databases/{service_id}/databases/{db_name} Drop a database from an instance #

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"

Discovery needs no key. Ratings and market analysis are Pro.

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. 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