Netter lego-architect API

The lego-architect API from Netter — 5 operation(s) for lego-architect.

Operations 7

GET /api/v1/lego-architect/projects/{project_id}/chat Get Or Create Chat #
POST /api/v1/lego-architect/{chat_id}/message Send Message #
POST /api/v1/lego-architect/projects/{project_id}/steps Add Step #
PATCH /api/v1/lego-architect/projects/{project_id}/steps/{slug} Update Step #
DELETE /api/v1/lego-architect/projects/{project_id}/steps/{slug} Remove Step #
POST /api/v1/lego-architect/projects/{project_id}/edges Link Step #

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/netter-lego-architect-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

netter-lego-architect-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DMI Backend actions Lego Architect API
  version: 0.1.0
servers:
- url: https://api.netter.ai
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: lego-architect
paths:
  /api/v1/lego-architect/projects/{project_id}/chat:
    get:
      tags:
      - lego-architect
      summary: Get Or Create Chat
      description: Get or create the lego-architect chat for this project.
      operationId: get_or_create_chat_api_v1_lego_architect_projects__project_id__chat_get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Or Create Chat Api V1 Lego Architect Projects  Project Id  Chat Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/lego-architect/{chat_id}/message:
    post:
      tags:
      - lego-architect
      summary: Send Message
      description: Dispatch a new lego-architect turn for this chat.
      operationId: send_message_api_v1_lego_architect__chat_id__message_post
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Chat Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LegoMessageRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegoTurnResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/lego-architect/projects/{project_id}/steps:
    post:
      tags:
      - lego-architect
      summary: Add Step
      operationId: add_step_api_v1_lego_architect_projects__project_id__steps_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddStepRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Add Step Api V1 Lego Architect Projects  Project Id  Steps Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/lego-architect/projects/{project_id}/steps/{slug}:
    patch:
      tags:
      - lego-architect
      summary: Update Step
      operationId: update_step_api_v1_lego_architect_projects__project_id__steps__slug__patch
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Project Id
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateStepRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Update Step Api V1 Lego Architect Projects  Project Id  Steps  Slug  Patch
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - lego-architect
      summary: Remove Step
      operationId: remove_step_api_v1_lego_architect_projects__project_id__steps__slug__delete
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Project Id
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Remove Step Api V1 Lego Architect Projects  Project Id  Steps  Slug  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/lego-architect/projects/{project_id}/edges:
    post:
      tags:
      - lego-architect
      summary: Link Step
      operationId: link_step_api_v1_lego_architect_projects__project_id__edges_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EdgeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Link Step Api V1 Lego Architect Projects  Project Id  Edges Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - lego-architect
      summary: Unlink Step
      description: Remove a parent → child edge. Takes `parent_slug` + `child_slug` as query params.
      operationId: unlink_step_api_v1_lego_architect_projects__project_id__edges_delete
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Project Id
      - name: parent_slug
        in: query
        required: true
        schema:
          type: string
          title: Parent Slug
      - name: child_slug
        in: query
        required: true
        schema:
          type: string
          title: Child Slug
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Unlink Step Api V1 Lego Architect Projects  Project Id  Edges Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    EdgeRequest:
      properties:
        parent_slug:
          type: string
          title: Parent Slug
        child_slug:
          type: string
          title: Child Slug
      type: object
      required:
      - parent_slug
      - child_slug
      title: EdgeRequest
    LegoMessageRequest:
      properties:
        content:
          type: string
          maxLength: 10000
          minLength: 1
          title: Content
        referenced_database_ids:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Referenced Database Ids
        attachments:
          items:
            additionalProperties:
              type: string
            type: object
          type: array
          title: Attachments
      type: object
      required:
      - content
      title: LegoMessageRequest
    AddStepRequest:
      properties:
        step_type:
          type: string
          title: Step Type
          description: source | data_read | process | data_sink | database | dashboard
        operator:
          type: string
          title: Operator
          description: Operator registry name (e.g. 'filter', 'api_source')
        slug:
          type: string
          maxLength: 80
          minLength: 1
          title: Slug
        config:
          additionalProperties: true
          type: object
          title: Config
        parent_slugs:
          items:
            type: string
          type: array
          title: Parent Slugs
        provider_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Provider Id
      type: object
      required:
      - step_type
      - operator
      - slug
      title: AddStepRequest
    UpdateStepRequest:
      properties:
        config:
          additionalProperties: true
          type: object
          title: Config
      type: object
      required:
      - config
      title: UpdateStepRequest
    LegoTurnResponse:
      properties:
        status:
          type: string
          title: Status
      type: object
      required:
      - status
      title: LegoTurnResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError