Dataset
NetDocuments document repository datasets for AI training
A NetDocuments dataset is the documents and filed emails of selected cabinets or matter workspaces in a firm's NetDocuments repository, each with its profile attributes such as client, matter, document type and author, its official and earlier versions and its document history. SourceX sources it to a buyer's spec from established businesses that run NetDocuments, such as law firms and legal departments. Each dataset is de-identified, with client and matter names replaced in attributes, lookup tables and document text, and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Documents and filed emails from chosen cabinets or matters, with profile attributes, lookup tables, versions and document history
- Typical systems
- NetDocuments cabinets and workspaces, with email filed through ndMail and documents saved through ndOffice; CollabSpaces and ShareSpaces only if requested
- Typical history
- Varies by when the firm adopted NetDocuments and what it migrated; specify the matter years you need
- Modality
- Native Word, PDF, Excel and PowerPoint files and email messages, each with a structured profile and version record
- Delivery formats
- Native files named by document ID and version, with JSONL or CSV for profiles, lookup tables, containers and history
- Preparation
- Client, matter and personal names replaced in attributes, lookup tables, file names, text and email headers; privileged and restricted items withheld as agreed
- Licensing
- Scoped per cabinet, client or matter; permitted use agreed per license; NetDocuments' terms on exported data and API use checked by owner and buyer
- Availability
- Sourced to your spec; client consent decides which matters can be released, and 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 |
|---|---|---|
| doc_ref | string | Pseudonymous key for the NetDocuments document ID, which stays with a Document through every Version and profile edit. |
| workspace_ref | object | The Cabinet and Workspace the document shows in, given as workspace attribute values, usually a client key and a matter key. |
| profile_attributes | object | The document's Profile Attributes as stored: the key held for each, and whether it was set at save or inherited from a Folder. |
| attribute_lookups | array | Rows of the firm's lookup tables: key, de-identified description and parent key for a child attribute such as matter, plus any columns the firm keeps, such as a matter type or closed date. |
| document_name | string | The Document's name from its profile, de-identified; it is not unique and is not a path. |
| official_version | integer | Number of the Version marked official, which opens by default and is not always the newest. |
| version_list | array | One row per Version: number, description, creator key, created time, extension and delivered file key. |
| containers | array | Folders the document is filed in, with each Folder's own profile values; a document can be in several or in none. |
| workspace_views | array | The Workspace's Filters and Saved Searches, written as attribute criteria so each view can be rebuilt. |
| email_properties | object | For filed email: sender and recipient keys, sent time, subject and attachment names, from the email attributes and the message file. |
| document_history | array | Document History events such as created, opened, edited, checked out, new version and profile edit, with time and user key. |
| access | object | The access list as groups with view, edit, share and administer rights, where it was set (Cabinet default, Folder, profile value or the document) and any CollabSpace or ShareSpace sharing. |
Field names from the table above; values are masked placeholders.
Example record
{
"doc_ref": "nd_doc_7f3a21c9",
"workspace_ref": {"cabinet": "cab_client_matters", "client_key": "C-0418", "matter_key": "M-0007"},
"profile_attributes": {
"client": {"value": "C-0418", "source": "inherited_from_folder"},
"matter": {"value": "M-0007", "source": "inherited_from_folder"},
"doc_type": {"value": "AGR", "source": "set_at_save"}
},
"attribute_lookups": [
{"attribute": "client", "key": "C-0418", "description": "[CLIENT_0418]", "parent_key": null, "closed": null},
{"attribute": "matter", "key": "M-0007", "description": "[CLIENT_0418] warehouse lease renewal", "parent_key": "C-0418", "closed": "2024-02-29"}
],
"document_name": "Lease amendment no. 2 [CLIENT_0418]",
"official_version": 3,
"version_list": [
{"number": 1, "description": "First draft", "created": "2023-10-02T14:11:00Z", "creator": "usr_assoc_12", "extension": "docx", "file_key": "nd_doc_7f3a21c9_v1.docx"},
{"number": 2, "description": "Sent to landlord counsel", "created": "2023-10-06T16:22:00Z", "creator": "usr_partner_03", "extension": "docx", "file_key": "nd_doc_7f3a21c9_v2.docx"},
{"number": 3, "description": "Executed", "created": "2023-10-19T11:05:00Z", "creator": "usr_para_07", "extension": "pdf", "file_key": "nd_doc_7f3a21c9_v3.pdf"}
],
"containers": [
{"folder_key": "fld_agreements", "parent": "workspace_root", "folder_profile": {"doc_type": "AGR"}}
],
"workspace_views": [
{"kind": "filter", "name": "Agreements", "criteria": {"doc_type": "AGR"}}
],
"email_properties": null,
"document_history": [
{"t": "2023-10-02T14:11:00Z", "user": "usr_assoc_12", "action": "created"},
{"t": "2023-10-06T16:22:00Z", "user": "usr_partner_03", "action": "new_version", "version": 2},
{"t": "2023-10-19T11:05:00Z", "user": "usr_para_07", "action": "new_version", "version": 3}
],
"access": {"basis": "profile", "collabspace": false, "entries": [{"group": "grp_matter_team_0418_0007", "rights": "VESA"}, {"group": "grp_real_estate", "rights": "V"}]}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Build matter-scoped retrieval tests
A workspace's Filters and Saved Searches are stored queries with known result sets, so each is a retrieval question the firm already answered.
Train automatic profiling
Document type, author, client and matter were set by the person saving the file, giving labels for predicting a profile from content.
Predict where an email belongs
Each message filed through ndMail pairs an email with the client and matter a lawyer chose for it.
Model how a legal draft develops
Numbered Versions with descriptions run from first draft to official version, so changes can be computed between named steps.
Test permission-aware search
Access lists by group and matter team let a test check that a system returns only what a role could open.
Use-case guides: Legal AI, Document AI, enterprise search and RAG, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Profile fill beyond client and matter
The share of documents with document type and author set, not only client and matter.
Lookup tables delivered
Every attribute key on a document resolves to a lookup row, with parent keys intact.
Version depth
Documents with more than one Version show the firm versions drafts and does not only edit in place.
Filed email with attachments
Emails arrive as whole message files with attachments inside.
Migration marks
Imported documents are flagged, with original dates kept apart from import dates.
History coverage
Document History covers the matter years in scope.
Document stack
NetDocuments dataset
A matter is a pair of attribute values, not a folder
NetDocuments stores each document in a cabinet and describes it with a profile. A matter workspace is assembled from that profile: every document whose client and matter attributes hold the workspace's two values shows in it, and nothing was moved to get there. Matter is a child attribute of client, so a matter number can repeat under different clients and only the pair identifies the matter. What sits on the document is a key. The name behind it lives in the firm's lookup table, often loaded from its billing system.
Inside a workspace, three things that look alike behave differently. A folder is a real container, and it can carry attribute values that documents filed there inherit, so a Pleadings folder can stamp a document type. A filter is a stored attribute condition that lists every document in the workspace with that value, wherever it is filed. A saved search is a stored query that can reach past the workspace. One document can show under a Correspondence filter, inside a folder, in both, or in neither if it was profiled to the matter and never filed. For training, the label is the attribute and not the location, and it was set by the person saving the file through ndOffice or filing the email through ndMail.
History is uneven. Each version has a number, a description and its own file type, so a Word draft and the signed PDF can be one document, and one version is marked official. The official version opens by default and need not be the newest, so it records which draft the firm treats as current. A save over the same version replaces its content, and Document History notes the edit without the earlier text, so version depth follows each lawyer's habits. A profile edit replaces the values, so a document re-profiled to another matter leaves the first workspace. Ask whether the history shows where it had been.
A folder tree export leaves the profile behind
A copy that follows a workspace's folder tree is the easiest thing for a firm to hand over, and it loses the most. Filters and saved searches are queries, so they put nothing on disk. Documents profiled to the matter and filed in no folder are missed by a walk of the tree, and a document filed in two folders is copied twice. Document names are not unique, so two files called Letter to client can collide unless the document ID and version number are written into the file name. Say whether you want every version or only the official one.
The profile needs its dictionary as well, so ask for the attribute values and the firm's lookup tables with every file. Whether the pull ran through the REST API or an administrator's export, check that attribute values arrive as the keys stored on the document and that each cabinet's attribute definitions come with them. Facts about the matter itself, such as practice area, matter type or whether it is closed, often sit on the matter's lookup entry or on the workspace and not on each document, so ask where the firm holds them. The lookup tables also name every client of the firm, so they are the first thing to de-identify and the reference every other replacement must match.
Test a sample on a few whole matters. Compare the firm's count from a search on the client and matter values with the files delivered. Count documents with no folder, and check that each version file is present with the official one flagged. Open filed emails and confirm their attachments are inside the message file. Resolve every attribute key against the lookup tables, and check that restricted documents were withheld or flagged as the firm requires.
What to check before licensing
- Have the data owner and your counsel read NetDocuments' terms on exported data and API use before a permitted use is agreed.
- Confirm with counsel that attorney-client privilege and work product are not waived by the transfer, and that each client's consent or engagement terms allow release.
- Check that client names are de-identified with one replacement per client across attribute values, lookup descriptions, document names, document bodies and email headers.
- Ask how documents under a restricted access list or ethical wall, and content shared through CollabSpaces, ShareSpaces or secured links, were handled, and confirm that matches what the firm requires.
- Ask for the attribute definitions and lookup tables of every cabinet in scope, and resolve each key on sample documents against them.
- State whether you want all versions or only the official one. On the sample, check each version file is present.
- Compare the count from an attribute search on one matter with the files delivered, and ask about documents in no folder and content migrated from an earlier system.
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 NetDocuments dataset keep the matter structure?
Yes, if the profile attributes come with the files. A matter in NetDocuments is a client value and a matter value on each document, and the workspace is a view of them. A delivery with each document's attribute values, the firm's lookup tables, folder membership and the workspace's filters can rebuild what lawyers saw. A bare folder tree cannot.
Do I get every version or only the official one?
Whichever you specify, so say it in the request. NetDocuments keeps numbered versions of a document and marks one as official, which opens by default. Earlier versions are separate files, sometimes in another format, such as a Word draft before a signed PDF. Ask for version counts on a sample.
Are filed emails included?
They can be, where the firm and its clients clear them. Email filed to a matter through ndMail is stored as a message file with its attachments and profiled with email attributes such as sender, recipients and sent time. Only email someone filed is in the repository, not whole mailboxes.
How is privileged and client-confidential content handled?
The firm decides what is withheld, and the buyer should ask for that rule in writing. Much of a law firm's repository is privileged or work product. The buyer should check with counsel that the transfer does not waive privilege and that each client's consent or engagement terms allow it. Ask that client names be replaced the same way in attributes, lookup tables and document bodies, and that withheld documents be counted per matter so gaps are visible.
What does the document history show?
It shows what was done to a document, by whom and when, not what the text was. Events include creation, opening, editing, check-out, new versions and profile edits, with user names replaced by stable keys, which gives the order in which a team worked. Ask how far back the firm's history goes.
Is SourceX affiliated with NetDocuments?
NetDocuments is named to identify the system the records come from. That does not imply a partnership with or endorsement by NetDocuments. The records belong to the business that runs NetDocuments, 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
- Enterprise document archives
A company's working files with folders, versions and sharing metadata
- Legal matter files
Whole files for individual legal matters, every document tied to a matter number, a date and a stage
- iManage document and email workspaces
Workspaces from iManage Work Libraries with their Tabs and Folders, Documents in every Version, filed Emails, Document Profiles and Document History
- Contract negotiation and redline histories
Contract version chains with tracked changes, comments, approvals and executed versions
- Document revision and approval histories
Drafting histories of business documents with tracked changes, their outcomes, comments and the approval route
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.