> ## Documentation Index
> Fetch the complete documentation index at: https://docs.labelbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the connected Slack bot's bounded channel-selection catalog

> Returns a channel-selection snapshot of at most 1,000 memberships from the connected Slack workspace, using that installation's credential, so an automation trigger can be configured by picking a channel instead of pasting its id. Only a Slack connection has channels; the list is scoped to the connection's own workspace. A channel the bot is not a member of is never listed: invite the bot in Slack first. Throttled reads return 429 slack_rate_limited. A list that stopped at the size budget says truncated=true, so absence from the list never proves the bot is not a member. If the Slack app lacks channels:read or groups:read the response is 422 slack_missing_scope naming the scopes to add.



## OpenAPI

````yaml /managed-agents/openapi.yaml get /managed-agents/v1/integrations/connections/{connectionId}/channel-catalog
openapi: 3.1.0
info:
  title: Managed Agents API
  version: 0.13.0
  description: >-
    The Recursion Managed Agents REST API. Authenticate with a Recursion API key
    as a bearer token. An organization-scoped key acts in its own organization
    and needs nothing else; a tenant-scoped key must also send
    `x-organization-id` with an organization id or `default`. Field names follow
    each operation's published schema.
servers:
  - url: https://api.recursion.labelbox.com
security:
  - bearerAuth: []
paths:
  /managed-agents/v1/integrations/connections/{connectionId}/channel-catalog:
    get:
      tags:
        - Integrations
      summary: Get the connected Slack bot's bounded channel-selection catalog
      description: >-
        Returns a channel-selection snapshot of at most 1,000 memberships from
        the connected Slack workspace, using that installation's credential, so
        an automation trigger can be configured by picking a channel instead of
        pasting its id. Only a Slack connection has channels; the list is scoped
        to the connection's own workspace. A channel the bot is not a member of
        is never listed: invite the bot in Slack first. Throttled reads return
        429 slack_rate_limited. A list that stopped at the size budget says
        truncated=true, so absence from the list never proves the bot is not a
        member. If the Slack app lacks channels:read or groups:read the response
        is 422 slack_missing_scope naming the scopes to add.
      operationId: managedAgentsGetIntegrationSlackChannelCatalog
      parameters:
        - description: Slack integration connection identifier.
          in: path
          name: connectionId
          required: true
          schema:
            description: Slack integration connection identifier.
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsSlackChannels'
          description: >-
            The channels a Slack connection's bot is a member of, read live from
            Slack with a short cache. Returned to populate the channel picker
            when creating or editing a Slack trigger binding; the binding itself
            still stores the channel id.
        '400':
          description: The request was rejected by schema or semantic validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorInvalidRequest'
        '401':
          description: The caller is unauthenticated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorUnauthorized'
        '403':
          description: The caller lacks a required permission or capability.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorForbidden'
        '404':
          description: No such resource is reachable for this caller.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorNotFound'
        '422':
          description: The request is well formed but failed semantic validation.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorSlackChannelsRejected
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorSlackConnectionMalformed
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorSlackInstallationMismatch
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorSlackMissingScope
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorSlackReapprovalRequired
                discriminator:
                  propertyName: code
                  mapping:
                    slack_channels_rejected:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorSlackChannelsRejected
                    slack_connection_malformed:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorSlackConnectionMalformed
                    slack_installation_mismatch:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorSlackInstallationMismatch
                    slack_missing_scope:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorSlackMissingScope
                    slack_reapproval_required:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorSlackReapprovalRequired
        '429':
          headers:
            Retry-After:
              description: Seconds the caller should wait before retrying.
              schema:
                type: string
              style: simple
          description: A rate limit is exhausted. Honor `Retry-After`.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorRateLimitExceeded
                  - $ref: '#/components/schemas/ManagedAgentsApiErrorRateLimited'
                  - $ref: '#/components/schemas/ManagedAgentsApiErrorSlackRateLimited'
                discriminator:
                  propertyName: code
                  mapping:
                    rate_limit_exceeded:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorRateLimitExceeded
                    rate_limited:
                      $ref: '#/components/schemas/ManagedAgentsApiErrorRateLimited'
                    slack_rate_limited:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorSlackRateLimited
        '500':
          description: An unexpected server-side failure.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ManagedAgentsApiErrorInternalError'
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorInvariantViolation
                discriminator:
                  propertyName: code
                  mapping:
                    internal_error:
                      $ref: '#/components/schemas/ManagedAgentsApiErrorInternalError'
                    invariant_violation:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorInvariantViolation
        '502':
          description: The service returned an invalid response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorBadGateway'
        '503':
          headers:
            Retry-After:
              description: Seconds the caller should wait before retrying.
              schema:
                type: string
              style: simple
          description: A dependency is unavailable. Retryable.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ManagedAgentsApiErrorAuthUnavailable'
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorIntegrationsUnconfigured
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorManagedAgentsUnavailable
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorServiceUnavailable
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorSlackChannelsUnavailable
                  - $ref: >-
                      #/components/schemas/ManagedAgentsApiErrorSlackChannelsUnconfigured
                discriminator:
                  propertyName: code
                  mapping:
                    auth_unavailable:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorAuthUnavailable
                    integrations_unconfigured:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorIntegrationsUnconfigured
                    managed_agents_unavailable:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorManagedAgentsUnavailable
                    service_unavailable:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorServiceUnavailable
                    slack_channels_unavailable:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorSlackChannelsUnavailable
                    slack_channels_unconfigured:
                      $ref: >-
                        #/components/schemas/ManagedAgentsApiErrorSlackChannelsUnconfigured
        '504':
          headers:
            Retry-After:
              description: When to retry, as delay seconds or an HTTP date.
              schema:
                type: string
          description: The service did not respond before the timeout. Retryable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedAgentsApiErrorGatewayTimeout'
