slack-discovery-sdk
The Slack Discovery API SDK for Python
What it is and what it does
The Slack Discovery SDK is a Python client library for Slack's Discovery APIs, which provide enterprise-grade access to workspace data, messages, conversations, and audit logs on Slack Enterprise Grid. It wraps Slack's HTTP endpoints and handles authentication, rate limiting, and response parsing so you don't have to build those details yourself.
The SDK is designed for compliance, security, and data governance workflows—such as data loss prevention (DLP) scanning, eDiscovery, audit log retrieval, and message tombstoning. It has zero runtime dependencies and installs as a pure Python wheel, making it lightweight to add to an existing project. However, the package has not been maintained for over 1095 days, so compatibility with the current Slack API and Python ecosystem is uncertain.
Use it for:
- Retrieve enterprise-wide workspace and team information for compliance audits on Slack Enterprise Grid.
- Scan messages for sensitive data (credit card numbers, PII) and tombstone them automatically for DLP.
- Export user conversations and message history for eDiscovery or legal hold workflows.
- Access audit logs with user tokens that have auditlogs:read scopes for security investigations.
- Programmatically query conversation metadata and message edits across an enterprise organization.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to Slack's Discovery APIs for accessing enterprise-level data like messages, conversations, and audit logs on Slack Enterprise Grid.
No—unless you have an active, supported Slack Enterprise Grid account and are already committed to this SDK's API surface. The package is abandoned (1095+ days without maintenance), license terms are unclear, and no guarantee exists that it still works with current Slack Discovery API versions. For new projects, contact Slack directly for current SDK recommendations or use the generic Slack Bolt framework instead.
Install
slack-discovery-sdk on PyPI
pip
pip install slack-discovery-sdkuv
uv add slack-discovery-sdkpoetry
poetry add slack-discovery-sdkInstalling slack-discovery-sdk
Before you install
Package is abandoned—last release was over 1095 days ago. No maintenance activity or repository metadata available. Install friction is low (pure Python wheel, no runtime dependencies), but the lack of maintenance poses a risk for compatibility issues with current Slack API changes.
License in practice
License status is unclear; no SPDX identifier or raw license text is available. Verify the actual license terms before using in production or redistributing.
Quickstart
pip install slack-discovery-sdk
import os
from slack_discovery_sdk import DiscoveryClient
token = os.environ["SLACK_DISCOVERY_SDK_TEST_ENTERPRISE_TOKEN"]
client = DiscoveryClient(token=token)
info = client.discovery_enterprise_info()
print(info.body)
Requires a Slack Discovery API token with discovery:read or discovery:write scopes; only available to Enterprise Grid customers or Security and Compliance partners. Python 3.6 or greater required.
Verify before relying
- Whether the SDK remains compatible with current Slack Discovery API versions given the 1095-day gap since last release.
- Actual license terms and whether redistribution is permitted.
- Whether the package is maintained under a different repository or organization.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 1,095 days since the last release |
| First released | |
| Downloads | 87,363/month — #13,801 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: slack_discovery_sdk-1.0.2-py2.py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
slackclientProvides Python interfaces to Slack's Web API…
permissive · top 5,000 on PyPI
slackeventsapiReceives and parses events from Slack's Events…
permissive · top 15,000 on PyPI
slackerSlacker is a Python client library for the…
permissive · top 15,000 on PyPI
slack-sdkProvides Python bindings for Slack's Web API,…
permissive · top 1,000 on PyPI
apache-airflow-providers-slackIntegrates Apache Airflow with Slack, enabling…
permissive · top 5,000 on PyPI
prefect-slackProvides prebuilt Prefect tasks and blocks to…
permissive · top 15,000 on PyPI
slackwebSends messages to Slack channels via incoming…
permissive · top 15,000 on PyPI
google-cloud-discoveryenginePython client library for Google Cloud…
permissive · top 5,000 on PyPI
alibabacloud-actiontrail20200706Provides Python bindings to Alibaba Cloud's…
permissive · top 15,000 on PyPI