Everything *[NYC] 2026: see what we announced. →
Skip to content

Access-controlled retrieval for RAG and agents definition

Access-controlled retrieval is a retrieval design in which the requesting identity's permissions are applied inside the retrieval query itself, so that a RAG pipeline or agent only ever receives passages that identity is authorized to read.


A diagram explaining Access-controlled retrieval for RAG and agents in terms of related concepts.

Why does filtering after retrieval fail to stop leaks?

Why aren't output guardrails enough to protect confidential content?

What are the building blocks of access-controlled retrieval?

Where does access-controlled retrieval matter most?

How does Sanity enforce permissions on content an agent retrieves?

Unlock New Possibilities with Sanity

With Access-controlled retrieval for RAG and agents under your belt, it's time to see what Sanity can do for you. Explore our features and tools to take your content to the next level.

Last updated: