PLCs.ai API

PLCs.ai API as documented publicly: 17 operations. Contract generated from the documentation by API Evangelist (2026-11-21); not the provider's own document.

GitHub OpenAPI

Operations 17

POST /conversations/{cid}/messages Append a turn to a thread #
GET /exports/{exportid} Poll export job status #
GET /projects/{id} API reference #
POST /projects/{id}/analyses API reference #
GET /projects/{id}/analysis API reference #
POST /projects/{id}/conversations API reference #
GET /projects/{id}/devices API reference #
POST /projects/{id}/exports/pdf Render a PDF report for the project #
POST /projects/{id}/exports/plc API reference #
POST /projects/{id}/generate API reference #
POST /projects/{id}/hmi/request-tags Request a tag observation window #
GET /projects/{id}/hmi/values Latest tag snapshot pushed by a Desktop Companion App #
GET /projects/{id}/hmi/windows/{windowId} Read samples from an observation window #
POST /projects/{id}/interpret API reference #
GET /projects/{id}/source API reference #
POST /projects/{id}/uploads API reference #
POST /projects/{id}/versions API reference #

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/plcs-ai:plcs-ai-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

plcs-ai-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: PLCs.ai API
  version: '2026-11-21'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-21: 17 operation(s) read from 2 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; PLCs.ai has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 17
    pages-with-code: 0
    pages-read: 2
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-21'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://developer.plcs.ai/reference
  - https://www.plcs.ai/developer/reference
