Skip to content

Add assistant search Web API methods#2613

Draft
Cr1stal wants to merge 1 commit into
slackapi:mainfrom
Cr1stal:feat/assistant-search-apis
Draft

Add assistant search Web API methods#2613
Cr1stal wants to merge 1 commit into
slackapi:mainfrom
Cr1stal:feat/assistant-search-apis

Conversation

@Cr1stal
Copy link
Copy Markdown

@Cr1stal Cr1stal commented May 30, 2026

Summary

Adds Web API support for the assistant.search.context and assistant.search.info methods.

This includes:

  • typed web.assistant.search.context(...) and web.assistant.search.info(...) method bindings
  • request argument types for assistant search
  • response types for context and info responses
  • type-level coverage for required, optional, and rejected argument shapes
  • a patch changeset for @slack/web-api

Motivation

These APIs are documented in Slack's Web API reference but were not yet exposed by the Node SDK.

Related to #2607.

Depends on slackapi/java-slack-sdk#1594, which adds the same Web API methods and response samples to the Java SDK. This matters here because node-slack-sdk generates Web API response types from java-slack-sdk's json-logs/samples/api/ files.

Validation

  • git diff --check
  • npm run test:types --workspace @slack/web-api
  • npm run build --workspace @slack/web-api
  • npm test --workspace @slack/web-api
  • npm run lint

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 30, 2026

🦋 Changeset detected

Latest commit: cd424c1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@slack/web-api Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Cr1stal Cr1stal force-pushed the feat/assistant-search-apis branch from a3261a5 to eeb9c2f Compare May 30, 2026 12:42
@Cr1stal Cr1stal force-pushed the feat/assistant-search-apis branch from eeb9c2f to cd424c1 Compare May 30, 2026 12:54
@Cr1stal Cr1stal marked this pull request as ready for review May 30, 2026 13:01
@Cr1stal Cr1stal requested a review from a team as a code owner May 30, 2026 13:01
@Cr1stal Cr1stal marked this pull request as draft May 30, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant