naftiko: 1.0.0-alpha2 info: label: Slack Admin API — Search description: 'Slack Admin API — Search. 1 operations. Lead operation: Slack Get Admin Conversations Search. Self-contained Naftiko capability covering one Slack business surface.' tags: - Slack - Search created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SLACK_API_KEY: SLACK_API_KEY capability: consumes: - type: http namespace: admin-search baseUri: '' description: Slack Admin API — Search business capability. Self-contained, no shared references. resources: - name: admin.conversations.search path: /admin.conversations.search operations: - name: getadminconversationssearch method: GET description: Slack Get Admin Conversations Search outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: token in: header type: string description: 'Authentication token. Requires scope: `admin.conversations:read`' required: true - name: team_ids in: query type: string description: Comma separated string of team IDs, signifying the workspaces to search through. - name: query in: query type: string description: Name of the the channel to query by. - name: limit in: query type: integer description: Maximum number of items to be returned. Must be between 1 - 20 both inclusive. Default is 10. - name: cursor in: query type: string description: Set `cursor` to `next_cursor` returned by the previous call to list items in the next page. - name: search_channel_types in: query type: string description: The type of channel to include or exclude in the search. For example `private` will search private channels, while `private_exclude` will exclude them. For a fu - name: sort in: query type: string description: Possible values are `relevant` (search ranking based on what we think is closest), `name` (alphabetical), `member_count` (number of users in the channel), and ` - name: sort_dir in: query type: string description: Sort direction. Possible values are `asc` for ascending order like (1, 2, 3) or (a, b, c), and `desc` for descending order like (3, 2, 1) or (c, b, a) exposes: - type: rest namespace: admin-search-rest port: 8080 description: REST adapter for Slack Admin API — Search. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/admin-conversations-search name: admin-conversations-search description: REST surface for admin.conversations.search. operations: - method: GET name: getadminconversationssearch description: Slack Get Admin Conversations Search call: admin-search.getadminconversationssearch with: token: rest.token team_ids: rest.team_ids query: rest.query limit: rest.limit cursor: rest.cursor search_channel_types: rest.search_channel_types sort: rest.sort sort_dir: rest.sort_dir outputParameters: - type: object mapping: $. - type: mcp namespace: admin-search-mcp port: 9090 transport: http description: MCP adapter for Slack Admin API — Search. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: slack-get-admin-conversations-search description: Slack Get Admin Conversations Search hints: readOnly: true destructive: false idempotent: true call: admin-search.getadminconversationssearch with: token: tools.token team_ids: tools.team_ids query: tools.query limit: tools.limit cursor: tools.cursor search_channel_types: tools.search_channel_types sort: tools.sort sort_dir: tools.sort_dir outputParameters: - type: object mapping: $.