Slack · Capability

Slack Assistant API — AI

Slack Assistant API — AI. 3 operations. Lead operation: Set Assistant Thread Status. Self-contained Naftiko capability covering one Slack business surface.

Run with Naftiko SlackAI

What You Can Do

POST
Postassistantthreadssetstatus — Set Assistant Thread Status
/v1/assistant-threads-setstatus
POST
Postassistantthreadssetsuggestedprompts — Set Assistant Thread Suggested Prompts
/v1/assistant-threads-setsuggestedprompts
POST
Postassistantthreadssettitle — Set Assistant Thread Title
/v1/assistant-threads-settitle

MCP Tools

set-assistant-thread-status

Set Assistant Thread Status

set-assistant-thread-suggested-prompts

Set Assistant Thread Suggested Prompts

set-assistant-thread-title

Set Assistant Thread Title

Capability Spec

assistant-ai.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Slack Assistant API — AI
  description: 'Slack Assistant API — AI. 3 operations. Lead operation: Set Assistant Thread Status. Self-contained Naftiko
    capability covering one Slack business surface.'
  tags:
  - Slack
  - AI
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SLACK_API_KEY: SLACK_API_KEY
capability:
  consumes:
  - type: http
    namespace: assistant-ai
    baseUri: https://slack.com/api
    description: Slack Assistant API — AI business capability. Self-contained, no shared references.
    resources:
    - name: assistant.threads.setStatus
      path: /assistant.threads.setStatus
      operations:
      - name: postassistantthreadssetstatus
        method: POST
        description: Set Assistant Thread Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: header
          type: string
          description: 'Authentication token. Requires scope: `assistant:write`'
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: assistant.threads.setSuggestedPrompts
      path: /assistant.threads.setSuggestedPrompts
      operations:
      - name: postassistantthreadssetsuggestedprompts
        method: POST
        description: Set Assistant Thread Suggested Prompts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: header
          type: string
          description: 'Authentication token. Requires scope: `assistant:write`'
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: assistant.threads.setTitle
      path: /assistant.threads.setTitle
      operations:
      - name: postassistantthreadssettitle
        method: POST
        description: Set Assistant Thread Title
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: header
          type: string
          description: 'Authentication token. Requires scope: `assistant:write`'
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.SLACK_API_KEY}}'
  exposes:
  - type: rest
    namespace: assistant-ai-rest
    port: 8080
    description: REST adapter for Slack Assistant API — AI. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/assistant-threads-setstatus
      name: assistant-threads-setstatus
      description: REST surface for assistant.threads.setStatus.
      operations:
      - method: POST
        name: postassistantthreadssetstatus
        description: Set Assistant Thread Status
        call: assistant-ai.postassistantthreadssetstatus
        with:
          token: rest.token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/assistant-threads-setsuggestedprompts
      name: assistant-threads-setsuggestedprompts
      description: REST surface for assistant.threads.setSuggestedPrompts.
      operations:
      - method: POST
        name: postassistantthreadssetsuggestedprompts
        description: Set Assistant Thread Suggested Prompts
        call: assistant-ai.postassistantthreadssetsuggestedprompts
        with:
          token: rest.token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/assistant-threads-settitle
      name: assistant-threads-settitle
      description: REST surface for assistant.threads.setTitle.
      operations:
      - method: POST
        name: postassistantthreadssettitle
        description: Set Assistant Thread Title
        call: assistant-ai.postassistantthreadssettitle
        with:
          token: rest.token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: assistant-ai-mcp
    port: 9090
    transport: http
    description: MCP adapter for Slack Assistant API — AI. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: set-assistant-thread-status
      description: Set Assistant Thread Status
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: assistant-ai.postassistantthreadssetstatus
      with:
        token: tools.token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: set-assistant-thread-suggested-prompts
      description: Set Assistant Thread Suggested Prompts
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: assistant-ai.postassistantthreadssetsuggestedprompts
      with:
        token: tools.token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: set-assistant-thread-title
      description: Set Assistant Thread Title
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: assistant-ai.postassistantthreadssettitle
      with:
        token: tools.token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.