rombik Cli API

The Cli API from rombik — 2 operation(s) for cli.

GitHub OpenAPI

Operations 2

GET /cli/version Найновіша версія CLI #
GET /cli/dl/{name} Завантажити бінарник CLI #

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/rombik-app:rombik-app-cli-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

rombik-app-cli-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: rombik Cli API
  version: 1.4.5
  description: 'Генерація блок-схем алгоритмів з коду за ДСТУ. Той самий рушій, що й на сайті rombik, по HTTP. Авторизація — API-ключем (rk_…) у заголовку X-API-Key або Authorization: Bearer. Рендер за ключем — у тарифі Pro; кожен експортований файл іде в місячний ліміт тарифу. Стороннім застосункам доступний вхід «через rombik» — OAuth 2.0 з PKCE + OIDC: див. /oauth/token.'
servers:
- url: https://rombik.app/api/v1
security:
- ApiKeyAuth: []
tags:
- name: CLI
paths:
  /cli/version:
    get:
      summary: Найновіша версія CLI
      description: Джерело правди для автооновлення (rombik update) і для власних інсталяторів чи дзеркал.
      security: []
      responses:
        '200':
          description: Версія
          content:
            application/json:
              schema:
                type: object
                properties:
                  version:
                    type: string
      tags:
      - CLI
      operationId: getCliVersion
      x-operation-id-source: derived
  /cli/dl/{name}:
    get:
      summary: Завантажити бінарник CLI
      description: 'Готові збірки під платформу: rombik-linux-amd64, rombik-linux-arm64, rombik-darwin-amd64, rombik-darwin-arm64, rombik-windows-amd64.exe, rombik-windows-arm64.exe.'
      security: []
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
        description: Імʼя бінарника
      responses:
        '200':
          description: Виконуваний файл
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '404':
          $ref: '#/components/responses/Error'
      tags:
      - CLI
      operationId: getCliDlByName
      x-operation-id-source: derived
components:
  responses:
    Error:
      description: Помилка
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                description: людський опис
              code:
                type: string
                description: 'машиночитаний код (стабільний; гілкуйся по ньому, не по тексту): unauthorized, pro_required, no_credits, fair_use, plan_conflict, unknown_format, unknown_lang, bad_request, bad_source, render_failed, rate_limited, payment_unavailable, server_error, busy, chart_too_large, fn_not_found, empty_chart'
                enum:
                - unauthorized
                - pro_required
                - no_credits
                - fair_use
                - plan_conflict
                - unknown_format
                - unknown_lang
                - bad_request
                - bad_source
                - render_failed
                - rate_limited
                - payment_unavailable
                - server_error
                - busy
                - chart_too_large
                - fn_not_found
                - empty_chart
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    OAuth2:
      type: oauth2
      description: '«Увійти через rombik»: користувач дає згоду у своєму акаунті, а застосунок отримує ключ до API від його імені. PKCE S256 обов’язковий для клієнтів без секрета.'
      flows:
        authorizationCode:
          authorizationUrl: https://rombik.app/oauth/authorize
          tokenUrl: https://rombik.app/api/v1/oauth/token
          scopes:
            api: виклики API від імені користувача (за його тарифом)
            openid: видати id_token з ідентичністю
            email: пошта користувача
            profile: ім’я користувача
x-rate-limit: /render — без ліміту запитів (обмежений місячним лімітом тарифу). /me, /topup, /products — 60 запитів/хв на ключ; при перевищенні — 429 із заголовком Retry-After.