Read Identifiers & Scopes first. This page assumes
you know what
customer_id and user_id do.What a level is
A scope is a position on a ladder. Your account is the top rung, and each rung below it narrows who a memory belongs to. The default ladder has three:One ladder per account
You have one ladder, and every instance you run shares it. There is no per-instance ladder. This follows from what an id means. A customer id identifies the same customer across your whole account, and a user id the same person, whichever instance sent the request. Two instances writing about customeracme are writing about
one customer. If they disagreed about what the levels are, the same records
would carry different level names depending on which instance wrote them, and a
read from one would not find what the other stored.
Instances keep their own memory settings. The switch that turns nested scoping
on is also per instance, so you can enable it for one instance and watch it
before enabling the rest. The shape is shared; the moment each instance starts
using it is not.
If your account is B2C
Some accounts are set up so that a customer and a person are the same thing: one consumer, using your product for themselves, belonging to no organisation. Synap calls thisuser_context_isolation: equals_customer, and your integration sends
a user_id and no customer_id.
On those accounts the customer rung and the user rung are one node. Not two
levels that happen to have one member each. The same node, reached by either
name:
user_id. Sending a customer_id to
a B2C account is refused with customer_id_not_accepted_on_b2c, and a scope path
does not change that. If you send a path, name the customer rung with the same
value as the user rung.
Where your ladder comes from
You do not start from a blank ladder, and you do not start from ours either. When you onboard, you give us a use-case document: what your agent does, who it talks to, and what it should remember. That document already answers the scoping question, usually in your own words. A fintech client wrote “Client: the company operating the platform. Customer: an Indian retail consumer.” A clinical client wrote “memory is about the patient, not the clinician using the application,” which is a different shape entirely and says so plainly. So we read it and propose a ladder from it: how many rungs, what each one is called, and one sentence per rung explaining what it holds. The proposal quotes the line in your document that each rung came from, so you can see the reasoning rather than take it on trust.The proposal is a draft. It is not applied, and nothing about how your memories
are stored or read changes until you accept it. See Ratifying
it.
What we will and will not infer
We name rungs from what you wrote. We do not invent privacy boundaries from prose that does not ask for one.
A rung decides who can read whose memories. Adding one that you did not ask for
would be a privacy decision made by inference, so a rung we are not confident
about is raised as a question in the proposal rather than added to it.
Ratifying it
A proposed ladder does nothing. It is a draft until a person accepts it, and until then your account keeps using the default chain. Accepting records who accepted and when. That record matters because a ladder is close to permanent: a rung can be renamed at any time and can never be deleted, only retired, because memories already resolve through it. Before you accept, you can:- rename any rung, which is free and changes nothing about who reads what
- remove a proposed rung you do not want
- add one we did not propose
Which direction a read travels
This is the rule worth reading twice, because it is easy to hold backwards. A request sees its own rung and every rung above it. It never sees a rung below, and never a neighbour. So on the default ladder:
A memory filed at the user level is not visible to a request that identifies
only the customer. One person’s private context does not surface for their
colleague, and it does not surface for a customer-wide question.
Nothing sits below the person
The rung that identifies a person is always the last one. You cannot add a rung under it, and Synap refuses a ladder that tries. Two reasons, and both are hard to undo later. A rung under a person multiplies the work of consolidating memories against the busiest part of your tree, and it makes deletion ambiguous: erasing a person would first have to decide what happens to everything filed underneath them. The account rung at the top is fixed in the same way. It is your account itself, so nothing can go above it. Every rung you add goes somewhere in between.Ranking: closer material wins
Filtering decides what a request is allowed to read. Ranking decides what it sees first. Among the memories a request may read, the ones filed closer to the person asking rank above the ones filed further up. A person’s own preference outranks a fact that is true of their whole organization, when both match the question equally well. This is a ranking adjustment only: it never makes a memory readable that was not, and it never hides one that was.A level’s name can change, its key cannot
Every level has two parts.- The label is what people read: “Customer”, “Practice”, “Region”. Change it whenever you like. Nothing stored depends on it.
- The key is what stored memories resolve through:
customer,user. It never changes, because every memory already filed under it would stop resolving.
Sending a scope path
Requests normally identify a scope withcustomer_id and user_id, and Synap
maps those onto the default three rungs. That is what almost every integration
does, and it needs no change.
Why two ids only ever reach three rungs. They are matched by ROLE, not by
position: customer_id goes to whichever rung holds tenant_of_record, and
user_id to whichever holds identity. There are exactly three reserved roles,
so two ids can address exactly three rungs. A rung you added yourself holds no
reserved role, so there is no field for it and no way to guess one. That is the
whole difference:
On the default three rungs the two are equivalent, and a path is simply the
longer way to say the same thing. A path starts to matter only when your ladder
has a rung the ids cannot name.
To address a level beyond those three, pass a scope path from the SDK, naming
every rung by its key. On a read it is the
scope_path argument:
scope argument on memories.create:
- Every rung must be named. A path that skips a level is refused, and the error names the level you left out. Synap never infers a missing id, because a wrong guess at or above the organization level would cross a tenant boundary.
- The feature must be enabled for your instance. If it is not, sending a
scopemap is an error rather than being ignored. Ignoring it would widen the request to the whole organization when you asked to narrow it to one team.
What you can reach today
Being precise about this matters more than making the feature sound finished.
The honest summary: Synap’s scoping is correct and safe on the shape accounts
already use. Driving a different shape needs an SDK new enough to send a scope
path, and on writes that means
memories.create, record_message or
ingest_transcript.
Which of these you can reach is decided by what your own integration sends, and
that is something you can change. You do not have to go and find out what it
sends: the Scope Ladder page in your dashboard lists the SDK versions we have
seen in your recent requests, tells you the oldest one, and says so plainly when
it has not seen any requests from you at all.
Adding a level
This is a fact about your integration, not a limit on your account, and it goes away when you upgrade. The Scope Ladder page in your dashboard checks it for you: it names the SDK versions in your recent traffic, and it will not let you add a level the oldest of them cannot address. If it has not seen any requests from you, or your requests do not report a version, it says that rather than guessing. A level goes between two existing ones. It cannot go above your account rung or below the rung that identifies a person, so on the default ladder that means above Customer or above User. Either way it is a migration rather than a setting: every node beneath the insertion point is re-parented under a new node at the new level, in one transaction, and Synap creates one placeholder parent per existing group so nothing is left without one. Those placeholders are yours to rename. Reads are unaffected while this happens. Memories above the insertion point are never touched, and no memory changes the group it belongs to.In the dashboard
Open the Dashboard and go to Instances, then Scope Ladder. It sits next to Visibility because both answer the same question: Visibility controls what one instance can read from another, and Scope Ladder controls who can read what inside one.Reading your ladder
The main panel lists your levels in order, top rung first, indented so the nesting reads as nesting. Each row shows three things:- the name, which is what you call that level
- the key in small type beside it, which is what stored memories resolve through
- how many entries are filed at that level right now
customer_id and user_id, so a call has to name it in a scope path instead.
- needs a scope path means your traffic is already on an SDK that can send one. Name the level in the path and you can read and write at it.
- needs SDK 0.4.6+ means we have not seen a capable SDK in your recent requests. Upgrade, then the level becomes reachable.
Two banners worth reading
Above the list, the page states two things that are easy to assume and easy to get wrong. Whether the ladder has been accepted. An unaccepted ladder is a draft. Nobody has agreed to it, so your account is still filing and reading memories the default way and nothing on the page is affecting your data. Once someone accepts, the banner names who accepted it and when. Whether nested scoping is switched on. A ladder can exist while nothing uses it, which looks configured and behaves exactly as it did before. The banner says which of the two you are in: off, on for all your instances, or on for some number of them with the rest still reading the previous way.Renaming a level
Type a new name in any row and a bar appears with Save names. Only the rows you actually edited are sent, so an untouched level keeps its name and the audit line does not claim you renamed something you left alone.What we suggest, and why
Lower down, a panel shows the ladder Synap would suggest for your account, read out of your use-case document. Every rung carries the reason it was proposed and quotes the line in your document it came from, so you can judge the reasoning instead of taking it on trust.Every account is given a ladder at signup, so most of the time this panel is
advisory only and the thing you can act on is a rename: it offers to call your
existing levels what it suggests calling them. Accepting a whole ladder only
appears for an account that has none.
Accepting a ladder
If your account has no ladder, the same panel becomes actionable. You can retype any name you disagree with first, then use Use this ladder. Accepting creates the levels and records who accepted and when. It does not move any memory you have already stored, and it does not switch nested scoping on by itself. Renaming stays free afterwards. Removing does not: a level can never be deleted once it exists, only retired.Adding a level, step by step
Add a level opens the only control on the page that moves stored records, so it is the only one that will not act on a single click.1
Name it and say what it is for
You give the level a name, such as Team or Branch or Region, and one line
describing what it holds. The permanent key is derived from the name and
shown to you, so you are not asked to invent a stable identifier for a thing
you are still naming.
2
Choose where it goes
Pick which existing level the new one sits above. A new level has to land
between two existing ones, so on the standard ladder that means above
Customer or above User. Adding one re-files everything currently beneath
that point.The list also offers a position at the very bottom, under your last level.
Do not use it. Nothing is allowed to sit below the level that identifies a
person, so that choice is refused when you commit it.
3
Preview changes
Before anything happens, the page tells you how many entries and how many
memories inserting the level there would re-file, and what your levels would
read as afterwards. Nothing has changed at this point.
4
Add this level
The commit carries back the same number you were shown. If your structure
changed while you were reading the preview, the change is refused rather
than applied against a count nobody saw.