Skip to main content

Context Layer 19 min read

How to Govern Unstructured Data for AI

Quick answer

Unstructured data governance for AI is the practice of deciding, for each set of files, who owns it, how sensitive it is, who may retrieve it, how long it is kept, and which version is current, then enforcing those decisions on the chunks and embeddings an AI system builds from the files. Documents, PDFs and transcripts arrive with no owner, schema or column tags, so each decision is made on purpose and tested before an agent answers from them.

  • What the five decisions are and why files need them
  • Six steps, each with a test you can run
  • Why the index is a second copy that needs the same decisions
  • What Atlan records about files in S3, and what your pipeline applies

Is the data behind your agent ready?

Check Agent Readiness

To govern unstructured data for AI, decide five things per file set and enforce them on every copy the AI reads. The five are who owns it, how sensitive it is, who may retrieve it, how long it lives, and whether it is still correct. Atlan’s AI Context Platform catalogs S3 buckets and objects, with Object Lock retention properties, beside tables and glossary terms.


If you lead a data or AI team putting agents on top of contracts, wiki pages and call transcripts, a permission gap or a stale policy shows up as a wrong or leaked answer. Tables and documents can both lack an accountable owner. Documents add a harder problem: the permissions, labels, version state and retention rules in the source system are often lost when a retrieval system extracts, chunks and embeds the text. Each decision has to be carried to that derived copy and enforced at retrieval. The latest edition of Gartner’s Magic Quadrant for Data and Analytics Governance Platforms is out, and our explainer covers what it is and how to get a copy.

  • An owner for each file set, a person or a group with a named lead
  • One sensitivity label from a short list
  • An authorization check on each retrieved passage
  • A retention period that reaches the index
  • One current version and a date for the next review

Audit the Files Your Agent Reads


Runs a twelve-check audit of whether your data is ready for AI agents, grouped into meaning, trust, boundaries, and reproducibility, and returns a specific fetch list for every unknown. Read the skill.

Paste into a new chat

Use the skill at https://atlan.website/skills/ai-ready-data-audit.md to audit whether the documents behind our first AI agent are ready. Ask me for whatever it needs.

Run once in a terminal

curl -fsSL --create-dirs \
  -o ~/.agents/skills/ai-ready-data-audit/SKILL.md \
  https://atlan.website/skills/ai-ready-data-audit.md

For an agent

curl -fsSL https://atlan.website/skills/ai-ready-data-audit.md
Quick facts
What it is Five decisions per file set, carried to the AI’s index and enforced at retrieval
Unit governed A file or file set, plus the chunks and embeddings made from it
Where it breaks A decision made on the file and never made on the index
First step Pick one AI use case and the one storage location that feeds it
Standards NIST SP 800-53 Rev. 5 AC-16 and SI-12
Atlan example S3 buckets and objects cataloged as assets

What does it mean to govern unstructured data for AI?

Governing unstructured data for AI means deciding five matters for every set of files, keeping those decisions attached to every derived copy, and enforcing them when content is retrieved. A catalog can record the decisions, while ingestion pipelines and retrieval services apply them and tests show they work.

Unstructured data is any content without a fixed schema: PDFs, contracts, wiki pages, slide decks, chat exports and call transcripts. The five decisions map to what can go wrong when an agent reads a file: it uses one it should not (sensitivity, access), keeps one too long (retention), relies on a wrong one (correctness), or nobody can be found to fix it (ownership).

What changes with AI is the reader. A person opens a file. A retrieval system splits it into chunks, turns each chunk into an embedding (a list of numbers that lets the system find similar text), and stores both in an index. In a retrieval-grounded workflow, answers draw on that index, a derived copy of the file that needs governing too.

Standards give a starting vocabulary. In NIST SP 800-53 Rev. 5, control AC-16 asks that organization-defined security and privacy attributes are associated with information and that the associations are retained with it. Control SI-12 asks that information is retained according to applicable laws and policies.

The reasons these decisions fail in practice are covered in why unstructured data breaks AI agents, and the differences between data types in structured vs unstructured data for AI. A data governance taxonomy and an operating model define the labels and roles. A file with no owner, label or end date is not ready for an agent.


Why does unstructured data need governance of its own?

Tables are often owned, because a team built them on purpose, though plenty lack an accountable owner too. Files are looser still.

A contract has an author who may have left, and the last person to edit a wiki page is not its owner. When nobody owns a file set, nobody can say yes to a policy about it.

AI raises the stakes. A retrieval-based agent answers from whatever its permissions let it retrieve, so a permission gap can become an answer, delivered fluently and without a warning. The data governance debt that stayed invisible when people browsed folders shows up the first time an agent reads them all.

The NIST AI RMF Playbook frames accountability at the organization level. The framework’s GOVERN function, detailed in the Playbook, asks that legal and regulatory requirements involving AI are understood, managed and documented (GOVERN 1.1), and that roles and responsibilities are documented and clear (GOVERN 2.1).

A small estate can start light: a folder naming rule and a spreadsheet of owners is a real first version. The steps below scale that habit up, and why data governance implementations fail shows where programs stall when they skip it. Teams that already run a data security posture tool still need these decisions recorded somewhere an agent’s retrieval layer can read.


What do you need in place before you start?

You need one AI use case, the one storage location that feeds it, and a named person who can say yes to policy. Everything else is easier once those three exist.

  • One use case, written as a sentence: “the support agent answers from the refund policy library.”
  • The one location that feeds it, such as a bucket, a document site or a wiki space.
  • An inventory of what is in that location. How an unstructured data catalog works for PDFs and documents walks through building one.
  • A sensitivity vocabulary of three to five labels, for example public, internal, confidential and restricted.
  • A steward who maintains the file set and an approver who can accept a policy. Owners and stewards for AI-ready data describes how to split the two roles.

Start with the files that feed an agent already in use, because those are where a gap does damage first. If you are choosing a platform to hold these decisions, the data governance platform evaluation criteria turn the choice into tests, and a data and analytics governance platform explainer covers the category. The readiness test is what makes data AI-ready.


How do you govern unstructured data, step by step?

Six steps cover the core of the job: one for each of the five decisions, and one loop that keeps them current. Every step ends with a “done when” test you can run in an afternoon.

Step 1: Name an owner for every file set


Assign the owner at the bucket or folder level, and make it a person or a group with a named lead; a bare team alias has no one who can approve or retire a file. When one folder feeds more than one agent, the folder has one owner and each use case has its own approver. A file with no author takes the owner of its location. Write the owner where the catalog can show it next to the file.

Atlan’s S3 crawler records the S3 owner ID on each object, and Direct crawl mode adds the owner name. Those are technical identities, so a steward assigns the business owner at the bucket or folder instead. Policies in Atlan’s Policy Center carry owners too: you assign individual users or groups when you create one.

Done when 20 sampled files (a suggested size, adjust to your estate) each resolve to a named person in under a minute.

Step 2: Classify by sensitivity, once, from a short list


Pick three to five labels and define each in the glossary. Classify by location first, because “everything in the HR share is confidential” is a decision a steward can make in a minute. Scan content second, to catch the exceptions: a mixed folder, a moved file, a mis-filed contract. Cloud services such as storage inspection for sensitive data can feed that second pass.

Record the label as a tag so software can read it. In Atlan, tags are labels you attach to assets, and a purpose linked to a tag applies its policies to every asset carrying that tag. The data classification and tag management page covers the mechanics, rule management covers the business rules attached to labels, and handling PII in AI pipelines covers the most common sensitive class.

A file can mix sensitivities, such as a contract with a personal-data annex, so give each chunk its own label where the pipeline can, rather than one label for the whole file.

Done when no sampled file is unlabeled and a planted file containing a fake ID number gets labeled.

Step 3: Decide who may retrieve it, and check at query time