components:
  schemas:
    ManagedAgentsSlackChannels:
      description: >-
        The channels a Slack connection's bot is a member of, read live from
        Slack with a short cache. Returned to populate the channel picker when
        creating or editing a Slack trigger binding; the binding itself still
        stores the channel id.
      properties:
        channels:
          description: >-
            Bounded channel-selection catalog, sorted by name. A channel the bot
            has not been invited to is never listed; invite it in Slack first.
            Check truncated before treating absence as meaningful.
          items:
            $ref: '#/components/schemas/ManagedAgentsSlackChannel'
          maxItems: 1000
          type: array
        fetchedAt:
          description: >-
            When this list was read from Slack (RFC 3339). Lists are cached
            briefly, so a channel joined a moment ago may not appear yet.
          format: date-time
          type: string
        retryAfterSeconds:
          description: >-
            How long to wait before asking again, when the list is stale because
            Slack throttled the read.
          type: integer
        stale:
          description: >-
            True when Slack could not be asked and an expired cached list was
            served instead. Check retryAfterSeconds before retrying.
          type: boolean
        truncated:
          description: >-
            True when the listing stopped at a size budget while Slack still had
            more channels; channels past the budget are absent, so a missing
            channel does not mean the bot is not a member.
          type: boolean
      required:
        - channels
        - fetchedAt
        - stale
        - truncated
      type: object
      example:
        channels:
          - id: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
            isExtShared: true
            isPrivate: true
            name: example-name
        fetchedAt: '2026-02-18T09:30:00.000Z'
        retryAfterSeconds: 1
        stale: true
        truncated: true
    ManagedAgentsApiErrorInvalidRequest:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - invalid_request
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorUnauthorized:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - unauthorized
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorForbidden:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - forbidden
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorNotFound:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - not_found
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorSlackChannelsRejected:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - slack_channels_rejected
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorSlackConnectionMalformed:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - slack_connection_malformed
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorSlackInstallationMismatch:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - slack_installation_mismatch
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorSlackMissingScope:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - slack_missing_scope
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorSlackReapprovalRequired:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - slack_reapproval_required
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorRateLimitExceeded:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - rate_limit_exceeded
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorRateLimited:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - rate_limited
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorSlackRateLimited:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - slack_rate_limited
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorInternalError:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - internal_error
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorInvariantViolation:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - invariant_violation
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorBadGateway:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - bad_gateway
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorAuthUnavailable:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - auth_unavailable
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorIntegrationsUnconfigured:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - integrations_unconfigured
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorManagedAgentsUnavailable:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - managed_agents_unavailable
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorServiceUnavailable:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - service_unavailable
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorSlackChannelsUnavailable:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - slack_channels_unavailable
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorSlackChannelsUnconfigured:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - slack_channels_unconfigured
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsApiErrorGatewayTimeout:
      type: object
      properties:
        code:
          type: string
          minLength: 1
          description: Stable machine-readable error code.
          enum:
            - gateway_timeout
        message:
          type: string
          minLength: 1
          description: Human-readable error message.
        details:
          description: Optional structured error details.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
      description: Standard flat error response.
    ManagedAgentsSlackChannel:
      description: >-
        One channel the Slack connection's bot is a member of: the id a binding
        stores, the name the workspace shows, and whether it is private or
        shared with another organization.
      properties:
        id:
          description: Slack channel id, the value a trigger binding stores as channel_id.
          type: string
        isExtShared:
          description: >-
            Whether the channel is shared with another organization (Slack
            Connect). A proactive binding here lets external members start
            investigations.
          type: boolean
        isPrivate:
          description: Whether the channel is private in the connected workspace.
          type: boolean
        name:
          description: >-
            Channel name as the connected workspace sees it, without the leading
            #. Slack Connect channels can carry a different name in the other
            workspace.
          type: string
      required:
        - id
        - name
        - isPrivate
        - isExtShared
      type: object
      example:
        id: 9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d
        isExtShared: true
        isPrivate: true
        name: example-name
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A Recursion API key, created in the console under API keys.

````