# Can my app have a search box, so people find things in it?

Checked 2026-11-15 against GilbApp d5296208bbffa2ab70076e6194f5537c4be1ddf7.

Yes: your AI coder can build a search box that uses GilbPlatform's search, which finds only records the person may read.

## Deeper

What GilbPlatform does today. GilbPlatform, the service that keeps your vaults, has a search that programs, such as your app, can use. A vault is the place where a person or a group keeps their records; a record is one piece of data with its own address. The search looks in one vault at a time. It finds a whole word in any text of a record, or, if asked, the words that begin with what was typed. It answers 20 records at a time, and your app can ask for the next 20. It can also find the records that hold one exact value, or records near a place, for records that hold a place. The developer answer [How do I search \(find\) by text, attribute or place?](http://support.gilb.com/help/how-do-i-search-find-by-text-attribute-or-place) shows how a program does it.

What a search shows. Each record found is one the person may read; a search never shows that a record they may not read exists. So a signed-in person finds their own records, what others shared with them, and what is public. With no sign-in, a search finds only the records anyone may read, such as those in a vault you made public. "Make public" lets anyone read the whole vault; the answer [How do I make a vault public?](http://support.gilb.com/help/how-do-i-make-a-vault-public) shows how.

What your AI coder builds. Agent.Coder, the agent that writes your app's code, builds the search box, the list of results, and what happens when a person picks one. It can also sort or narrow what your app already shows, such as products by price. Tell Kai-Zen, the planning agent, in your own words what people should find, and by which words. This works only in a published app that people sign in to: a published website that signs no one in cannot read or write in vaults, because GilbPlatform answers the pages of an app, not of a website.

What is blocked today. An app put live at https://&lt;name\>.pages.dev, a web address of its own, may fetch data only from its own address and from GilbPlatform's own addresses, such as id.gilb.com or a vault's address, and run only its own scripts. So it can use GilbPlatform's search, but a search service from another company cannot be added to it today. If you need that, write to support@gilb.com.

GilbApp, the app where you use your vaults, has its own search for you: "Search or run a command" at the top; the answer [How do I search across all my vaults?](http://support.gilb.com/help/how-do-i-search-across-all-my-vaults) shows how.

This answer is written for a computer screen.

Source: GilbPlatform 0fc5a548 \(https://id.gilb.com/version, read 13 November 2026\): src/routes/search.ts \(GET /base/search; one vault per search; match=prefix; 20 a page with a cursor\), src/server/cors.ts:129 \(/base/search open to browser apps\), src/routes/attribute-find.ts and src/routes/spatial.ts \(exact value; place\). GilbPlatform 0fc5a548 \(https://id.gilb.com/version, read 13 November 2026\): workers/publish-ingest/src/checks.ts:21 and :146 \(a functions folder refused: "a functions folder would run your code on the server"\), :165-172 \(the headers every published site gets: Content-Security-Policy default-src 'self'; script-src 'self'; img-src 'self' data: blob: https://\*.gilb.com; connect-src 'self' https://\*.gilb.com; form-action 'self'; Permissions-Policy camera=\(\), microphone=\(\), geolocation=\(\)\). MDN, frame-src \(falls back to child-src, then default-src\), https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/frame-src, read 13 November 2026. Live help pages: How do I search \(find\) by text, attribute or place? \(whole word, prefix, 20 a page; "a search never shows that a record you may not read exists"; with no token only what anyone may read\); How do I make a vault public?; How do I search across all my vaults? \("Search or run a command"\).
