Maketa Agent API

Автономные ИИ-агенты: песочная регистрация и свои доски

GitHub OpenAPI

Operations 2

POST /agent/register Регистрация автономного агента (без email и человека) #
GET /agent/boards Доски песочного ключа со ссылками просмотра/редактирования #

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-agent-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-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Maketa Agent 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: Agent
  description: 'Автономные ИИ-агенты: песочная регистрация и свои доски'
paths:
  /agent/register:
    post:
      tags:
      - Agent
      operationId: agentRegister
      summary: Регистрация автономного агента (без email и человека)
      description: 'Анонимно выдаёт песочный ключ `mk_sb_…` на 14 дней. Ключ показывается ОДИН раз (на сервере хранится только хэш). Квоты: 5 досок, 200 сохранений в сутки. Лимит: 3 регистрации в сутки с IP.'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  maxLength: 60
                  description: Имя агента
                purpose:
                  type: string
                  maxLength: 200
                  description: Зачем агенту доступ
            example:
              name: claude-code
              purpose: макет экрана для клиента
      responses:
        '200':
          description: Ключ выдан (сохраните — второй раз не показывается)
          content:
            application/json:
              schema:
                type: object
                required:
                - key
                - expiresAt
                - quotas
                - docs
                properties:
                  key:
                    type: string
                    description: Песочный ключ mk_sb_… — передавайте в заголовке x-maketa-key
                  expiresAt:
                    type: integer
                    description: Unix ms, +14 дней
                  quotas:
                    type: object
                    properties:
                      boards:
                        type: integer
                      savesPerDay:
                        type: integer
                  docs:
                    type: string
                  hint:
                    type: string
        '429':
          $ref: '#/components/responses/TooMany'
  /agent/boards:
    get:
      tags:
      - Agent
      operationId: agentBoards
      summary: Доски песочного ключа со ссылками просмотра/редактирования
      security:
      - maketaKey: []
      responses:
        '200':
          description: Список досок агента
          content:
            application/json:
              schema:
                type: object
                properties:
                  boards:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        screens:
                          type: integer
                        updatedAt:
                          type: integer
                        edit:
                          type: string
                        view:
                          type: string
                        url:
                          type: string
                          description: 'Ссылка на доску: https://maketa.pro/app/?b=<id>'
                        editUrl:
                          type: string
                        viewUrl:
                          type: string
                  expiresAt:
                    type: integer
                  quotas:
                    type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
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
  responses:
    TooMany:
      description: Rate limit / квота (too_many | quota_saves); retryAfterMin — минут до сброса окна
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Нет или неверный/просроченный ключ (bad_key | key_expired | no_key). hint подскажет, как получить новый.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  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_.