Flowable · Capability

Flowable REST API — Models

Flowable REST API — Models. 2 operations. Lead operation: List models. Self-contained Naftiko capability covering one Flowable Api business surface.

Run with Naftiko Flowable ApiModels

What You Can Do

GET
Listmodels — List models
/v1/repository/models
POST
Createmodel — Create a model
/v1/repository/models

MCP Tools

list-models

List models

read-only idempotent
create-model

Create a model

Capability Spec

flowable-models.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Flowable REST API — Models
  description: 'Flowable REST API — Models. 2 operations. Lead operation: List models. Self-contained Naftiko capability covering
    one Flowable Api business surface.'
  tags:
  - Flowable Api
  - Models
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FLOWABLE_API_API_KEY: FLOWABLE_API_API_KEY
capability:
  consumes:
  - type: http
    namespace: flowable-models
    baseUri: https://flowable.example.com/flowable-rest/service
    description: Flowable REST API — Models business capability. Self-contained, no shared references.
    resources:
    - name: repository-models
      path: /repository/models
      operations:
      - name: listmodels
        method: GET
        description: List models
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createmodel
        method: POST
        description: Create a model
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: flowable-models-rest
    port: 8080
    description: REST adapter for Flowable REST API — Models. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repository/models
      name: repository-models
      description: REST surface for repository-models.
      operations:
      - method: GET
        name: listmodels
        description: List models
        call: flowable-models.listmodels
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createmodel
        description: Create a model
        call: flowable-models.createmodel
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: flowable-models-mcp
    port: 9090
    transport: http
    description: MCP adapter for Flowable REST API — Models. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-models
      description: List models
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flowable-models.listmodels
      outputParameters:
      - type: object
        mapping: $.
    - name: create-model
      description: Create a model
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: flowable-models.createmodel
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.