Kion · Capability

Kion Cloud Operations API — Organizational Units

Kion Cloud Operations API — Organizational Units. 5 operations. Lead operation: Kion List organizational units. Self-contained Naftiko capability covering one Kion business surface.

Run with Naftiko KionOrganizational Units

What You Can Do

GET
Listous — Kion List organizational units
/v1/ou
POST
Createou — Kion Create an organizational unit
/v1/ou
GET
Getou — Kion Get an organizational unit
/v1/ou/{id}
PATCH
Updateou — Kion Update an organizational unit
/v1/ou/{id}
DELETE
Deleteou — Kion Delete an organizational unit
/v1/ou/{id}

MCP Tools

kion-list-organizational-units

Kion List organizational units

read-only idempotent
kion-create-organizational-unit

Kion Create an organizational unit

kion-get-organizational-unit

Kion Get an organizational unit

read-only idempotent
kion-update-organizational-unit

Kion Update an organizational unit

idempotent
kion-delete-organizational-unit

Kion Delete an organizational unit

idempotent

Capability Spec

cloud-operations-organizational-units.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Kion Cloud Operations API — Organizational Units
  description: 'Kion Cloud Operations API — Organizational Units. 5 operations. Lead operation: Kion List organizational units.
    Self-contained Naftiko capability covering one Kion business surface.'
  tags:
  - Kion
  - Organizational Units
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KION_API_KEY: KION_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-operations-organizational-units
    baseUri: https://{kion-instance}/api/v3
    description: Kion Cloud Operations API — Organizational Units business capability. Self-contained, no shared references.
    resources:
    - name: ou
      path: /ou
      operations:
      - name: listous
        method: GET
        description: Kion List organizational units
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createou
        method: POST
        description: Kion Create an organizational unit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: ou-id
      path: /ou/{id}
      operations:
      - name: getou
        method: GET
        description: Kion Get an organizational unit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateou
        method: PATCH
        description: Kion Update an organizational unit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteou
        method: DELETE
        description: Kion Delete an organizational unit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.KION_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-operations-organizational-units-rest
    port: 8080
    description: REST adapter for Kion Cloud Operations API — Organizational Units. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/ou
      name: ou
      description: REST surface for ou.
      operations:
      - method: GET
        name: listous
        description: Kion List organizational units
        call: cloud-operations-organizational-units.listous
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createou
        description: Kion Create an organizational unit
        call: cloud-operations-organizational-units.createou
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ou/{id}
      name: ou-id
      description: REST surface for ou-id.
      operations:
      - method: GET
        name: getou
        description: Kion Get an organizational unit
        call: cloud-operations-organizational-units.getou
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateou
        description: Kion Update an organizational unit
        call: cloud-operations-organizational-units.updateou
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteou
        description: Kion Delete an organizational unit
        call: cloud-operations-organizational-units.deleteou
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-operations-organizational-units-mcp
    port: 9090
    transport: http
    description: MCP adapter for Kion Cloud Operations API — Organizational Units. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: kion-list-organizational-units
      description: Kion List organizational units
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-operations-organizational-units.listous
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-create-organizational-unit
      description: Kion Create an organizational unit
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-operations-organizational-units.createou
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-get-organizational-unit
      description: Kion Get an organizational unit
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-operations-organizational-units.getou
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-update-organizational-unit
      description: Kion Update an organizational unit
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloud-operations-organizational-units.updateou
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: kion-delete-organizational-unit
      description: Kion Delete an organizational unit
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloud-operations-organizational-units.deleteou
      outputParameters:
      - type: object
        mapping: $.