Composio · Capability

Composio Platform API — CLI

Composio Platform API — CLI. 3 operations. Lead operation: Ingest CLI codact failures. Self-contained Naftiko capability covering one Composio business surface.

Run with Naftiko ComposioCLI

What You Can Do

POST
Postclicodactfailures — Ingest CLI codact failures
/v1/api/v3/cli/codact-failures
POST
Postclirealtimeauth — Authenticate CLI Pusher channel access
/v1/api/v3/cli/realtime/auth
GET
Getclirealtimecredentials — Get credentials for CLI realtime events
/v1/api/v3/cli/realtime/credentials

MCP Tools

ingest-cli-codact-failures

Ingest CLI codact failures

authenticate-cli-pusher-channel-access

Authenticate CLI Pusher channel access

get-credentials-cli-realtime-events

Get credentials for CLI realtime events

read-only idempotent

Capability Spec

composio-cli.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Composio Platform API — CLI
  description: 'Composio Platform API — CLI. 3 operations. Lead operation: Ingest CLI codact failures. Self-contained Naftiko
    capability covering one Composio business surface.'
  tags:
  - Composio
  - CLI
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COMPOSIO_API_KEY: COMPOSIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: composio-cli
    baseUri: https://backend.composio.dev
    description: Composio Platform API — CLI business capability. Self-contained, no shared references.
    resources:
    - name: api-v3-cli-codact_failures
      path: /api/v3/cli/codact_failures
      operations:
      - name: postclicodactfailures
        method: POST
        description: Ingest CLI codact failures
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: x-user-api-key
          in: header
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-v3-cli-realtime-auth
      path: /api/v3/cli/realtime/auth
      operations:
      - name: postclirealtimeauth
        method: POST
        description: Authenticate CLI Pusher channel access
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-v3-cli-realtime-credentials
      path: /api/v3/cli/realtime/credentials
      operations:
      - name: getclirealtimecredentials
        method: GET
        description: Get credentials for CLI realtime events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.COMPOSIO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: composio-cli-rest
    port: 8080
    description: REST adapter for Composio Platform API — CLI. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v3/cli/codact-failures
      name: api-v3-cli-codact-failures
      description: REST surface for api-v3-cli-codact_failures.
      operations:
      - method: POST
        name: postclicodactfailures
        description: Ingest CLI codact failures
        call: composio-cli.postclicodactfailures
        with:
          x-user-api-key: rest.x-user-api-key
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v3/cli/realtime/auth
      name: api-v3-cli-realtime-auth
      description: REST surface for api-v3-cli-realtime-auth.
      operations:
      - method: POST
        name: postclirealtimeauth
        description: Authenticate CLI Pusher channel access
        call: composio-cli.postclirealtimeauth
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v3/cli/realtime/credentials
      name: api-v3-cli-realtime-credentials
      description: REST surface for api-v3-cli-realtime-credentials.
      operations:
      - method: GET
        name: getclirealtimecredentials
        description: Get credentials for CLI realtime events
        call: composio-cli.getclirealtimecredentials
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: composio-cli-mcp
    port: 9090
    transport: http
    description: MCP adapter for Composio Platform API — CLI. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: ingest-cli-codact-failures
      description: Ingest CLI codact failures
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: composio-cli.postclicodactfailures
      with:
        x-user-api-key: tools.x-user-api-key
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: authenticate-cli-pusher-channel-access
      description: Authenticate CLI Pusher channel access
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: composio-cli.postclirealtimeauth
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-credentials-cli-realtime-events
      description: Get credentials for CLI realtime events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: composio-cli.getclirealtimecredentials
      outputParameters:
      - type: object
        mapping: $.