The MONA Group Lxc API

Tạo và quản lý VPS LXC.

Operations 6

POST /api/lxc Create an LXC VPS #
POST /api/lxc/{service_id}/stop Stop an LXC service #
POST /api/lxc/{service_id}/start Start an LXC service #
DELETE /api/lxc/{service_id} Delete an LXC service #
POST /api/lxc/{service_id}/resize Resize an LXC (CPU/RAM/disk-grow) #
POST /api/lxc/{service_id}/rebuild Rebuild an LXC service #

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-lxc-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-lxc-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Monacloud Lxc API
  version: 0.3.0
  description: 'Operations tagged lxc 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: lxc
  description: Tạo và quản lý VPS LXC.
paths:
  /api/lxc:
    post:
      tags:
      - lxc
      summary: Create an LXC VPS
      operationId: create_lxc_api_lxc_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LxcCreateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobResponse'
        '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/lxc`. 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/lxc/{service_id}/stop:
    post:
      tags:
      - lxc
      summary: Stop an LXC service
      operationId: stop_lxc_api_lxc__service_id__stop_post
      parameters:
      - name: service_id
        in: path
        required: true
        schema:
          type: string
          title: Service Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Stop Lxc Api Lxc  Service Id  Stop 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/lxc/{service_id}/stop`. 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/lxc/{service_id}/start:
    post:
      tags:
      - lxc
      summary: Start an LXC service
      operationId: start_lxc_api_lxc__service_id__start_post
      parameters:
      - name: service_id
        in: path
        required: true
        schema:
          type: string
          title: Service Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Start Lxc Api Lxc  Service Id  Start 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/lxc/{service_id}/start`. 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/lxc/{service_id}:
    delete:
      tags:
      - lxc
      summary: Delete an LXC service
      operationId: delete_lxc_api_lxc__service_id__delete
      parameters:
      - name: service_id
        in: path
        required: true
        schema:
          type: string
          title: Service Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Delete Lxc Api Lxc  Service Id  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/lxc/{service_id}`. 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/lxc/{service_id}/resize:
    post:
      tags:
      - lxc
      summary: Resize an LXC (CPU/RAM/disk-grow)
      operationId: resize_lxc_api_lxc__service_id__resize_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/LxcResizeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Resize Lxc Api Lxc  Service Id  Resize 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/lxc/{service_id}/resize`. 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/lxc/{service_id}/rebuild:
    post:
      tags:
      - lxc
      summary: Rebuild an LXC service
      operationId: rebuild_lxc_api_lxc__service_id__rebuild_post
      parameters:
      - name: service_id
        in: path
        required: true
        schema:
          type: string
          title: Service Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobResponse'
        '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/lxc/{service_id}/rebuild`. 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:
    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
    LxcCreateRequest:
      properties:
        app_name:
          type: string
          maxLength: 80
          minLength: 2
          title: App Name
        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
        hostname:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Hostname
        billing_mode:
          type: string
          enum:
          - hourly
          - monthly
          title: Billing Mode
          default: hourly
        plan_code:
          anyOf:
          - type: string
            maxLength: 64
            minLength: 2
          - type: 'null'
          title: Plan Code
        period:
          type: string
          enum:
          - month
          - year
          title: Period
          default: month
      type: object
      required:
      - app_name
      title: LxcCreateRequest
      description: "LXC create payload. Callers may either:\n  • pass `package_slug` (e.g. \"standard-2\") and let the API expand it\n    into cpu/ram_gb/disk_gb from the matching active package, or\n  • pass `cpu`, `ram_gb`, and `disk_gb` directly for a custom spec.\nExactly one of those two shapes is required; mixing them is a 422."
    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
    LxcResizeRequest:
      properties:
        cpu:
          type: integer
          maximum: 16.0
          minimum: 1.0
          title: Cpu
        ram_gb:
          type: integer
          maximum: 64.0
          minimum: 1.0
          title: Ram Gb
        disk_gb:
          type: integer
          maximum: 1000.0
          minimum: 10.0
          title: Disk Gb
      type: object
      required:
      - cpu
      - ram_gb
      - disk_gb
      title: LxcResizeRequest
      description: 'Resize an existing LXC. All three fields are required and must already

        pass the standard bounds; the route additionally enforces that disk_gb

        is >= the service''s current disk size (no shrink) and that at least one

        value differs from the current spec.'
    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