AIMLAPI · Capability

AIMLAPI AI/ML API Documentation — [WIP] Completions

AIMLAPI AI/ML API Documentation — [WIP] Completions. 1 operations. Lead operation: AIMLAPI Create Completion. Self-contained Naftiko capability covering one Aimlapi business surface.

Run with Naftiko Aimlapi[WIP] Completions

What You Can Do

POST
Post — AIMLAPI Create Completion
/v1/completions

MCP Tools

aimlapi-create-completion

AIMLAPI Create Completion

Capability Spec

aimlapi-wip-completions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AIMLAPI AI/ML API Documentation — [WIP] Completions
  description: 'AIMLAPI AI/ML API Documentation — [WIP] Completions. 1 operations. Lead operation: AIMLAPI Create Completion.
    Self-contained Naftiko capability covering one Aimlapi business surface.'
  tags:
  - Aimlapi
  - '[WIP] Completions'
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AIMLAPI_API_KEY: AIMLAPI_API_KEY
capability:
  consumes:
  - type: http
    namespace: aimlapi-wip-completions
    baseUri: http://{{baseurl}}
    description: AIMLAPI AI/ML API Documentation — [WIP] Completions business capability. Self-contained, no shared references.
    resources:
    - name: completions
      path: /completions
      operations:
      - name: post
        method: POST
        description: AIMLAPI Create Completion
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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-wip-completions-rest
    port: 8080
    description: REST adapter for AIMLAPI AI/ML API Documentation — [WIP] Completions. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/completions
      name: completions
      description: REST surface for completions.
      operations:
      - method: POST
        name: post
        description: AIMLAPI Create Completion
        call: aimlapi-wip-completions.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aimlapi-wip-completions-mcp
    port: 9090
    transport: http
    description: MCP adapter for AIMLAPI AI/ML API Documentation — [WIP] Completions. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: aimlapi-create-completion
      description: AIMLAPI Create Completion
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aimlapi-wip-completions.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.