naftiko: 1.0.0-alpha2 info: label: Slack Assistant API — Assistants description: 'Slack Assistant API — Assistants. 3 operations. Lead operation: Set Assistant Thread Status. Self-contained Naftiko capability covering one Slack business surface.' tags: - Slack - Assistants created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SLACK_API_KEY: SLACK_API_KEY capability: consumes: - type: http namespace: assistant-assistants baseUri: https://slack.com/api description: Slack Assistant API — Assistants 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-assistants-rest port: 8080 description: REST adapter for Slack Assistant API — Assistants. 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-assistants.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-assistants.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-assistants.postassistantthreadssettitle with: token: rest.token body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: assistant-assistants-mcp port: 9090 transport: http description: MCP adapter for Slack Assistant API — Assistants. 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-assistants.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-assistants.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-assistants.postassistantthreadssettitle with: token: tools.token body: tools.body outputParameters: - type: object mapping: $.