Access lives in two places: the source system and the index. The index should never widen what the source allows. A sensitivity label can inform an access decision but does not replace source permissions. Knowledge-base services document one building block, attaching metadata attributes to each document so you can filter on those attributes at query time. That filter is a query feature, not an authorization system, so build it in a trusted backend from the authenticated identity of the person or agent asking, never from the prompt or the client, and deny the request when identity cannot be resolved.

Copying permissions into the index at ingest is fast, but it goes stale the day source access changes. Checking the source at query time, or re-syncing on every permission change, keeps the two closer in step at some cost in speed, and neither is instant: a sync can lag, and a live check can fail or be cached. Pick one, write down how long a revoked permission may linger, and apply the rule to cached answers.

Identity is covered in role-based access control in an AI context platform, AI agent identity, AI agent access control and giving AI agents access to enterprise data. Rules that differ by user or agent connect to graduated trust models and to policy enforcement across operational, analytical and AI use.

Done when a user without access asks a question whose answer lives only in a restricted file, and the retrieval trace shows none of that file’s chunks. Repeat with a paraphrased question, which can hide a leak. Then revoke a user’s access and confirm both fresh retrieval and cached answers stop returning the file.

Step 4: Set how long each class lives, and make deletion reach the index


Give each class of document a retention period. A legal hold overrides it. When the source file is deleted or expires, its chunks and embeddings are withdrawn from retrieval, then physically deleted unless a hold says otherwise. Keep the retention schedule in one readable place, the kind of policy store described in what a policy bench is.

Three sources set the tone. GDPR Article 5(1)(e) limits how long personal data may be kept in identifiable form, and Article 17 puts an obligation on the controller to erase personal data without undue delay when a ground applies; it also lists exceptions, so legal reviews each class. NIST SI-12 covers retention more generally. Records tools document the same idea: retention labels can mark an item as a record.

Atlan’s S3 crawler records the Object Lock retain-until date, the lock mode and the legal hold status for each object, so the retention state of a file sits beside its owner. For the compliance side, see GDPR compliance for AI agents, HIPAA compliance for AI agents and the data retention policy framework. If your retention rules should run as versioned, testable rules, policy as code is the pattern to read next.

Derived copies sit in more places than the index: extracted-text stores, caches, conversation memory, logs, evaluation sets and backups. Give each store your pipeline writes to an owner and a deletion path.

Done when a deleted test file returns no chunk within the withdrawal window you set, such as one sync cycle, and a file under legal hold is withdrawn from retrieval but preserved.

Step 5: Keep it correct: version, supersede, flag staleness


Keep one canonical version of each document, a review date, and a marker in metadata when a newer version replaces an older one. A retrieval index will happily serve both versions of a policy unless something tells it not to. Knowledge-base services document filtering on last-modified time through a reserved field, but a timestamp is only a recency hint: fixing a typo in an old policy makes it the newest file. Supersession needs an explicit status field, such as current or superseded, that a person sets.

Atlan’s Policy Center models the same habit for policies: a validity date, and a review warning 30 days before expiry by default, adjustable per policy. At the end of its validity a policy is deprecated and its assets are delinked. Files can follow the same rhythm. How stale content degrades answers is covered in context freshness, LLM knowledge base staleness, knowledge base freshness scoring and RAG accuracy problems.

Done when a replaced policy PDF’s old version stops being served as the current policy, while legal hold and records rules decide whether an archived copy is kept.

Step 6: Trace each file to the agent and review on a schedule


Record which index each file feeds and which agents read that index. Review owners, labels and dates every quarter, and again on events: a reorganization, a change in law, an incident. People stay on the loop for what agents propose in these reviews, a pattern covered in human on the loop in data governance and in agentic data stewardship.

Lineage makes the trace cheap. Unstructured data lineage for AI explains what to record, a 2025 interview study of data quality in RAG systems found that quality problems change form as data moves through the pipeline, and data lineage for AI covers the wider picture.

Done when you can pick a wrong answer and name its source file and that file’s owner within an hour (a suggested bar; set your own).

The five duties at a glance


