Context
Hide tables from AI clients
Bonnard removes a hidden table from what agents find on that data source.
Warning
If you hide a table, an agent can continue to read it. An agent that names it in SQL, for example
SELECT * FROM <table>, gets the rows if the credential that Bonnard connects with can read the table. To stop that,
remove the table from the credential’s grants, as in
the PostgreSQL guide.
Requirements
- The Editor role or higher in your workspace.
- To work from your AI client: Bonnard connected and access to the data source.
Hide a table
After you publish the draft, agents cannot list the table, find it in a search, or get its columns by name. Metrics that name it are withheld. Draft with AI in the dashboard editor is the exception: it continues to find it.
In your AI client
Ask:
In <data source>, hide the <table> table from AI clients.
Then publish the draft.
In the console
- In the console at
app.bonnard.ai, select Context. With more than one data source, select one at the top right. - Select Tables.
- Set the Visible switch in the table’s row to off.
- Publish the draft.
Show it again
A table hidden on an old app, before 2026-10-27, stays hidden from agents even when Context shows it as visible. To clear it, get in touch.
In your AI client
Ask:
In <data source>, show the <table> table to AI clients again.
Then publish the draft.
In the console
- In the console, select Context, then Tables, then Hidden.
- Set the Visible switch in the table’s row to on.
- Publish the draft.
Make sure that the table is hidden
After you publish, ask your AI client:
Describe the <table> table in <data source>.
The agent’s lookup is refused with Table '<table>' not found or hidden from AI clients.
In the console, select Context, Tables, then Hidden. The table is in the list, and its page has the badge Hidden from AI clients.
Related
- Publish context changes: review the draft and take it live.
- Give access to data: decide who can use the data source at all.
- PostgreSQL: give a read-only user grants on only the tables you want it to read.