Dataset
Slack and Teams chat archive datasets for AI training
A Slack dataset is an export of a company's team chat workspace, from Slack or a similar tool: channels with their purpose and membership history, threaded replies, reactions, edits, pins, file references and the bot and integration posts that sit between human messages. SourceX sources these archives to a buyer's spec from established businesses that own a Slack, Microsoft Teams, Google Chat or Mattermost workspace, including the successors of acquired and shut-down companies. Direct messages are included only where the license covers them. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Workspace chat exports with channels, threads, reactions, edits and bot posts on one timeline
- Typical systems
- Slack, Microsoft Teams, Google Chat, Mattermost, Zulip, Rocket.Chat
- Typical history
- Specified by the buyer; limited by the workspace's retention settings and the date it was adopted
- Modality
- Short message text with structured channel, thread, reaction and integration-payload metadata
- Delivery formats
- Agreed per order; commonly JSONL per channel with channel, member-role and membership tables
- Preparation
- Members pseudonymized consistently, mention tokens rewritten, pasted secrets and file links removed
- Licensing
- Limited to the conversation types the owner may lawfully export; permitted use set in the license
- Availability
- Sourced to your spec from workspace owners who agree; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| workspace_id | string | Pseudonymous ID for the workspace; one company can have more than one. |
| channel_profile | object | Channel ID, type (public, private or shared with another organization), purpose, topic, naming prefix and creation date. |
| membership_events | array | Joins, leaves, renames and purpose changes with timestamps, rebuilt from the system messages the tool writes into the channel. |
| message_ts | string | The timestamp as exported, which in a Slack export also identifies the message within its channel. |
| thread_root | string | ID of the parent message a reply belongs to; on a thread's first message it equals the message's own ID. |
| author | object | Pseudonymous member ID with role and team, and whether the poster is a person, a bot user, an app or a workflow. |
| subtype | enum | The export's own message kind, such as a bot post, a join or leave notice, a file share, a pin, an edit or a deletion. |
| text | string | Message body with user and channel mention tokens rewritten to the delivery's pseudonymous IDs. |
| payload | object | For integration posts, the structured attachment or block content: source app, title, named fields and status. |
| reactions | array | Emoji name, count and reacting members; in Slack exports the member list can be partial while the count stays exact. |
| edits | array | Earlier versions and deletion markers with editor and time, present only where retention settings kept them. |
| files | array | Type, size and title of each shared file, with extracted text where file bodies were pulled separately. |
| cross_refs | array | Channel links, message permalinks and outside objects such as ticket keys and pull requests, parsed into typed IDs. |
| export_basis | object | The export route used, the conversation types and dates it covered, and what was excluded before delivery. |
Field names from the table above; values are masked placeholders.
Example record
{
"workspace_id": "ws_7c21",
"channel_profile": { "id": "C_deploy_billing",
"type": "public",
"prefix": "deploy-",
"purpose": "Deploy notices for the billing service. Questions go in a thread." },
"thread": [
{ "message_ts": "1699872301.004500",
"thread_root": "1699872301.004500",
"author": {"id": "B_ci_pipeline", "kind": "app"},
"subtype": "bot_message",
"text": "",
"payload": {"title": "Deploy failed: billing-api build 2291", "stage": "migrate", "status": "failed"},
"reactions": [{"name": "eyes", "count": 2, "users": ["M_014", "M_203"]}] },
{ "message_ts": "1699872388.004900",
"thread_root": "1699872301.004500",
"author": {"id": "M_014", "kind": "person", "role": "backend_engineer"},
"text": "Migration 0412 is locking the invoices table again. <@M_203> did the index change go out with this build?" },
{ "message_ts": "1699872455.005200",
"thread_root": "1699872301.004500",
"author": {"id": "M_203", "kind": "person", "role": "database_engineer"},
"text": "No, still in review. Rolling back now, details in <#C_billing_db>.",
"cross_refs": [{"type": "channel", "id": "C_billing_db"}, {"type": "pull_request", "id": "pr_8817"}] },
{ "message_ts": "1699872819.006400",
"thread_root": "1699872301.004500",
"author": {"id": "M_014", "kind": "person", "role": "backend_engineer"},
"text": "Thanks. Opened [TICKET_5521] for the lock.",
"edits": [{"t": "1699872840.000000", "previous": "Thanks. Opened a ticket for the lock."}],
"reactions": [{"name": "white_check_mark", "count": 3, "users": ["M_203"]}] }
],
"membership_events": [
{"t": "2023-11-13T10:44:10Z", "event": "channel_join", "member": "M_377"}
],
"export_basis": { "route": "all_conversations_export",
"direct_messages": "excluded",
"range": ["2021-03-02", "2024-06-30"] }
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Teach agents where a question goes
Channel purposes, redirects and mentions show which room a question belongs in and who answers it.
Model incident and on-call response
Alert posts followed by threaded human replies give the event, the diagnosis and the fix in order, with timing.
Summarize channels and threads
Long threads that end in a marked resolution or a follow-up ticket supply source and reference for catch-up summaries.
Build workplace simulations
A channel history cut at a chosen date is an environment state, and what people posted next is the reference behavior.
Evaluate retrieval over chat
Questions asked twice, where the later answer links back to the earlier thread, make search test items with a known target.
Use-case guides: Enterprise and computer-use agents, Coding agents, Private evaluation sets
What makes this data valuable
Threads kept as threads
Replies carry their parent reference, so a thread can be rebuilt instead of read as interleaved channel traffic.
Membership over time
Join and leave events show who could see a message when it was posted.
Bot payloads intact
Integration posts keep their structured fields and source app, not a blank or one-line text.
Directory join
A member table with roles and teams turns a pseudonymous ID into an on-call engineer.
Resolution markers
Teams that close questions with a reaction or a pin supply outcome labels.
Known retention
Stated retention settings explain gaps in the history and show whether edits and deletions survive.
Document stack
Slack dataset
Why channel structure is the dataset
A chat workspace is a set of rooms, and where a message was posted says as much as its text. A channel has a purpose line, a naming convention such as a help, project or incident prefix, and a membership that changes week by week. A question often starts in the wrong room. Someone asks in a general channel and is pointed to a team's help channel, a member there mentions the one person who knows, and the answer arrives four replies down a thread with a check-mark reaction to close it. That path from the asker to the person who can answer is what an internal assistant has to learn, and it exists only in the structure.
Exports keep that structure in ways that are easy to lose. In a Slack export each channel is a folder of JSON files, one per day, and thread replies are not separated from channel messages. They sit in the day's flow, tied to their parent only by a thread timestamp that matches the parent's own. Sort by time without it and three overlapping conversations read as one. Joins, leaves and renames are written into the same stream as system messages, so membership at any moment can be rebuilt. Mentions and channel links are stored as ID tokens inside the text, so de-identification has to rewrite them with the same pseudonyms used in the member table, or every pointer between people and rooms goes dead. Microsoft Teams marks a channel reply with the ID of the message that started its thread, and Mattermost's bulk export writes posts as lines of JSON, so the structure can be normalized across tools.
An email thread records who was addressed. It has no room that outlives the conversation, no bystanders who could have answered, and no trace of a question being moved. When you scope a request, ask for whole channels with their system messages, and for groups of channels that refer to each other, not a sample of messages.
Why bot posts belong in the delivery
In an engineering or operations workspace, many posts are written by software: a CI job reporting a failed build, a deploy tool announcing a release, a ticket integration echoing a status change, a paging tool naming who was called. Cleaning pipelines built for conversation data tend to drop these as noise. Chat is the one place where a system event and the human reaction to it share a timeline. The alert posts, someone reacts with eyes, a thread opens under it, a rollback is announced and the thread closes. The paging system holds the alert and the ticket holds the summary, but the minutes in between were typed here.
Keeping them takes care. An integration post often carries its content in structured attachments or blocks while its plain text field is short or empty, so a text-only extraction turns a failed deploy into a blank line and leaves the replies under it answering nothing. Bot volume can swamp a channel, so the useful step is labeling, not deletion. Bot posts are also where secrets and internal hostnames can collect, in webhook addresses, stack traces and pasted configuration, so secret scanning has to cover payloads as well as message text.
So ask for bot posts to be kept with their structured content and tagged by poster type and source app, then filter in your own pipeline. In a Slack export many of them carry a bot message subtype, but not every app post is marked the same way, so ask how poster type was assigned. An alert with no reaction and no thread under it is data too. It shows which alerts the team had learned to ignore.
What to check before licensing
- Ask which export route the workspace owner used and what it covers. In Slack, public channels can be exported on any plan, while private channels and direct messages need a wider export the owner applies to Slack for, on conditions that differ by plan. Have counsel confirm the basis the owner relied on.
- Ask for the employee notice, the acceptable-use policy and any works-council or union approval that covers licensing chat content, and have counsel confirm they fit each country the workforce sat in.
- Check that private channels and direct messages are either excluded or expressly covered by the license, and that the manifest states this per conversation type.
- Test de-identification on mention tokens, names typed inside message text, file titles, link previews and bot payloads, not only on the author field.
- Ask how pasted secrets were found and removed: API keys, tokens, passwords, webhook addresses and connection strings, in message text, code blocks and integration posts.
- Check channels shared with other organizations. Outside members are not the workspace owner's employees, yet their messages and display names appear in the owner's export, and how long those messages were kept follows the other organization's settings.
- On the sample, count replies whose parent message is missing and bot posts with empty text and no payload. Both show how much structure the export route lost.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Can private channels and direct messages be included?
Only where the workspace owner can lawfully export them and the license covers them. Slack lets workspace owners and admins export public channels on every plan. Private channels and direct messages take a wider export: depending on the plan, the owner applies to Slack and has to show valid legal process, member consent or a right or requirement under applicable law, or uses a self-serve tool after Slack approves access. A practical scope is public channels plus the private channels the owner can produce and agrees to release, with direct messages left out.
How is a team chat archive different from an approved email and chat export?
It keeps whole channels and their structure, where the email and chat export is a selection of threads from named teams, mailboxes or channels. A chat archive keeps every in-scope channel with its purpose, membership changes, threads, reactions and bot posts, so you can follow a question from room to room and read system events beside the replies to them. Both need the data owner's approval, and both leave out what the owner cannot release.
Are bot and integration messages removed?
They should not be, and your request should say so. Deploy notices, build failures, ticket updates and pages are the events people in the channel were reacting to, and removing them leaves replies with nothing to refer to. Ask for each post to be tagged by poster type and source app, with its structured content kept, so you can filter or downweight these posts in your own pipeline.
How far back does a chat archive go?
As far back as the workspace kept messages, which you should ask about instead of assuming. Retention settings can delete messages after a set period, and in a Slack export edits and deletions appear only where those settings kept them. Ask for the retention history by conversation type and whether the workspace's plan limited access to older messages at any point.
What happens to files and images shared in channels?
They arrive as references unless a separate file pull is agreed. A standard Slack export holds links to files, not the files, and a link to a file that was later deleted from the workspace leads nowhere. In Microsoft Teams, files shared in channels are stored in SharePoint, apart from the messages. Say whether you need file bodies, extracted text or only metadata.
How are names and mentions de-identified?
By giving each member one pseudonymous ID and using it everywhere they appear: the author field, mention tokens inside message text, reaction lists, membership events and the member table, so pointers between people still resolve. Names typed as plain text or held in file titles and bot payloads need text-level detection as well. The method is recorded for each dataset. No method is perfect, so review the sample yourself.
Related datasets
- Approved workplace email and chat exports
Approved, de-identified exports of team email threads and chat channels
- Whole-company archives across connected systems
One company's records across its systems, linked by shared identities and a common timeline
- Internal Q&A forums with accepted answers
Private Q&A threads with every answer, vote scores, the accepted answer, edits and tags
- Business SMS and WhatsApp message threads
Two-way business message threads with status events, templates, media and the record each thread was about
- On-call paging and alert histories
Alerts and pages with payload, routing, escalation, acknowledgement and resolution, plus rule versions
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 25 November 2026.