Duty Record on each file set Who decides Test you can run
Ownership A named person or group with a lead Content lead for the use case 20 sampled files each resolve to a person in under a minute
Sensitivity One label from the short list Steward proposes, approver confirms No sampled file is unlabeled; a planted fake-ID file is labeled
Access Who may retrieve, and where it is checked Security, with the owner A restricted-only question is not answered for a user without access
Retention Retention period and legal hold Records or legal lead A deleted test file is gone from the index within one sync cycle
Correctness Version, review date, supersession The owner A replaced PDF’s old version stops being retrievable

Why is the index a second copy that needs the same decisions?

The index holds chunks of text and their embeddings, and each chunk carries metadata fields such as source file, section and date.

A decision that stops at the file leaves this copy ungoverned unless something else enforces it. A deleted contract still answers questions if its chunks survive. A restricted memo can still be retrieved if neither the chunks nor the retrieval service know it is restricted. Researchers describe retrieval stores as their own attack surface, and a 2025 preprint on RAG security and privacy formalizes threats such as document-level membership inference.

What each decision looks like on the index


NIST AC-16 states the principle for attributes: they are made and retained with the information. In a retrieval system, one way to follow it is to carry the owner, label, retention state and version as metadata on each chunk. The table shows each decision in both places.

Decision On the source file On the index (chunks and embeddings) Source
Owner Owner recorded for the file set Owner carried as chunk metadata, so a wrong answer traces to a person NIST AC-16
Sensitivity Label recorded as a tag Label carried as a filterable metadata field NIST AC-16
Access Source permissions A trusted-backend filter built from the requester’s identity, or a check against the source, chosen on purpose Knowledge base metadata filtering
Retention Retention period and legal hold Chunks and embeddings withdrawn, then deleted, when the source is deleted or expires, subject to legal hold GDPR Art. 17, NIST SI-12
Correctness Current version flagged Old chunks retired through an explicit status field, with last-modified time as a recency hint Knowledge base metadata filtering

Article 17 lists grounds and exceptions. Where an index holds personal data from a file, include it in the places an erasure request reaches.

Metadata management for AI describes the practice of carrying these fields, the agent context layer is where they get served to agents, and the context layer reference architecture shows how the pieces connect. An index that holds only current, permitted text gives an agent less wrong material to repeat, and how a context layer controls hallucination covers the wider mechanism.


What common mistakes do teams make governing unstructured data?

Five mistakes follow from a decision made on the file and never carried to the index, or a decision never made.

Mistake What happens Fix
The owner is “the data team” Nobody can approve or retire a file, so questions bounce Name a person, or a group with a lead, for each file set
Labels are assigned but not enforced at retrieval A confidential file is labeled and still retrieved Enforce the label through identity-based filtering and check the retrieval trace
Retention applies to the source only Deleted files keep answering from the index Withdraw and delete chunks, embeddings and other derived copies with the source, and test it
No supersession Two versions of a policy compete and the agent quotes either Keep one canonical version and retire the rest
One cleanup, no review date Owners and labels drift after the next reorganization Review every quarter and on events

Several of these come from work that was done once and left without an owner. Data certification offers a habit worth borrowing, since a certified version is one a named person has stood behind. A review date on every file set gives each of the other fixes a moment when someone checks it still holds.


How does Atlan help you govern unstructured data?

Atlan’s AI Context Platform catalogs S3 objects as assets in the same context layer as tables and glossary terms, so the five decisions can be recorded in one place. Recording is not enforcing: your ingestion pipeline copies owner, label and retention state onto chunks, and your retrieval service applies the access check.

What Atlan records about S3 objects


The S3 crawler catalogs buckets and objects as assets. For each object, Atlan records the key, size, last modified time, storage class, ETag, Object Lock retain-until date, lock mode, legal hold status and owner ID. Direct crawl mode adds the owner name, version ID, object tags and content type. Where Object Lock is enabled, the lock state and retain-until date give a retention signal beside each object, and a steward adds the business owner and the retention period. S3 is the object-storage example here; documents held in other systems depend on which connectors your estate uses, which docs.atlan.com lists.

