Maketa Misc API

Служебное

GitHub OpenAPI

Operations 3

GET /health Проверка живости сервиса #
POST /mcp MCP-endpoint (JSON-RPC 2.0, Streamable HTTP) #
GET /plans Каталог тарифов #

Specifications

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/maketa-pro:maketa-pro-misc-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

maketa-pro-misc-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Maketa Misc API
  version: 2.0.0
  summary: Публичный API конструктора экранов Maketa (доски, экраны-деревья, автономные ИИ-агенты)
  description: 'Maketa — программируемый конструктор экранов приложений. Модель сцены — JSON `maketa.board.v2`: экран не список фигур, а ДЕРЕВО узлов. Своих координат у узла нет — место задаёт родитель порядком в `children` и своей раскладкой.


    Путь автономного агента без человека: `POST /agent/register` → ключ `mk_sb_…` (заголовок `x-maketa-key`) → `POST /create` → `POST /save` → поделиться ссылкой `https://maketa.pro/app/?b=` → `GET /load?id=` читается любым (linkAccess=view по умолчанию).


    Все ошибки — JSON `{error, hint?}`: `error` — стабильный машинный код, `hint` — по-русски, что делать. Нарушение целостности дерева (висячая ссылка, узел у двух родителей, цикл, глубина >12) — это 400 с указанием экрана и узла, а не тихая починка. 410 Gone — доска удалена навсегда.


    Песочный ключ mk_sb_ живёт 14 дней и НЕ даёт ИИ-функции (/ai/*) и оплату. Постоянный доступ (проектный ключ mk_pk_) выдаёт владелец доски. MCP-endpoint: POST /mcp (OAuth 2.1, либо Bearer mk_pk_/mk_sb_). Документация: https://maketa.pro/docs/ и https://maketa.pro/llms.txt'
  contact:
    name: Студия demda.pro
    url: https://demda.pro/
servers:
- url: https://maketa.pro/maketa/api
tags:
- name: Misc
  description: Служебное
paths:
  /health:
    get:
      tags:
      - Misc
      operationId: health
      summary: Проверка живости сервиса
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  ts:
                    type: integer
  /mcp:
    post:
      tags:
      - Misc
      operationId: mcp
      summary: MCP-endpoint (JSON-RPC 2.0, Streamable HTTP)
      description: 'Model Context Protocol для ИИ. Авторизация Bearer: OAuth 2.1-токен (полный per-user доступ, discovery /.well-known/oauth-authorization-server), проектный ключ mk_pk_ (headless, рамки своей доски — boardId обязателен в аргументах; push-only: maketa_list_screens, maketa_push_code_screen, maketa_list_branches, maketa_get_parent, остальные → JSON-RPC error {code:403, message:"forbidden_for_project_key: …", data:{tool, allowed, hint}}) или песочный ключ mk_sb_ (headless, доски песочницы, все инструменты). Ключи принимаются и в заголовке x-maketa-key. Начните с tools/list; инструменты maketa_*. Правка дерева — maketa_add_node, maketa_update_node, maketa_move_node, maketa_remove_node; чтение структуры — maketa_get_tree (вложенный вид) и maketa_get_screen (как лежит на диске). Инструментов *_element больше нет: в v2 узел не двигают в координаты, его переносят к другому родителю. Предел тарифа в инструменте записи — JSON-RPC error {code:402, message:"plan_limit: …", data:{limit, used, max, plan, upgrade, hint}}.'
      security:
      - mcpBearer: []
      - maketaKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: JSON-RPC 2.0 запрос или батч
      responses:
        '200':
          description: JSON-RPC ответ
        '401':
          description: invalid_token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /plans:
    get:
      tags:
      - Misc
      operationId: plans
      summary: Каталог тарифов
      description: 'Единый источник чисел для редактора, лендинга и оферты: «Бесплатно», «Про», «Студия» — цены за месяц и год, пределы (макеты, экраны, вес, соавторы, применения «Сделать гибким», ключи, включённый ИИ). enabled:false — тарифы ещё не включены, пределы не проверяются. Без авторизации.'
      responses:
        '200':
          description: Каталог
          content:
            application/json:
              schema:
                type: object
                properties:
                  enabled:
                    type: boolean
                  currency:
                    type: string
                  graceDays:
                    type: integer
                    description: Льготный период после окончания оплаты, дней
                  seatRub:
                    type: integer
                    description: Дополнительный участник «Студии», ₽/мес
                  plans:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          enum:
                          - free
                          - pro
                          - studio
                        title:
                          type: string
                        rub:
                          type: object
                          properties:
                            month:
                              type: integer
                            year:
                              type: integer
                        yearDiscountPct:
                          type: integer
                        limits:
                          type: object
                          additionalProperties: true
                          description: boards, screens, docBytes, collaborators, flexPerBoard, mcpKeys, mcpWrite, incRub … null — без ограничений
                        forWhom:
                          type: string
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: 'Стабильный машинный код: bad_id, bad_doc, bad_key, key_expired, no_key, forbidden, not_found, gone, conflict, quota_boards, quota_saves, too_many, too_many_keys, too_many_screens, too_many_objects, doc_too_large. Целостность дерева v2: bad_nodes, bad_node, bad_node_id, bad_node_type, bad_children, bad_child_ref, bad_slot, bad_screen, bad_screen_size, duplicate_screen, unknown_node, unknown_screen, node_two_parents, tree_cycle, too_deep — такой ответ дополнительно несёт screen и node. Предел тарифа — отдельный ответ 402 plan_limit (см. PlanLimit).'
        hint:
          type: string
          description: 'Человеко- и агенто-читаемая подсказка по-русски: что сделать, чтобы запрос удался'
        retryAfterMin:
          type: integer
          description: 'Для 429: через сколько минут окно лимита сбросится'
        screen:
          type: string
          description: 'Для отказов по дереву: id экрана, на котором нашлась ошибка'
        node:
          type: string
          description: 'Для отказов по дереву: id узла, из-за которого отказ'
      additionalProperties: true
  securitySchemes:
    maketaKey:
      type: apiKey
      in: header
      name: x-maketa-key
      description: Песочный ключ агента mk_sb_… (POST /agent/register) или проектный ключ доски mk_pk_… (POST /project/key).
    editToken:
      type: apiKey
      in: query
      name: edit
      description: Секретный edit-токен доски из ответа POST /create (в POST-ручках передаётся полем edit в теле).
    mcpBearer:
      type: http
      scheme: bearer
      description: OAuth 2.1 access-токен, либо непосредственно ключ mk_pk_/mk_sb_.