servers:
- url: https://app.plcs.ai/api/v1
paths:
  /conversations/{cid}/messages:
    post:
      operationId: post_conversations_cid_messages
      tags:
      - Conversations
      summary: Append a turn to a thread
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: cid
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
        description: A unique key (e.g. a UUID) for this write.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostConversationsCidMessagesRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostConversationsCidMessagesResponse'
      x-evidence:
        kind: documentation
  /exports/{exportid}:
    get:
      operationId: get_exports_exportid
      tags:
      - Exports
      summary: Poll export job status
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: exportid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetExportsExportidResponse'
      x-evidence:
        kind: documentation
  /projects/{id}:
    get:
      operationId: get_projects_id
      tags:
      - Projects
      summary: API reference
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/analyses:
    post:
      operationId: post_projects_id_analyses
      tags:
      - Projects
      summary: API reference
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
        description: A unique key (e.g. a UUID) for this write.
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/analysis:
    get:
      operationId: get_projects_id_analysis
      tags:
      - Projects
      summary: API reference
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/conversations:
    post:
      operationId: post_projects_id_conversations
      tags:
      - Projects
      summary: API reference
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
        description: A unique key (e.g. a UUID) for this write.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostProjectsIdConversationsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/devices:
    get:
      operationId: get_projects_id_devices
      tags:
      - Projects
      summary: API reference
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/exports/pdf:
    post:
      operationId: post_projects_id_exports_pdf
      tags:
      - Projects
      summary: Render a PDF report for the project
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
        description: A unique key (e.g. a UUID) for this write.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostProjectsIdExportsPdfRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostProjectsIdExportsPdfResponse'
      x-evidence:
        kind: documentation
  /projects/{id}/exports/plc:
    post:
      operationId: post_projects_id_exports_plc
      tags:
      - Projects
      summary: API reference
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
        description: A unique key (e.g. a UUID) for this write.
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/generate:
    post:
      operationId: post_projects_id_generate
      tags:
      - Projects
      summary: API reference
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
        description: A unique key (e.g. a UUID) for this write.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostProjectsIdGenerateRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/hmi/request-tags:
    post:
      operationId: post_projects_id_hmi_request_tags
      tags:
      - Projects
      summary: Request a tag observation window
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
        description: A unique key for this write.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostProjectsIdHmiRequestTagsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostProjectsIdHmiRequestTagsResponse'
      x-evidence:
        kind: documentation
  /projects/{id}/hmi/values:
    get:
      operationId: get_projects_id_hmi_values
      tags:
      - Projects
      summary: Latest tag snapshot pushed by a Desktop Companion App
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProjectsIdHmiValuesResponse'
      x-evidence:
        kind: documentation
  /projects/{id}/hmi/windows/{windowId}:
    get:
      operationId: get_projects_id_hmi_windows_windowId
      tags:
      - Projects
      summary: Read samples from an observation window
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: windowId
        in: path
        required: true
        schema:
          type: string
      - name: since
        in: query
        required: false
        schema:
          type: string
        description: Return samples after this timestamp (exclusive).
      - name: limit
        in: query
        required: false
        schema:
          type: integer
        description: Max samples per page (default 600, max 10000).
      - name: tag
        in: query
        required: false
        schema:
          type: array
        description: Filter to specific tags.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProjectsIdHmiWindowsWindowidResponse'
      x-evidence:
        kind: documentation
  /projects/{id}/interpret:
    post:
      operationId: post_projects_id_interpret
      tags:
      - Projects
      summary: API reference
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
        description: A unique key (e.g. a UUID) for this write.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostProjectsIdInterpretRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/source:
    get:
      operationId: get_projects_id_source
      tags:
      - Projects
      summary: API reference
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/uploads:
    post:
      operationId: post_projects_id_uploads
      tags:
      - Projects
      summary: API reference
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
        description: A unique key (e.g. a UUID) for this write.
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /projects/{id}/versions:
    post:
      operationId: post_projects_id_versions
      tags:
      - Projects
      summary: API reference
      x-source: https://developer.plcs.ai/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
        description: A unique key (e.g. a UUID) for this write.
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostConversationsCidMessagesRequest:
      type: object
      properties:
        prompt:
          type: string
          description: The question to ask.
        answers:
          type: array
          description: Answers to previous questions.
      required:
      - prompt
    PostConversationsCidMessagesResponse:
      type: object
      properties:
        status:
          type: string
          description: answer, needs_input, or unresolved.
        conversation_id:
          type: string
          description: Identifier for the conversation.
        answer:
          type: string
          description: The assistant's answer (when status is answer).
        questions:
          type: array
          description: Follow‑up questions (when status is needs_input).
    GetExportsExportidResponse:
      type: object
      properties:
        exportId:
          type: string
          description: Job identifier.
        status:
          type: string
          description: Job status (pending, running, complete, error).
        download_url:
          type: string
          description: URL to download the result (when status is complete).
    PostProjectsIdConversationsRequest:
      type: object
      properties:
        name:
          type: string
          description: Optional human label for the thread.
    PostProjectsIdExportsPdfRequest:
      type: object
      properties:
        detail:
          type: string
          description: 'Level of detail: project, diagrams, or everything.'
        full_device_inventory:
          type: boolean
          description: If true, list every device in the inventory.
    PostProjectsIdExportsPdfResponse:
      type: object
      properties:
        exportId:
          type: string
          description: Job id for the PDF render.
        status:
          type: string
          description: Job status (pending, running, complete, error).
    PostProjectsIdGenerateRequest:
      type: object
      properties:
        prompt:
          type: string
          description: What to generate or change.
        target:
          type: object
          description: Optional hint for which program/routine to target.
        conversation_id:
          type: string
          description: Returned by every response.
        approve:
          type: boolean
          description: Author the code for the plan pending on conversation_id.
        amendment:
          type: string
          description: Optional plain-language tweak applied while executing the approved plan.
        answers:
          type: array
          description: Answers to the questions a prior turn returned.
        mode:
          type: string
          description: sync (default) or stream.
      required:
      - prompt
    PostProjectsIdHmiRequestTagsRequest:
      type: object
      properties:
        tags:
          type: array
          description: List of tag names to observe.
        interval_ms:
          type: integer
          description: Sampling interval in milliseconds.
      required:
      - tags
      - interval_ms
    PostProjectsIdHmiRequestTagsResponse:
      type: object
      properties:
        window_id:
          type: string
          description: Identifier for the created observation window.
        status:
          type: string
          description: Window status (open, awaiting_history, closed).
    GetProjectsIdHmiValuesResponse:
      type: object
      properties:
        project_id:
          type: string
          description: Project identifier.
        live:
          type: boolean
          description: True if a DCA is currently streaming.
        tags:
          type: object
          description: Map of tag name to latest value.
        message:
          type: string
          description: Present when live is false.
    GetProjectsIdHmiWindowsWindowidResponse:
      type: object
      properties:
        project_id:
          type: string
          description: Project identifier.
        window_id:
          type: string
          description: Window identifier.
        status:
          type: string
          description: awaiting_history, open, or closed.
        samples:
          type: array
          description: Array of sample objects.
        has_more:
          type: boolean
          description: True if more pages are available.
        next_since:
          type: string
          description: Cursor for the next page.
    PostProjectsIdInterpretRequest:
      type: object
      properties:
        prompt:
          type: string
          description: The question to ask about the project.
        conversation_id:
          type: string
          description: Returned by every response. Pass it back to answer questions or to continue the same line of enquiry.
        answers:
          type: array
          description: Answers to the questions a prior turn returned.
        mode:
          type: string
          description: sync (default) or stream.
      required:
      - prompt
  securitySchemes:
    API_Key:
      type: http
      scheme: bearer
      x-source: https://www.plcs.ai/developer/authentication
tags:
- name: Conversations
- name: Exports
- name: Projects
security:
- API_Key: []