Tags in Atlan are labels attached to assets, and a purpose linked to a tag applies its policies to every asset that carries it. Policy Center gives each policy owners, a validity date and a review period. Atlan’s documentation on governing AI assets describes visibility into what agents can access, policy enforcement at the asset level, and lineage that makes decisions auditable. That covers the catalog side; the retrieval-time check stays with the retrieval service.

Where to start


Teams building on this usually start with one storage location and one agent. The context layer for data governance teams shows how governance work maps onto it, data contracts for AI shows how to make the expectations explicit, and policy enforcement covers how rules get applied. When agents reach these decisions over MCP, MCP for data governance explains the pattern. How context and control fit together is covered in the dual plane of context and control. For the analyst view of the platforms that hold these decisions, see our explainer on Gartner’s Critical Capabilities research.

See what a catalog records about a PDF or a document, step by step

Read the cataloging walkthrough

FAQs about unstructured data governance

1. What is unstructured data governance?


Unstructured data governance is the set of decisions that make files safe and useful for AI: who owns them, how sensitive they are, who may retrieve them, how long they are kept, and which version is current. The decisions apply to the files and to the chunks and embeddings built from them.

2. Which data counts as unstructured?


Any content without a fixed schema: PDFs, contracts, wiki pages, slide decks, email, chat exports and call transcripts. A retrieval system turns this content into chunks and embeddings, which is why it needs governance of its own.

3. What falls under unstructured data governance?


Five duties: ownership, sensitivity classification, access at retrieval time, retention and deletion, and correctness through versioning and review. A sixth habit, tracing each file to the agents that read it, keeps the other five current.

4. Who should own unstructured data?


A named person or a group with a named lead, assigned at the bucket or folder level. A file with no author inherits the owner of its location, and each AI use case gets its own approver. A bare team alias such as “the data team” has no one who can approve or retire a file.

5. How long should you keep documents used by an AI agent?


As long as the retention period for that class of document says, which your legal and records teams set. Personal data should not be kept longer than the purpose needs, and deleting the source file should also delete its chunks and embeddings.

6. Do you need to classify every file before building an AI agent?


No. Classify the files that feed the first agent, starting with location-level labels such as “HR share: confidential.” Expand to other locations as new agents need them.

7. How is governing unstructured data different from governing tables?


Tables arrive with owners, schemas and column tags. Files arrive with none, so each decision is made by hand. The AI also reads a derived copy of a file, so each decision has to reach the index as well as the source.


Sources

NIST SP 800-53 Rev. 5, Security and Privacy Controls for Information Systems and Organizations, NIST

NIST AI RMF Playbook, GOVERN function, NIST

General Data Protection Regulation (EU) 2016/679, Article 17, gdpr-info.eu

General Data Protection Regulation (EU) 2016/679, Article 5, gdpr-info.eu

Configure and customize queries and response generation, AWS Documentation

Records management for documents and emails in Microsoft 365, Microsoft Learn

Inspect Google Cloud storage and databases for sensitive data, Google Cloud Documentation

RAG Security and Privacy: Formalizing the Threat Model and Attack Surface, arXiv preprint 2509.20324

Data Quality Challenges in Retrieval-Augmented Generation, arXiv preprint 2510.00552

What does Atlan crawl from S3, Atlan Documentation

What are tags, Atlan Documentation

Create policies, Atlan Documentation

Manage policies, Atlan Documentation

AI governance, Atlan Documentation

Gartner, Magic Quadrant for Data and Analytics Governance Platforms, 12 November 2026, Anurag Raj Et Al.

Gartner does not endorse any company, vendor, product or service depicted in its publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner publications consist of the opinions of Gartner’s business and technology insights organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this publication, including any warranties of merchantability or fitness for a particular purpose.

Gartner and Magic Quadrant are a trademark of Gartner, Inc., and/or its affiliates.

Emily Winks

Written by

Emily Winks, Data Governance Expert

18+ years in information architecture, data governance, and enterprise data management

Published 20 Nov 2026, updated 20 Nov 2026

Bridge the context gap.
Ship AI that works.