AIMLAPI · Capability

AIMLAPI AI/ML API Documentation — Assistants

AIMLAPI AI/ML API Documentation — Assistants. 4 operations. Lead operation: AIMLAPI List Your Assistants. Self-contained Naftiko capability covering one Aimlapi business surface.

Run with Naftiko AimlapiAssistants

What You Can Do

GET
Get — AIMLAPI List Your Assistants
/v1/assistants
POST
Post — AIMLAPI Create Assistant
/v1/assistants
GET
Get — AIMLAPI Get Assistant
/v1/assistants/{assistantid}
POST
Post — AIMLAPI Update Assistant
/v1/assistants/{assistantid}

MCP Tools

aimlapi-list-your-assistants

AIMLAPI List Your Assistants

read-only idempotent
aimlapi-create-assistant

AIMLAPI Create Assistant

aimlapi-get-assistant

AIMLAPI Get Assistant

read-only idempotent
aimlapi-update-assistant

AIMLAPI Update Assistant

Capability Spec

aimlapi-assistants.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AIMLAPI AI/ML API Documentation — Assistants
  description: 'AIMLAPI AI/ML API Documentation — Assistants. 4 operations. Lead operation: AIMLAPI List Your Assistants.
    Self-contained Naftiko capability covering one Aimlapi business surface.'
  tags:
  - Aimlapi
  - Assistants
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AIMLAPI_API_KEY: AIMLAPI_API_KEY
capability:
  consumes:
  - type: http
    namespace: aimlapi-assistants
    baseUri: http://{{baseurl}}
    description: AIMLAPI AI/ML API Documentation — Assistants business capability. Self-contained, no shared references.
    resources:
    - name: assistants
      path: /assistants
      operations:
      - name: get
        method: GET
        description: AIMLAPI List Your Assistants
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: AIMLAPI Create Assistant
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: assistants-assistantId
      path: /assistants/{assistantId}
      operations:
      - name: get
        method: GET
        description: AIMLAPI Get Assistant
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: assistantId
          in: path
          type: string
          required: true
      - name: post
        method: POST
        description: AIMLAPI Update Assistant
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: assistantId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.AIMLAPI_API_KEY}}'
  exposes:
  - type: rest
    namespace: aimlapi-assistants-rest
    port: 8080
    description: REST adapter for AIMLAPI AI/ML API Documentation — Assistants. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/assistants
      name: assistants
      description: REST surface for assistants.
      operations:
      - method: GET
        name: get
        description: AIMLAPI List Your Assistants
        call: aimlapi-assistants.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: AIMLAPI Create Assistant
        call: aimlapi-assistants.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/assistants/{assistantid}
      name: assistants-assistantid
      description: REST surface for assistants-assistantId.
      operations:
      - method: GET
        name: get
        description: AIMLAPI Get Assistant
        call: aimlapi-assistants.get
        with:
          assistantId: rest.assistantId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: AIMLAPI Update Assistant
        call: aimlapi-assistants.post
        with:
          assistantId: rest.assistantId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aimlapi-assistants-mcp
    port: 9090
    transport: http
    description: MCP adapter for AIMLAPI AI/ML API Documentation — Assistants. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: aimlapi-list-your-assistants
      description: AIMLAPI List Your Assistants
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aimlapi-assistants.get
      outputParameters:
      - type: object
        mapping: $.
    - name: aimlapi-create-assistant
      description: AIMLAPI Create Assistant
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aimlapi-assistants.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: aimlapi-get-assistant
      description: AIMLAPI Get Assistant
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aimlapi-assistants.get
      with:
        assistantId: tools.assistantId
      outputParameters:
      - type: object
        mapping: $.
    - name: aimlapi-update-assistant
      description: AIMLAPI Update Assistant
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aimlapi-assistants.post
      with:
        assistantId: tools.assistantId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.