slack_agents

the Slack channels an agent is shared in, and whether the caller can share it

Changed on
get/w/{workspace}/slack_agents/agent_channels/{path}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/slack_agents/agent_channels/{path}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required
pathstring required

Response

the agent's Slack channels

slack_team_namestring

the connected Slack workspace; absent when Slack is not connected

signing_secret_setboolean required

agents answer in Slack only when the server has the Slack app's signing secret (SLACK_SIGNING_SECRET)

bot_namestring

the bot's Slack handle; absent when Slack can't be reached

missing_scopesstring[] required

agent scopes the workspace's Slack connection lacks, so it must be reconnected with AI agents enabled

runs_asstring

who the agent runs as (its on_behalf_of); absent unless it runs on behalf of someone

anyoneboolean required

whether anyone in its channels can ask it (its slack_anyone, kept only while it runs on behalf of someone), rather than workspace members only

can_shareboolean required

whether the caller can change the agent's channels, as anyone who can edit it can

Changes