Skip to content

Dataset

Slack workspace message datasets for AI training

A Slack dataset is a business's Slack workspace history: channel messages keyed by their ts timestamps, threaded replies joined by thread_ts, reactions, pins, file references, canvases and the posts that apps and bots made into channels, with the channel and user tables that resolve every ID. SourceX sources it to a buyer's spec from established businesses that run Slack. Private channels and direct messages are in scope only where the export type and the company's policies allow it. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
One Slack workspace's messages, threads, reactions, file references and canvases, with its channel and user tables
Typical systems
Slack on Free, Pro, Business+ or Enterprise plans, including Slack Connect channels, canvases, huddle notes and installed apps
Typical history
Specified by the buyer; limited by the workspace's plan, its retention settings and the export's date range
Modality
Message JSON with mrkdwn text and rich text blocks; canvases as HTML; shared files as separate downloads
Delivery formats
Agreed per order; commonly JSONL keyed by channel and ts with threads rebuilt, plus the original export files
Preparation
Members pseudonymized in user fields, mention tokens and message text; pasted secrets and excluded channels removed
Licensing
Rights-reviewed for the export type and the employer's policies; buyer and data owner check Slack's terms; permitted use set in the license
Availability
Sourced to your spec from workspaces whose owner agrees; supply is not guaranteed
TextIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
channelobjectThe Channel's ID, name and privacy flag from channels.json, or from groups.json, dms.json or mpims.json.
tsstringThe Message's ts, a timestamp string unique within its channel that is both the message ID and the send time.
thread_tsstringThe ts of the Thread's parent Message: equal to ts on a parent, different on a reply, absent when unthreaded.
reply_countintegerThe parent Message's reply_count, delivered with reply_users and latest_reply to check a rebuilt Thread.
parent_user_idstringOn a reply, the pseudonymized ID of the User who wrote the Thread's parent Message.
userstringPseudonymized ID from the Message's user field, resolved against users.json for bot, guest and deactivated flags.
subtypeenumSlack's Message subtype where present, such as channel_join, bot_message, file_share, thread_broadcast or pinned_item.
textstringThe Message text in Slack's mrkdwn form, with User, Channel and User group mentions kept as rewritten ID tokens.
blocksarrayThe Message's rich_text blocks and attachments, which hold formatting, code, link unfurls and most of an App post's content.
filesarrayFile objects on the Message with name and filetype, each marked as delivered, link only or withheld.
reactionsarrayEach Reaction's emoji name, count and listed Users, as a current set with no time of its own.
editedobjectThe Message's edited marker with editor and edit time, plus previous text where the export carried edit logs.
export_basisobjectThe Slack export type behind the source file, its date range and whether edit and deletion logs were included.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "channel": { "id": "C04QX7P2M", "name": "billing-escalations", "is_private": false },
  "ts": "1741703121.482919",
  "thread_ts": "1741703121.482919",
  "user": "U_p0412",
  "text": "<@U_p0107> the March invoice run for [CUSTOMER_17] double counted seats again. Same cause as PLAT-2291?",
  "files": [{ "id": "F_a81c", "name": "invoice_run_march.csv", "filetype": "csv", "delivery": "link_only" }],
  "reactions": [{ "name": "eyes", "count": 2, "users": ["U_p0107", "U_p0333"] },
                { "name": "white_check_mark", "count": 1, "users": ["U_p0412"] }],
  "edited": { "user": "U_p0412", "ts": "1741703190.000000" },
  "reply_count": 2, "reply_users": ["U_p0107"], "latest_reply": "1741861907.118204",
  "source_file": "billing-escalations/2025-03-11.json",
  "replies": [
    { "ts": "1741703388.220149", "thread_ts": "1741703121.482919", "parent_user_id": "U_p0412", "user": "U_p0107",
      "text": "Looks like it. Checking the proration job now.",
      "source_file": "billing-escalations/2025-03-11.json" },
    { "ts": "1741861907.118204", "thread_ts": "1741703121.482919", "parent_user_id": "U_p0412", "user": "U_p0107",
      "subtype": "thread_broadcast", "text": "Fix is deployed and finance raised the credit note.",
      "source_file": "billing-escalations/2025-03-13.json" }
  ],
  "export_basis": { "type": "public_channels", "date_range": ["2021-06-01", "2025-06-30"], "edit_logs": false }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Multi-party dialogue from rebuilt threads

A thread joined on thread_ts is a bounded conversation with a known opener, ordered replies and a list of who took part.

Internal question answering

Help channels hold a question as a parent message, the answer in its thread and often a check-mark reaction once it was settled.

Alert and incident response

A bot_message from a monitoring or deploy app with a human thread under it shows how a team read a system event.

Retrieval scoped by channel

Channel names, purposes and mention tokens test whether retrieval finds the right room and person, not only the right text.

Held-out thread endings

Cut a thread before its last replies and score a model's answer against what colleagues wrote.

Use-case guides: Enterprise and computer-use agents, Document AI, enterprise search and RAG, Private evaluation sets

What makes this data valuable

Threads close

Every reply's thread_ts resolves to a parent, and reply counts match.

Reference files present

Pseudonymized channel and user tables are delivered, so every ID resolves.

Blocks kept

Rich text blocks and attachments survive, so app posts are not blank text fields.

System messages kept

Join, leave, topic and pin subtypes remain, so membership over time can be rebuilt.

Export type stated

The supplier names the export route, date range and retention setting.

Files accounted for

Each file entry is a delivered file or a marked gap, never a dead link.

System export

Slack dataset

This page covers slack workspace message archives.Illustrative

A Slack thread is a join on thread_ts, across day files

