Context Sources Panel
Data access panel listing assistant readable sources with icon, item count, last sync time, and a switch, plus one excluded source.
Data access panel listing assistant readable sources with icon, item count, last sync time, and a switch, plus one excluded source.
The source for every Application block is included with Basic and Pro. Pick a plan to copy the code.
Already purchased? Log in
Context Sources Panel is the access control surface for the data an assistant may read. Four ruled rows list workspace docs, CRM records, support tickets, and code repositories, each with a source icon, its indexed item count, a last sync line, and a switch. Three sources are on and freshly synced; the code repositories row is switched off, tagged with an Excluded badge, and its index was removed on Jun 28. The footer is plain about consequence: turning a source off deletes its index within minutes, the assistant never reads a source that is off, and answers will say when a question needs one you have excluded.
Sources is one typed array; the excluded flag renders the badge and the enabled flag sets the switch default. Pairing the toggle with a live item count and sync time is what makes the access decision concrete instead of abstract.
Reach for this block in an assistant settings pane or in a workspace admin area where an owner controls retrieval scope. Wire each switch to your indexing service so flipping a source off actually drops it from retrieval, not just the UI.
A natural flow around it on an Application Pro page:
Before
After
One strong use is the assistant retrieval scope control. Other source-toggle shapes:
Tip: state what happens to the index when a source is off so users trust the toggle means what it says.