Dataset
Confluence space and page history datasets for AI training
A Confluence dataset is an export of a company's Confluence site: its spaces, pages and blog posts with the parent and child page tree, each published page version with author and date, inline and footer comments, labels and attachments. SourceX sources it to a buyer's spec from established businesses that run Confluence Cloud or Data Center. Macros are stored as tags, so the spec should say whether their content is resolved or marked as a placeholder. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Pages and blog posts from a Confluence site with their space, page tree, published versions, comments, labels and attachments
- Typical systems
- Confluence Cloud or Data Center; team and project spaces in scope, with personal spaces, whiteboards and databases only on request
- Typical history
- Specified by the buyer; page versions normally reach back to each page's creation unless retention rules or a migration removed them
- Modality
- Page bodies in storage format and as rendered text; comments; attachments such as images, diagrams and office files
- Delivery formats
- Agreed per order; commonly JSONL per page with versions, bodies as storage format plus Markdown, and attachments by reference
- Preparation
- People replaced with stable pseudonyms, including mentions inside page bodies; customer names, credentials and internal addresses removed
- Licensing
- Rights reviewed per space, including pasted third-party content and app macros; permitted use set in the license
- Availability
- Sourced to your spec by space type, kind of documentation and depth of version history; 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 |
|---|---|---|
| content_id | string | Re-keyed ID of the Page or Blog post, the same across all of its Page versions. |
| content_type | object | Whether the content is a Page or a Blog post, and its status: current, archived or draft. |
| space | object | The Space the content sits in, with re-keyed space key, name and type, such as global or personal. |
| ancestors | array | Page ancestors in order from the top of the Space's tree down to the parent, as the tree stood at export. |
| version | object | The current Page version: title, number, publish time, author, version comment and the minor edit flag. |
| version_history | array | Earlier Page versions, each with number, time, author, title and full body. |
| body_storage | string | The Page body in Confluence storage format, with macro and link elements left as stored. |
| body_view | string | The same body rendered to Markdown or HTML, with each macro resolved or marked as a placeholder. |
| macros | array | Each macro in the body with name, parameters, and whether its output was resolved. |
| page_links | array | Links in the body, which storage format writes as a target title and an optional space key, resolved to content IDs in the delivery. |
| labels | array | Labels on the content as they stood at export, including any a Template added. |
| comments | array | Footer comments with their replies, and Inline comments with the marked text, the marker reference and a resolution status such as open or resolved. |
| attachments | array | Attachments on the Page with file name, size and attachment version, and the file by reference. |
| restrictions | object | Content restrictions on viewing and editing at export, reduced to flags. |
Field names from the table above; values are masked placeholders.
Example record
{
"content_id": "pg_48213",
"content_type": {
"type": "page",
"status": "current"
},
"space": {
"key": "PLAT",
"name": "Platform engineering",
"type": "global"
},
"ancestors": [
"pg_40001",
"pg_40377",
"pg_41902"
],
"version": {
"title": "Decision: render report exports on a worker queue",
"number": 6,
"when": "2024-04-09T14:22:05Z",
"by": "user_019",
"message": "Added rollout plan after review",
"minor_edit": false
},
"version_history": [
{
"number": 1,
"when": "2024-03-21T10:03:44Z",
"by": "user_019",
"title": "Proposal: async report exports",
"body": "pg_48213_v1"
}
],
"body_storage": "<h2>Context</h2><p>Exports time out for large ledgers. See <ac:link><ri:page ri:content-title=\"Export latency review\" /></ac:link>.</p><ac:structured-macro ac:name=\"jira\"><ac:parameter ac:name=\"jqlQuery\">project = RPT AND labels = export-timeout</ac:parameter></ac:structured-macro><ac:structured-macro ac:name=\"info\"><ac:rich-text-body><p>Decided: queue the render and poll for status.</p></ac:rich-text-body></ac:structured-macro>",
"body_view": "## Context\nExports time out for large ledgers. See [Export latency review](pg_47760).\n\n[macro jira: 7 issues listed at export]",
"macros": [
{
"name": "jira",
"has_body": false,
"parameters": {
"jqlQuery": "project = RPT AND labels = export-timeout"
},
"resolved": true
}
],
"page_links": [
{
"title": "Export latency review",
"space_key": "PLAT",
"content_id": "pg_47760"
}
],
"labels": [
"decision",
"reporting"
],
"comments": [
{
"kind": "inline",
"marked_text": "poll for status",
"marker_ref": "c1f0a2",
"status": "resolved",
"author": "user_033",
"body": "Polling or a callback?"
}
],
"attachments": [
{
"filename": "queue-flow.drawio",
"size_bytes": 18244,
"version": 3,
"file": "att_7731"
}
],
"restrictions": {
"view_restricted": false,
"edit_restricted": true
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Retrieve with the page tree as context
Ancestors tell a retriever that a page is a runbook under a service, not a stray note.
Learn how documentation gets revised
Consecutive Page versions with version comments are before and after pairs for editing.
Model review feedback
An Inline comment on a marked passage, followed by the version that changed it, is a review note with its outcome.
Detect stale and conflicting pages
Version dates, archived status and links to replacement pages show whether a page still holds.
Evaluate answers over a real wiki
Questions answered only behind an include or a Jira issues macro test whether a system reads what the reader saw.
Use-case guides: Document AI, enterprise search and RAG, Enterprise and computer-use agents, Coding agents, Private evaluation sets
What makes this data valuable
Version bodies, not only numbers
Earlier versions arrive with their full body, title and author.
Macros accounted for
Every macro is listed and either resolved or marked.
Links resolved to IDs
Title links are mapped to delivered pages before titles are altered.
Tree intact
Each page's ancestors chain to the top of its Space, and orphaned pages are listed.
Inline comments keep their anchor
The marked text and marker reference travel with each Inline comment.
Diagram sources attached
Diagrams come as attachments, not as empty macro tags.
Record timeline
Confluence dataset
A page tree per space and a full copy of the page at every publish
Confluence files most pages under a parent inside a space, so a page has a chain of ancestors up to the top of the space's tree, usually its home page. The tree records how a team files what it knows. On Cloud a parent can also be a folder, a whiteboard or a database. Blog posts sit outside the tree and are ordered by date. In storage format a page link names its target by title, with a space key when the target sits in another space, and not by ID. A renamed target, or a title altered in preparation, breaks the link unless it was first resolved to an ID.
Each time a page is published Confluence stores a new version: a full copy of the body with a version number, the author, the time, an optional version comment and the title as it then was. A version is a publish, not a keystroke. Where several people edit one shared draft, the version names one author, the person who published it. On Cloud the co-editors are a separate collaborators list that has to be asked for, and drafts that were never published are not versions.
Much of the rest is current state. Labels, restrictions and a page's place in the tree are delivered as they stood at export. Comments are separate objects, and an inline comment is tied to a marker element inside the page body and carries a resolution status, so it reads correctly only beside a version that still contains its marker. Cloud reports four statuses: open, reopened, resolved and dangling. Administrators can also set retention rules that remove old versions.
Storage format keeps the macro tag, not what the reader saw
Page bodies are stored in Confluence storage format, an XHTML-based markup with Confluence's own elements for macros, links, images, mentions and task lists. A macro with a body, such as an info panel, an expand section or a code block, carries its content in the page. A macro without one carries only parameters. The Jira issues macro stores a query or an issue key. Include page and excerpt include name another page. The reader saw a table of issues or a transcluded procedure, and the stored body holds a tag.
A useful delivery therefore pairs the stored body with a rendered one. Confluence can return a rendered view, but it renders as the exporting account sees the site on the day of export. An include inside an old version shows the included page as it is now, and a Jira issues macro resolves only if the link to Jira still works and the account may see those issues. Diagram apps such as draw.io and Gliffy typically keep the diagram as an attachment that the macro points to, so attachments must travel with pages.
The export route sets the ceiling. HTML and PDF space exports render the current version of each page and hold only pages the exporting account may view, so restricted pages drop out without notice. The XML space backup is the opposite: Atlassian's Data Center documentation says it keeps restricted pages and unpublished changes, and a site backup takes in every space, HR, legal and personal ones included. The REST API returns a page's current version unless earlier versions are asked for, so check that earlier bodies were fetched. To test a sample, count macros by name, check each one that has no body for resolved content, and resolve every link to a delivered page.
What to check before licensing
- Ask which route produced the export (REST API, XML space backup, HTML, PDF or a Data Center database copy) and confirm earlier Page version bodies were fetched.
- Count macros by name in the sample's storage format bodies, and check whether Jira issues, include page and excerpt include macros were resolved or marked.
- Compare the Spaces on the site with those delivered, and confirm restricted Spaces such as HR and legal, personal Spaces and restricted Pages were excluded by decision, since an XML backup keeps restricted Pages that an HTML export drops.
- Search page bodies, code blocks, Attachments and comments in the sample for credentials, customer names and incident details pasted into runbooks and postmortems.
- Check that a person has one pseudonym across version authors, comment authors and mentions inside page bodies.
- Have the buyer and the data owner each check Atlassian's terms on exported data and API use against the intended use, and the terms of any Marketplace app whose macro content is included.
- Ask whether the site was migrated from Server or another wiki, whether retention rules removed old versions, and how imported authors and dates are flagged.
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
Does a Confluence export include page version history?
Only some export routes do. HTML and PDF space exports contain the current version of each page and nothing earlier. The REST API returns earlier versions when they are requested by number. An XML space backup or a Data Center database copy may also carry them, so ask the supplier to show earlier bodies in the sample.
What happens to macros such as Jira issue lists in an export?
They arrive as tags unless someone resolves them. Storage format records a Jira issues macro as a query or issue key, and an include as the name of another page. What the reader saw is produced only on the live site. A delivery should carry the stored body, a rendered body, and a list of macros showing which were resolved.
Can Confluence pages be joined to Jira issues?
Yes, where both come from the same company and the issue keys survive preparation. Pages point at Jira through the parameters of the Jira issues macro, through pasted issue links and through issue keys typed in text. Those references must be re-keyed with the same mapping as the Jira delivery, or the join is lost.
Are restricted pages and personal spaces included?
Only if the license covers them, and the export route decides what was swept up. HTML and PDF space exports hold only pages the exporting account may view, while an XML space backup keeps restricted pages and a site backup takes in every space. Ask for the list of spaces excluded and the reason. Personal spaces often hold drafts and private notes and need a closer review.
Does data from Confluence Cloud differ from Data Center?
Yes. Cloud identifies people by account ID and Data Center by user key, and both appear inside page bodies as mentions. Pages on Cloud can also be read as Atlassian Document Format, a JSON tree, and Cloud has folders, whiteboards and databases as separate content types. Data Center allows a database copy. Ask which deployment the site runs.
Is SourceX affiliated with Atlassian?
Confluence is named to identify the system the records come from. That does not imply a partnership with or endorsement by Atlassian. The records belong to the business that runs Confluence, 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.
Related datasets
- SOPs, playbooks and internal knowledge bases
Written procedures with page history, ownership and links to execution records
- Engineering design docs, RFCs and decision records
Design docs, RFCs and decision records with review threads, status history and links to implementing changes
- Technical documentation and specifications
Product, API and system documentation in source form, versioned by release and paired with schemas and changelogs
- Jira issue histories
Issues from a Jira site with their changelog, comments, links and sprints, plus the site's field and workflow definitions
- Notion workspace pages and databases
Pages, block trees and database rows from one Notion workspace, with property schemas, relations, comments and the page hierarchy
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 26 November 2026. Own data like this? See how companies license it to AI developers.