Slack has no thread object. Every message in a channel is identified by its ts, a string shaped like an epoch timestamp with fractional digits. Slack's developer docs call it a message ID, unique only within its channel, and it doubles as the send time. A reply is an ordinary message whose thread_ts equals the parent's ts. On the parent, thread_ts equals its own ts, and Slack adds reply_count, reply_users and latest_reply. A reply carries parent_user_id. A parent keeps its thread_ts even after every reply under it has been deleted.

The export does not keep those messages together. Each channel is a folder with one JSON file per date, and Slack's own guide says the file does not differentiate thread messages from channel messages. A reply sits in the file for the day it was written, so a question asked on Tuesday and settled on Thursday is in two files with unrelated traffic between its turns. The join has to run across the whole channel folder on channel plus thread_ts, checked against the parent's reply_count. A reply also sent to the channel has the thread_broadcast subtype, and a reader that treats it as a channel message loses its place in the thread. An export cut by date range leaves replies whose parent falls before the start date.

What Slack overwrites limits what else can be learned. An edit replaces the text and leaves the ts unchanged, with an edited marker for who and when. A reaction is a current set on the message with no time of its own, so a check mark shows that a thread was closed, not which reply closed it. Slack's developer docs annotate reply_users as a capped list, so count a thread's participants from the replies themselves. The channels and users files are snapshots taken at export, so a channel's earlier name survives only in the channel_name message posted when it was renamed. Many exported messages also embed a user_profile object with the author's names, which de-identification has to rewrite with the same pseudonym as the user field.

What each Slack export type returns, and how to test a sample

The export type decides the scope before anyone opens a file. On Free and Pro plans, owners and admins can export messages and file links from public channels as JSON. On Business+, an owner applies to Slack for the tool that exports all channels and conversations, private channels and direct messages included. On Enterprise plans, org owners request self-serve tools that export by conversation type, member or workspace, and can connect approved archiving apps through the Discovery API. The ZIP shows which route was used: dms.json, groups.json and mpims.json appear only in an export of all conversations.

Every route loses something. A JSON export holds links to files, not the files, so they have to be fetched separately while the workspace still exists, and on the Free plan Slack limits how far back those links reach. An edited message shows its latest text. Earlier wording and deleted messages appear, as previous values, only where the retention setting tracked edits and deletions and the export type carries those logs. Canvases are listed in canvases.json, and Slack exports each one's current version as HTML, with earlier versions only in an all-conversations export. Slack documents a reaction's count as accurate and its user list as possibly incomplete. A Slack Connect channel is shared with another organization, so ask whether that organization's messages are in the export and who cleared them. Ask how huddle notes and user group membership were collected, since neither is among the reference files Slack's export guide lists.

Test the sample in this order. List the files at the ZIP root to confirm the export type. In one busy channel, group by thread_ts, compare the replies found with each parent's reply_count and count replies with no parent. Find a thread that spans three day files and check it arrived whole. Open the bot_message posts and confirm that blocks or attachments hold content where the text is empty. Take one mention token and check that it maps to the same pseudonym as that member's user field.

What to check before licensing

  • Ask which Slack export type produced the archive: public channels only, all conversations, a single-user export or a Discovery API archiving app. Check the ZIP root for dms.json, groups.json and mpims.json.
  • Have the data owner show that its employee policies cover licensing workplace messages, with separate confirmation for any private channels or direct messages, and have counsel review it for each place the workforce was located.
  • Have counsel for the buyer and for the data owner each read Slack's current terms on exported data and on API and Discovery API use, and confirm they allow the intended use.
  • Group the sample by channel and thread_ts and compare the replies found with each parent's reply_count. Count replies whose parent is missing.
  • Ask which retention setting the workspace ran and whether it tracked edits and deletions. Count messages with an edited marker against messages that carry a previous value.
  • Ask whether files were downloaded or delivered as links, and whether canvases, huddle notes and user group membership were collected.
  • Identify Slack Connect channels and guest accounts, whose authors are outside the employer, and test de-identification on mention tokens, embedded user_profile objects, file names and bot payloads.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Does a Slack export include private channels and direct messages?

Only some export types do. The export open to Free and Pro workspaces covers public channels. A Business+ owner has to apply to Slack for the tool that exports all conversations, and Enterprise org owners request self-serve tools or use Discovery API apps. Whether an employer may license those messages is a separate question for its policies and counsel.

Are the files shared in Slack included with the messages?

Not in a JSON export, which holds links to files and not the files. The supplier has to download them separately while the workspace is still active, and some will be withheld on rights or privacy grounds. Ask for each file entry to be marked as delivered, link only or withheld.

Can we see edited and deleted Slack messages?

Only where the workspace kept them. An export shows the latest text of an edited message with a marker of who edited it and when. Earlier wording and deleted messages appear only if the retention setting tracked edits and deletions during the period and the export type carried those logs.

How are Slack threads delivered?

Rebuilt, if you ask for it. Natively a thread is scattered across a channel's day files as ordinary messages that share a thread_ts with their parent. A prepared delivery can nest replies under each parent and keep the original ts values, source file names and reply_count so you can audit the join.

How far back does Slack history go?

It depends on the plan and the retention setting. Slack's help center says paid plans keep data for the lifetime of the workspace by default, that owners can set shorter retention, and that Free workspaces lose older data on a rolling basis. State the period you need and ask for message counts by month.

Is SourceX affiliated with Salesforce?

Slack is named to identify the system the records come from. That does not imply a partnership with or endorsement by Salesforce. The records belong to the business that runs Slack, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell 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 26 November 2026. Own data like this? See how companies license it to AI developers.

See if your company qualifies